blob: c77f960ba77a3443cbb117a8f3537ca5f1bdb597 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
TOKEN
Name = "NvOptimusSMM_SUPPORT"
Value = "1"
Help = "Main switch to enable NvOptimusSMM support in Project"
TokenType = Boolean
TargetEQU = Yes
TargetMAK = Yes
Master = Yes
End
TOKEN
Name = "SWSMI_NVOEM_CMOS_W"
Value = "0xB6"
Help = "Value to be written into SMI command register \to write AcpiNvs->AudioCodec to CMOS"
TokenType = Integer
TargetH = Yes
Range = "0-0xff"
End
TOKEN
Name = "SWSMI_NVOEM_CMOS_R"
Value = "0xB7"
Help = "Value to be written into SMI command register \to write CMOS:AudioCodec to AcpiNvs->AudioCodec"
TokenType = Integer
TargetH = Yes
Range = "0-0xff"
End
TOKEN
Name = "CMOS_NVOEM_OFFSET"
Value = "0x74"
Help = "select fixed Offset in CMOS. By default the offset is assigned by CmosManager, see NvOptimus.ssp"
TokenType = Integer
TargetEQU = Yes
TargetH = Yes
End
PATH
Name = "NvOptimusSMM_DIR"
End
MODULE
Help = "Includes NvOptimusSMM.mak to Project"
File = "NvOptimusSMM.mak"
End
#ELINK
# Name = "$(NvOptimusSMM_DIR)\NvOptimusSMM.asl"
# Parent = "GENERIC_ACPI_ASL"
# InvokeOrder = AfterParent
# Disable = Yes
#End
ELINK
Name = "$(BUILD_DIR)\NvOptimusSMM.ffs"
Parent = "$(BUILD_DIR)\SaInitDxe.ffs"
InvokeOrder = BeforeParent
# Parent = "FV_MAIN"
# InvokeOrder = AfterParent
End
ELINK
Name = "$(NvOptimusSMM_DIR)\NvOptimusSMM.SSP"
Parent = "ADDON_SSP_FILES"
InvokeOrder = AfterParent
End
|