aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/acpi')
-rw-r--r--src/arch/x86/acpi/debug.asl2
-rw-r--r--src/arch/x86/acpi/globutil.asl14
2 files changed, 8 insertions, 8 deletions
diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl
index 41d123520e..728193e44f 100644
--- a/src/arch/x86/acpi/debug.asl
+++ b/src/arch/x86/acpi/debug.asl
@@ -76,7 +76,7 @@ Method(OUTC, 1)
Method(DBGN, 1)
{
and(Arg0, 0x0f, Local0)
- if (LLess(Local0, 10)) {
+ if (Local0 < 10) {
Local0 += 0x30
} else {
Local0 += 0x37
diff --git a/src/arch/x86/acpi/globutil.asl b/src/arch/x86/acpi/globutil.asl
index ff247b9ddb..e44eb39917 100644
--- a/src/arch/x86/acpi/globutil.asl
+++ b/src/arch/x86/acpi/globutil.asl
@@ -9,7 +9,7 @@ Scope(\_SB) {
/* string compare functions */
Method(MIN, 2)
{
- if (LLess(Arg0, Arg1)) {
+ if (Arg0 < Arg1) {
Return(Arg0)
} else {
Return(Arg1)
@@ -40,22 +40,22 @@ Method(SCMP, 2)
Store(SLEN(Arg1), Local6)
Store(MIN(Local5, Local6), Local7)
- While(LLess(Local4, Local7)) {
+ While(Local4 < Local7) {
Store(Derefof(Local0[Local4]), Local2)
Store(Derefof(Local1[Local4]), Local3)
if (Local2 > Local3) {
Return(One)
} else {
- if (LLess(Local2, Local3)) {
+ if (Local2 < Local3) {
Return(Ones)
}
}
Local4++
}
- if (LLess(Local4, Local5)) {
+ if (Local4 < Local5) {
Return(One)
} else {
- if (LLess(Local4, Local6)) {
+ if (Local4 < Local6) {
Return(Ones)
} else {
Return(Zero)
@@ -71,13 +71,13 @@ Method(WCMP, 2)
{
Store(S2BF(Arg0), Local0)
Store(S2BF(Arg1), Local1)
- if (LLess(SLEN(Arg0), SLEN(Arg1))) {
+ if (SLEN(Arg0) < SLEN(Arg1)) {
Return(0)
}
Store(Zero, Local2)
Store(SLEN(Arg1), Local3)
- While(LLess(Local2, Local3)) {
+ While(Local2 < Local3) {
if (LNotEqual(Derefof(Local0[Local2]),
Derefof(Local1[Local2]))) {
Return(0)