From 7a17f44b34cc3bafbbdae25b8e9b625d0b162f48 Mon Sep 17 00:00:00 2001 From: zhangxinyu <840317537@qq.com> Date: Tue, 23 May 2023 14:40:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=B8=AAconfig?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ch3-coop/os/src/config.rs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 ch3-coop/os/src/config.rs diff --git a/ch3-coop/os/src/config.rs b/ch3-coop/os/src/config.rs new file mode 100644 index 0000000..23e601c --- /dev/null +++ b/ch3-coop/os/src/config.rs @@ -0,0 +1,2 @@ +pub const APP_BASE_ADDRESS: usize = 0x80400000; // 载入的app的起始的地址 +pub const APP_SIZE_LIMIT: usize = 0x20000; // app的最大的二进制文件能够使用的大小 \ No newline at end of file