refactor(driver/api): fix formatting

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-03-01 23:33:55 +00:00
parent 232e06f8f3
commit adba9cc348
No known key found for this signature in database
GPG Key ID: 2EE20AF089811A5A

View File

@ -66,12 +66,10 @@ namespace v0
uintptr_t Flags; uintptr_t Flags;
#if defined(__x86_64__) #if defined(__x86_64__)
asmv("pushfq"); asmv("pushfq");
asmv("popq %0" asmv("popq %0" : "=r"(Flags));
: "=r"(Flags));
#else #else
asmv("pushfl"); asmv("pushfl");
asmv("popl %0" asmv("popl %0" : "=r"(Flags));
: "=r"(Flags));
#endif #endif
cs = Flags & (1 << 9); cs = Flags & (1 << 9);
asmv("cli"); asmv("cli");