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:
parent
cb2d2eb76b
commit
76fe92f835
1 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||
unsafe {
|
||||
if bootboot::bootboot.fb_scanline > 0 {
|
||||
|
||||
let fb = &bootboot::fb as *const u8 as u64;
|
||||
|
||||
// cross-hair to see screen dimension detected correctly
|
||||
|
|
Loading…
Reference in a new issue