;/*++
;
;Copyright (c) 2020-2022,2024 by Qualcomm Technologies, Incorporated.  All Rights Reserved.
;
;Module Name:
;    qcpilext.INX
;
;Abstract:
;    Installs the extension registry items for Peripheral Image Loader (PIL) driver.
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=Extension
ClassGuid={e2f84ce7-8efa-411c-aa69-97454ca4cb57}
ExtensionId={8AB9D1D1-199E-482C-A2C9-C11F660260E6}
Provider=%QUALCOMM%
DriverVer = 12/15/2025,1.0.4498.4500
CatalogFile=qcpilext8280.cat
PnpLockDown=1

;*****************************************
; PIL  Install Section
;*****************************************

[Manufacturer]
%QUALCOMM%=QC,NTARM64.10.0...16299

[QC.NTARM64.10.0...16299]
%PIL.DeviceDesc%=PIL_Device_Ext, ACPI\VEN_QCOM&DEV_06E0&SUBSYS_MTP08280
%PIL.DeviceDesc%=PIL_Device_Ext, ACPI\VEN_QCOM&DEV_06E0&SUBSYS_QRD08280
%PIL.DeviceDesc%=PIL_Device_Ext, ACPI\VEN_QCOM&DEV_06E0&SUBSYS_CDP08280

[PIL_Device_Ext.NT]

[PIL_Device_Ext.NT.HW]
Addreg=PILReg_Common

[PILReg_Common]
HKR ,SubsystemLoad\VENUS,MemoryAlignment,%REG_DWORD%,0
HKR ,SubsystemLoad\GFXSUC,MemoryAlignment,%REG_DWORD%,0x00001000
; Venus registry values
HKR ,SubsystemLoad\VENUS,MemoryReservation,%REG_DWORD%,0x00500000
; GFX registry values
HKR ,SubsystemLoad\GFXSUC,MemoryReservation,%REG_DWORD%,0x00005000

;Misc
HKR,PilConfig,HypProtectionEnabled,%REG_DWORD%,1
HKR,PilConfig,DoNotReturnMemoryToHLOS,%REG_DWORD%,1

;PGCM
HKR,PGCM,BaseAddress,%REG_DWORD%,0x86700000
HKR,PGCM,Size,%REG_DWORD%,0x07D00000

;IMEM
HKR,IMEM,BaseAddress,%REG_DWORD%,0x146BF000
HKR,IMEM,Offset,%REG_DWORD%,0x94C

[Strings]
;Localizable Strings
QUALCOMM = "Qualcomm Incorporated"
PIL.DeviceDesc = "Qualcomm(R) Peripheral Image Loader Device"

;Non-localizable Strings
REG_SZ                 = 0x00000000
REG_DWORD              = 0x00010001
SPSVCINST_ASSOCSERVICE = 0x00000002
