mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
KERNBASE should really be KERNVIRTADDR there too.
MFC after: 1 week
This commit is contained in:
parent
b7630a1145
commit
cb3d8b2510
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172945
@ -283,10 +283,10 @@ initarm(void *arg, void *arg2)
|
||||
i += 2;
|
||||
fake_preload[i++] = MODINFO_ADDR;
|
||||
fake_preload[i++] = sizeof(vm_offset_t);
|
||||
fake_preload[i++] = KERNBASE;
|
||||
fake_preload[i++] = KERNVIRTADDR;
|
||||
fake_preload[i++] = MODINFO_SIZE;
|
||||
fake_preload[i++] = sizeof(uint32_t);
|
||||
fake_preload[i++] = (uint32_t)&end - KERNBASE;
|
||||
fake_preload[i++] = (uint32_t)&end - KERNVIRTADDR;
|
||||
#ifdef DDB
|
||||
if (*(uint32_t *)KERNVIRTADDR == MAGIC_TRAMP_NUMBER) {
|
||||
fake_preload[i++] = MODINFO_METADATA|MODINFOMD_SSYM;
|
||||
|
Loading…
Reference in New Issue
Block a user