Skip to content

Commit 77f3c8c

Browse files
add small comment to entry_point! macro
1 parent fa61731 commit 77f3c8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ compile_error!("This crate only supports the x86_64 architecture.");
117117
#[macro_export]
118118
macro_rules! entry_point {
119119
($path:path) => {
120+
/// Kernel entry point.
120121
#[export_name = "_start"]
121122
pub extern "C" fn __impl_start(boot_info: &'static mut $crate::boot_info::BootInfo) -> ! {
122123
// validate the signature of the program entry point

0 commit comments

Comments
 (0)