summaryrefslogtreecommitdiff
path: root/usrbin/link.ld
diff options
context:
space:
mode:
authorJake Mannens <jake72360@gmail.com>2018-07-11 06:23:44 +1000
committerJake Mannens <jake72360@gmail.com>2018-07-11 06:23:44 +1000
commit6a6d5142d19638177c79c45d828f4b95db14799c (patch)
treeef5426c5ab366010b00f2a6496aeb1cafd568c90 /usrbin/link.ld
parent59cac783f5ba12a47308b05b87d5cfa769473a49 (diff)
Memory is now allocated for a kernel stack unique to each address space
during process creation. This new kernel stack is placed at 0xFFFFFFFF, as the last page in the 4GB address space. The base of the user's stack has been moved down to 0xFFFFDFFF, exactly two pages below. The extra page below the kernel's stack page will be left unmapped so as to trigger a page fault if the kernel's stack overflows. The initial values of the user's TSS have also been updated to reflect the new bases of the stacks, and to ensure that the kernel's unique stack is loaded when an interrupt occurs.
Diffstat (limited to 'usrbin/link.ld')
0 files changed, 0 insertions, 0 deletions