CorruptedByCPU/Cyjon

workspace logical address change

CorruptedByCPU opened this issue · 2 comments

right now:
0x0000000000000000 - software stack
0x0000000000100000 - kernel
0x0000800000000000 - kernel stack / context switch stack
0xFFFF800000000000 - software

to be:
0x0000000000000000 - software
0x0000400000000000 - software stack
0x0000400000000000 - open space
0x0000600000000000 - libraries
0x0000700000000000 - kernel
0x0000800000000000 - kernel stack / context switch stack

changing the space for this model will reduce the kernel code and programs by several Bytes ;)

libraries ready

0x0000000000000000 - 0x00000FFFFFFFFFFF kernel area
0x0000100000000000 - 0x00001FFFFFFFFFFF shared library area
0x0000200000000000 - 0x00007FFFFFFFFFFF software area

0x0000100000000000 - kernel stack pointer (or software switch context pointer)
0x0000800000000000 - software stack pointer