diff options
Diffstat (limited to 'src/arch/x86/acpi')
-rw-r--r-- | src/arch/x86/acpi/debug.asl | 2 | ||||
-rw-r--r-- | src/arch/x86/acpi/globutil.asl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl index ad450a8125..589b874a76 100644 --- a/src/arch/x86/acpi/debug.asl +++ b/src/arch/x86/acpi/debug.asl @@ -138,7 +138,7 @@ Method(DBGO, 1) Name(BDBG, Buffer(80) {}) BDBG = Arg0 Local1 = 0 - while (One) { + while (1) { Local0 = GETC(BDBG, Local1) if (Local0 == 0) { return (0) diff --git a/src/arch/x86/acpi/globutil.asl b/src/arch/x86/acpi/globutil.asl index 8192cf3492..8f530f4bd5 100644 --- a/src/arch/x86/acpi/globutil.asl +++ b/src/arch/x86/acpi/globutil.asl @@ -44,7 +44,7 @@ Method(SCMP, 2) Local2 = Derefof(Local0[Local4]) Local3 = Derefof(Local1[Local4]) if (Local2 > Local3) { - Return(One) + Return(1) } else { if (Local2 < Local3) { Return(Ones) @@ -53,7 +53,7 @@ Method(SCMP, 2) Local4++ } if (Local4 < Local5) { - Return(One) + Return(1) } else { if (Local4 < Local6) { Return(Ones) @@ -83,7 +83,7 @@ Method(WCMP, 2) } Local2++ } - Return(One) + Return(1) } /* ARG0 = IRQ Number(0-15) |