summaryrefslogtreecommitdiff
path: root/pofx/PEP/acpi/sampleacpipep.inx
blob: 94063ad0b4b6d1b12c0de91a0766419061688cfe (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
;/*++
;
;Copyright (c) 1990-1999 Microsoft Corporation All rights Reserved
;
;Module Name:
;
;    SAMPLEACPIPEP.INF
;
;Abstract:
;    INF file for installing the sample Platform Extension (ACPI PEP).
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ProviderString%
DriverVer=11/14/2014,1.0.0.0
CatalogFile=sampleacpipep.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 13

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
sampleacpipep.sys  = 1,,

;*****************************************
; Pep Device  Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard,NT$ARCH$.10.0...16299

[Standard.NT$ARCH$.10.0...16299]
%PepDevice.DeviceDesc%=Pep_Device,ACPI\SAMPLEACPIPEP

[Pep_Device.NT]
CopyFiles=Pep_Device.NT.Copy

[Pep_Device.NT.HW]
AddReg=Pep_Device.NT.AddReg

[Pep_Device.NT.AddReg]
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system

[Pep_Device.NT.Copy]
sampleacpipep.sys

;-------------- Service installation

[Pep_Device.NT.Services]
AddService = sampleacpipep,%SPSVCINST_ASSOCSERVICE%,pep_Service_Inst

[pep_Service_Inst]
DisplayName    = %sampleacpipep.SVCDESC%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %13%\sampleacpipep.sys
LoadOrderGroup = Core Platform Extensions
;ensure the test PEP loads at same time as ACPI (before real PEPs)

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ProviderString = "TODO-Set-Provider"
StdMfg = "(Standard system devices)"
ClassName = "System devices"
DiskId1 = "Dummy Power Engine Plugin Disk 1"
PepDevice.DeviceDesc = "Sample Platform Extension 01"
sampleacpipep.SVCDESC = "Sample Platform Extension 01"

;Non-Localizable Strings
SERVICE_KERNEL_DRIVER = 1
SERVICE_BOOT_START = 0
SERVICE_DEMAND_START  = 3
SERVICE_ERROR_NORMAL  = 1