Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147553407
D49867.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
695 B
Referenced Files
None
Subscribers
None
D49867.id.diff
View Options
diff --git a/stand/kboot/kboot/arch/amd64/load_addr.c b/stand/kboot/kboot/arch/amd64/load_addr.c
--- a/stand/kboot/kboot/arch/amd64/load_addr.c
+++ b/stand/kboot/kboot/arch/amd64/load_addr.c
@@ -68,18 +68,5 @@
void
bi_loadsmap(struct preloaded_file *kfp)
{
- struct bios_smap smap[32], *sm;
- struct memory_segments *s;
- int smapnum, len;
-
- for (smapnum = 0; smapnum < min(32, nr_seg); smapnum++) {
- sm = &smap[smapnum];
- s = &segs[smapnum];
- sm->base = s->start;
- sm->length = s->end - s->start + 1;
- sm->type = SMAP_TYPE_MEMORY;
- }
-
- len = smapnum * sizeof(struct bios_smap);
- file_addmetadata(kfp, MODINFOMD_SMAP, len, &smap[0]);
+ efi_bi_loadsmap(kfp);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 12, 8:41 PM (5 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29594920
Default Alt Text
D49867.id.diff (695 B)
Attached To
Mode
D49867: kboot/amd64: Use efi_bi_loadsmap in bi_loadsmap
Attached
Detach File
Event Timeline
Log In to Comment