Launch ion
This commit is contained in:
parent
e110ab81b8
commit
1a3a24c8bb
2 changed files with 9 additions and 6 deletions
|
@ -33,8 +33,9 @@ fn main() {
|
|||
}
|
||||
|
||||
if physbaseptr > 0 {
|
||||
let mut socket = File::create(":display").expect("vesad: failed to create display scheme");
|
||||
thread::spawn(move || {
|
||||
let mut socket = File::create(":display").expect("vesad: failed to create display scheme");
|
||||
|
||||
let size = width * height;
|
||||
|
||||
let onscreen = unsafe { physmap(physbaseptr as usize, size * 4, MAP_WRITE | MAP_WRITE_COMBINE).expect("vesad: failed to map VBE LFB") };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue