1
0
Fork 0
mirror of https://gitlab.com/bztsrc/bootboot.git synced 2023-02-13 20:54:32 -05:00

Unsafe block javitasa

This commit is contained in:
Valkony Balázs 2021-04-23 21:28:41 +00:00
parent cb2d2eb76b
commit 76fe92f835

View file

@ -49,8 +49,9 @@ extern crate rlibc;
#[no_mangle] // don't mangle the name of this function
fn _start() -> ! {
/*** NOTE: this code runs on all cores in parallel ***/
if bootboot::bootboot.fb_scanline > 0 {
unsafe {
if bootboot::bootboot.fb_scanline > 0 {
let fb = &bootboot::fb as *const u8 as u64;
// cross-hair to see screen dimension detected correctly