Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107683081
D38260.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1022 B
Referenced Files
None
Subscribers
None
D38260.diff
View Options
diff --git a/stand/kboot/main.c b/stand/kboot/main.c
--- a/stand/kboot/main.c
+++ b/stand/kboot/main.c
@@ -44,7 +44,6 @@
ssize_t kboot_copyout(vm_offset_t src, void *dest, const size_t len);
ssize_t kboot_readin(readin_handle_t fd, vm_offset_t dest, const size_t len);
int kboot_autoload(void);
-uint64_t kboot_loadaddr(u_int type, void *data, uint64_t addr);
static void kboot_kseg_get(int *nseg, void **ptr);
static void kboot_zfs_probe(void);
@@ -198,7 +197,6 @@
archsw.arch_copyout = kboot_copyout;
archsw.arch_readin = kboot_readin;
archsw.arch_autoload = kboot_autoload;
- archsw.arch_loadaddr = kboot_loadaddr;
archsw.arch_kexec_kseg_get = kboot_kseg_get;
archsw.arch_zfs_probe = kboot_zfs_probe;
@@ -417,18 +415,6 @@
return (0);
}
-uint64_t
-kboot_loadaddr(u_int type, void *data, uint64_t addr)
-{
-
- if (type == LOAD_ELF)
- addr = roundup(addr, PAGE_SIZE);
- else
- addr += kboot_get_phys_load_segment();
-
- return (addr);
-}
-
static void
kboot_kseg_get(int *nseg, void **ptr)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 18, 1:35 PM (18 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15862080
Default Alt Text
D38260.diff (1022 B)
Attached To
Mode
D38260: kboot: Remove kboot_loadaddr
Attached
Detach File
Event Timeline
Log In to Comment