mirror of
https://gitlab.com/bztsrc/bootboot.git
synced 2023-02-13 20:54:32 -05:00
Fix mapping
This commit is contained in:
parent
6d86897aaf
commit
934b90f2f9
2 changed files with 1 additions and 1 deletions
|
@ -1766,7 +1766,7 @@ viderr:
|
||||||
MapPage(env_addr,(uint64_t)((uint8_t*)&__environment)|0b11|(3<<8)|(1<<10)|(1L<<54));
|
MapPage(env_addr,(uint64_t)((uint8_t*)&__environment)|0b11|(3<<8)|(1<<10)|(1L<<54));
|
||||||
// stack at the top of the memory (1k each)
|
// stack at the top of the memory (1k each)
|
||||||
for(r=0;r<16;r++)
|
for(r=0;r<16;r++)
|
||||||
paging[36*512+496]=(uint64_t)((uint8_t*)&__corestack+(uint64_t)r*PAGESIZE)|0b11|(3<<8)|(1<<10)|(1L<<54);
|
paging[36*512+496+r]=(uint64_t)((uint8_t*)&__corestack+(uint64_t)r*PAGESIZE)|0b11|(3<<8)|(1<<10)|(1L<<54);
|
||||||
|
|
||||||
#if MEM_DEBUG
|
#if MEM_DEBUG
|
||||||
/* dump page translation tables */
|
/* dump page translation tables */
|
||||||
|
|
BIN
dist/bootboot.img
vendored
BIN
dist/bootboot.img
vendored
Binary file not shown.
Loading…
Reference in a new issue