stivale2: Fix bug where when requesting higher half pointers the stivale2 struct pointer was still passed in the lower half

This commit is contained in:
mintsuki 2021-05-23 03:34:36 +02:00
parent dc3b45a9a9
commit 977b00f0b3
1 changed files with 2 additions and 1 deletions

View File

@ -519,5 +519,6 @@ skip_modeset:;
term_write("\e[2J\e[H", 7);
stivale_spinup(bits, want_5lv, &pagemap, entry_point,
(uint64_t)(uintptr_t)&stivale2_struct, stivale2_hdr.stack);
REPORTED_ADDR((uint64_t)(uintptr_t)&stivale2_struct),
stivale2_hdr.stack);
}