From f64ff62b754c8bdc2ee5709710d380c78d4040c8 Mon Sep 17 00:00:00 2001 From: pointer-to-bios Date: Sun, 25 Feb 2024 20:46:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=B9=E7=89=B9=E5=AE=9A?= =?UTF-8?q?=E6=9E=B6=E6=9E=84=E5=86=85=E5=AD=98=E4=BD=BF=E7=94=A8=E6=83=85?= =?UTF-8?q?=E5=86=B5=E7=9A=84=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/kernel/arch/x86_64/memm.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/kernel/arch/x86_64/memm.h b/include/kernel/arch/x86_64/memm.h index dc2ba65..a307981 100644 --- a/include/kernel/arch/x86_64/memm.h +++ b/include/kernel/arch/x86_64/memm.h @@ -4,6 +4,18 @@ #include #include +/** + * @details x86_64 + * + * 物理地址空间: + * + * * 0 \~ 2MB:不使用,不映射 + * * 2MB \~ 4MB:中断栈。 + * * 4MB \~ 16MB:内核栈。 + * * 16MB \~ ?:内核镜像。 + * * ? \~ 128MB:内核大分配器。 + */ + /** * @name MEMM_PAGE_SIZE * @addindex 平台定制宏