Make small fixes and oops ran clang-format on dtoa
This commit is contained in:
1 parent
b5b60015f5
commit
ac00be1a4e
47 files changed
+4933
-5306
No files matched your search
@@ -32,8 +32,8 @@ privileged int __mprotect(void *addr, uint64_t len, int prot) {
|
||||
int64_t rc;
|
||||
uint32_t oldprot;
|
||||
if (!IsWindows()) {
|
||||
asm volatile(CFLAG("syscall")
|
||||
: CF(cf), "=a"(rc)
|
||||
asm volatile(CFLAG_ASM("syscall")
|
||||
: CFLAG_CONSTRAINT(cf), "=a"(rc)
|
||||
: "1"(__NR_mprotect), "D"(addr), "S"(len), "d"(prot)
|
||||
: "rcx", "r11", "memory", "cc");
|
||||
if (cf) {
|
||||
|
||||
Reference in new issue
Block a user