From 2bd1e826fd7ab9677160579d4186552f884b4e79 Mon Sep 17 00:00:00 2001 From: hypocrasy <17636585435@163.com> Date: Sat, 30 Apr 2022 17:12:02 +0800 Subject: [PATCH] Add comments in ch6 --- os/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/os/src/main.rs b/os/src/main.rs index 85df7bc4..091afa7b 100644 --- a/os/src/main.rs +++ b/os/src/main.rs @@ -9,6 +9,7 @@ //! - [`mm`]: Address map using SV39 //! - [`sync`]: Wrap a static data structure inside it so that we are able to access it without any `unsafe`. //! - [`fs`]: Separate user from file system with some structures +//! //! The operating system also starts in this module. Kernel code starts //! executing from `entry.asm`, after which [`rust_main()`] is called to //! initialize various pieces of functionality. (See its source code for