We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd9f134 commit 365366dCopy full SHA for 365366d
src/aero_kernel/src/arch/x86_64/mod.rs
@@ -76,7 +76,7 @@ static PAGING_TAG: Stivale5LevelPagingHeaderTag = Stivale5LevelPagingHeaderTag::
76
#[no_mangle]
77
#[used]
78
static STIVALE_HDR: StivaleHeader = StivaleHeader::new()
79
- .stack(&STACK.0[STACK_SIZE - 4096] as *const u8)
+ .stack(STACK.0.as_ptr_range().end)
80
.tags((&FRAMEBUFFER_TAG as *const StivaleFramebufferHeaderTag).cast());
81
82
0 commit comments