• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* SPDX-License-Identifier: GPL-2.0-only */
2
3/* These come from the dynamically created CPU SSDT */
4External (\_SB.CNOT, MethodObj)
5External (\_SB_.CP00, DeviceObj)
6External (\_SB_.CP00._PPC)
7External (\_SB_.CP01._PPC)
8External (\MPEN, IntObj)
9
10Method (PNOT)
11{
12	If (MPEN) {
13		\_SB.CNOT (0x80) // _PPC
14		Sleep(100)
15		\_SB.CNOT (0x81) // _CST
16	} Else { // UP
17		Notify (\_SB_.CP00, 0x80)
18		Sleep(0x64)
19		Notify(\_SB_.CP00, 0x81)
20	}
21}
22