refactor: rewrite kernel's make script
[lunaix-os.git] / lunaix-os / includes / lunaix / mm / page.h
index 099bf13094fe982a5f47bdb0f412aca2bb1a09ae..9afb2ed1c9abc63e7f418955dd3729b95c83aa1a 100644 (file)
@@ -100,7 +100,7 @@ extern void __pg_mount_point;
 
 /* 四个页挂载点,两个页目录挂载点: 用于临时创建&编辑页表 */
 #define PG_MOUNT_RANGE(l1_index) (701 <= l1_index && l1_index <= 703)
-#define VMS_MOUNT_1 (KERNEL_MM_BASE + MEM_4MB)
+#define VMS_MOUNT_1 (KERNEL_MM_BASE + KSIZE)
 #define PG_MOUNT_BASE (VMS_MOUNT_1 + MEM_4MB)
 #define PG_MOUNT_1 (PG_MOUNT_BASE)
 #define PG_MOUNT_2 (PG_MOUNT_BASE + 0x1000)