scram: acpi scram for qemu fix
This commit is contained in:
parent
536815009a
commit
fe0b72e93c
1 changed files with 0 additions and 2 deletions
|
@ -87,8 +87,6 @@ loadacpi(void)
|
||||||
if(amltag(r) != 'p' || amllen(r) < 2)
|
if(amltag(r) != 'p' || amllen(r) < 2)
|
||||||
return -1;
|
return -1;
|
||||||
rr = amlval(r);
|
rr = amlval(r);
|
||||||
if(amltag(rr[1]) != 'i')
|
|
||||||
return -1;
|
|
||||||
SLP_TYPa = (amlint(rr[1]) & 0xFF) << 10;
|
SLP_TYPa = (amlint(rr[1]) & 0xFF) << 10;
|
||||||
SLP_TYPb = ((amlint(rr[1]) >> 8) & 0xFF) << 10;
|
SLP_TYPb = ((amlint(rr[1]) >> 8) & 0xFF) << 10;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue