Skip to content

Commit

Permalink
Remove some code in SSDT-GPRW
Browse files Browse the repository at this point in the history
  • Loading branch information
stevezhengshiqi committed Jun 27, 2019
1 parent 76a1318 commit 1ac2c24
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 18 deletions.
Binary file modified EFI/CLOVER/ACPI/patched/SSDT-GPRW.aml
Binary file not shown.
9 changes: 0 additions & 9 deletions EFI/CLOVER/ACPI/patched/SSDT-GPRW.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ DefinitionBlock ("", "SSDT", 2, "hack", "_GPRW", 0x00000000)
})
}

If ((0x0D == Arg0))
{
Return (Package (0x02)
{
0x0D,
Zero
})
}

Return (XPRW (Arg0, Arg1))
}
}
Expand Down
Binary file modified EFI/OC/ACPI/Custom/SSDT-GPRW.aml
Binary file not shown.
9 changes: 0 additions & 9 deletions EFI/OC/ACPI/Custom/SSDT-GPRW.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ DefinitionBlock ("", "SSDT", 2, "hack", "_GPRW", 0x00000000)
})
}

If ((0x0D == Arg0))
{
Return (Package (0x02)
{
0x0D,
Zero
})
}

Return (XPRW (Arg0, Arg1))
}
Else
Expand Down
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ function mountEFI() {
if [[ -z "${EFI_ADR}" ]]; then
echo -e "[ ${RED}ERROR${OFF} ]: Failed to detect EFI partition, this script will end.
exit 1
# check whether EFI/CLOVER exists
elif [[ ! -e "${EFI_ADR}/EFI/CLOVER" ]]; then
echo -e "[ ${RED}ERROR${OFF} ]: CLOVER folder undetected, this script will end.
Expand Down
1 change: 1 addition & 0 deletions install_cn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ function mountEFI() {
if [[ -z "${EFI_ADR}" ]]; then
echo -e "[ ${RED}ERROR${OFF} ]: 未检测到EFI分区, 此脚本将退出.
exit 1
# 检查EFI/CLOVER是否存在
elif [[ ! -e "${EFI_ADR}/EFI/CLOVER" ]]; then
echo -e "[ ${RED}ERROR${OFF} ]: 未检测到CLOVER文件夹, 此脚本将退出.
Expand Down

0 comments on commit 1ac2c24

Please sign in to comment.