Update memory.md

This commit is contained in:
bunnie 2021-05-01 00:18:51 +08:00 committed by GitHub
parent 5ae4653ba8
commit 29615d06a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,10 +54,10 @@ assigned to every process simply by mapping megapage 1023 (`0xffc00000`).
| 0xff801000 | Context data (registers, etc.)
| 0xff802000 | Return address from syscalls (never allocated)
| 0xffc00000 | Kernel arguments, allocation tables
| 0xffcd0000 | Kernel "resume kicker" CSR page
| 0xffce0000 | Kernel TRNG CSR page
| 0xffcf0000 | Supervisor UART CSR page
| 0xffd00000 | Kernel binary image and data section
| 0xfffefffc | "default" stack pointer (used by interrupt handlers)
| 0xffff0000 | Kernel stack top
| 0xfff00000 | {unused}