mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 00:43:24 +00:00
Rename aster_main as ostd::main
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
59350a8578
commit
fe7251c413
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user