Rename aster_main as ostd::main

This commit is contained in:
Jianfeng Jiang
2024-06-20 06:16:04 +00:00
committed by Tate, Hongliang Tian
parent 59350a8578
commit fe7251c413
20 changed files with 51 additions and 41 deletions

View File

@ -51,7 +51,7 @@ myos/
#### Kernel project
The `src/lib.rs` file contains the code for a simple kernel.
The function marked with the `#[aster_main]` macro
The function marked with the `#[ostd::main]` macro
is considered the kernel entry point by OSDK.
The kernel
will print `Hello world from the guest kernel!`to the console

View File

@ -40,7 +40,7 @@ and then hand over control to the kernel entry point
to execute the kernel code.
**Note**: Only kernel projects (the projects
that defines the function marked with `#[aster_main]`)
that defines the function marked with `#[ostd::main]`)
can be run;
library projects cannot.