mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
refactor(driver/api): fix formatting
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
232e06f8f3
commit
adba9cc348
@ -66,12 +66,10 @@ namespace v0
|
||||
uintptr_t Flags;
|
||||
#if defined(__x86_64__)
|
||||
asmv("pushfq");
|
||||
asmv("popq %0"
|
||||
: "=r"(Flags));
|
||||
asmv("popq %0" : "=r"(Flags));
|
||||
#else
|
||||
asmv("pushfl");
|
||||
asmv("popl %0"
|
||||
: "=r"(Flags));
|
||||
asmv("popl %0" : "=r"(Flags));
|
||||
#endif
|
||||
cs = Flags & (1 << 9);
|
||||
asmv("cli");
|
||||
|
Loading…
x
Reference in New Issue
Block a user