Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Liam Naddell
drivers
Commits
6d8a75ff
Commit
6d8a75ff
authored
Sep 20, 2016
by
Jeremy Soller
Browse files
Launch ion
parent
492437bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
vesad/src/main.rs
View file @
6d8a75ff
...
...
@@ -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"
)
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment