Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
uefi_std
Commits
5b83aa8e
Commit
5b83aa8e
authored
Jan 18, 2022
by
Jeremy Soller
Browse files
Merge branch 'efiapi' into 'master'
Use efiapi for entry point See merge request
!5
parents
a069826a
00d90879
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib.rs
View file @
5b83aa8e
#![no_std]
#![feature(abi_efiapi)]
#![feature(asm)]
#![feature(concat_idents)]
#![feature(core_intrinsics)]
...
...
src/rt/start.rs
View file @
5b83aa8e
...
...
@@ -3,7 +3,7 @@ use uefi::status::Status;
use
uefi
::
system
::
SystemTable
;
#[no_mangle]
pub
unsafe
extern
"
win64
"
fn
efi_main
(
handle
:
Handle
,
system_table
:
&
'static
mut
SystemTable
)
->
Status
{
pub
unsafe
extern
"
efiapi
"
fn
efi_main
(
handle
:
Handle
,
system_table
:
&
'static
mut
SystemTable
)
->
Status
{
extern
"C"
{
fn
main
()
->
Status
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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