;------------------------------------------------------------------------------
;
; Copyright (c) 2004 Motorola Inc.  All rights reserved.
;
;------------------------------------------------------------------------------
;
;   Copyright (C) 2004-2007, Freescale Semiconductor, Inc. All Rights Reserved.
;   THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS
;   AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT
;
;------------------------------------------------------------------------------

#define uP_nIRQA_IRQ                    44   ; IRQ_GPIO_P1_4  in bsp_irq.h
#define uP_nIRQB_IRQ                    80   ; IRQ_GPIO_P3_0  in bsp_irq.h
#define uP_nIRQC_IRQ                    46   ; IRQ_GPIO_P1_6  in bsp_irq.h
#define uP_nIRQD_IRQ                    6B   ; IRQ_GPIO_P2_11 in bsp_irq.h

#define uP_GPIO_0                       0
#define uP_GPIO_1                       1
#define uP_GPIO_2                       2
#define uP_GPIO_3                       3
#define uP_GPIO_4                       4
#define uP_GPIO_5                       5
#define uP_GPIO_6                       6
#define uP_GPIO_7                       7

; @XIPREGION IF PLATFORM_REGISTRY_DEFAULT

; HIVE BOOT SECTION
; Platform type: 1=DK3, 2=ODO 3=Rose
[HKEY_LOCAL_MACHINE\Platform]
   "Name"="MX31 Platform"
   "Type"=dword:4
; END HIVE BOOT SECTION

IF IMGTINY !

; Resources available at time of device.exe initialization.
; Key names are descriptive; resource ids are definitive.
; System ids are defined in ddk\inc\resmgr.h.
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Drivers\Resources\IRQ]
   "Identifier"=dword:1
   "Minimum"=dword:0
   "Space"=dword:100
   "Ranges"="0-0x9F"

[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
   "Identifier"=dword:2
   "Minimum"=dword:0
   "Space"=dword:10000
   "Ranges"="0-0xFFFF"

; END HIVE BOOT SECTION

; @XIPREGION IF PACKAGE_OEMDRIVERS

;------------------------------------------------------------------------------
; Fix Load Order for Networking Modules
;

; @CESYSGEN IF CE_MODULES_NDIS
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NDIS]
    "Order"=dword:21
; @CESYSGEN ENDIF CE_MODULES_NDIS

; @CESYSGEN IF CE_MODULES_AFD
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\AFD]
    "Order"=dword:22
; @CESYSGEN ENDIF CE_MODULES_AFD

; @CESYSGEN IF CE_MODULES_PPP
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PPP]
    ; Must load after NDIS
    "Order"=dword:23
; @CESYSGEN ENDIF CE_MODULES_PPP

; @CESYSGEN IF CE_MODULES_AUTORAS
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\autoras]
    "Order"=dword:24
; @CESYSGEN ENDIF CE_MODULES_AUTORAS

; @CESYSGEN IF CE_MODULES_NDISUIO
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NDISUIO]
    "Order"=dword:23
; @CESYSGEN ENDIF CE_MODULES_NDISUIO

; @CESYSGEN IF CE_MODULES_NDISPWR
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NdisPower]
    ; NDISUIO must load before us..
    "Order"=dword:25
; @CESYSGEN ENDIF CE_MODULES_NDISPWR

; @CESYSGEN IF CE_MODULES_WZCSVC
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ZeroConfig]
    ; NDISUIO must be started before WZCSVC
    "Order"=dword:24
; @CESYSGEN ENDIF CE_MODULES_WZCSVC

; @CESYSGEN IF CE_MODULES_ETHMAN
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Ethman]
    "Order"=dword:25
; @CESYSGEN ENDIF CE_MODULES_ETHMAN

; @CESYSGEN IF CE_MODULES_WLSVC
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WLSVC]
    "Order"=dword:24
; @CESYSGEN ENDIF CE_MODULES_WLSVC

; @CESYSGEN IF CE_MODULES_IPV6HLP
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ipv6hlp]
    "Order"=dword:24
; @CESYSGEN ENDIF CE_MODULES_IPV6HLP

; @CESYSGEN IF CE_MODULES_SNMP
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SNMP]
    "Order"=dword:23
; @CESYSGEN ENDIF CE_MODULES_SNMP

; @CESYSGEN IF CE_MODULES_IRCOMM
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrCOMM]
    "Order"=dword:23
; @CESYSGEN ENDIF CE_MODULES_IRCOMM

;------------------------------------------------------------------------------
; SD Driver
;
#if (defined BSP_SDHC1 || defined BSP_SDHC2)
#include "$(_TARGETPLATROOT)\SRC\DRIVERS\SDHC\sdhc_arm11.reg"
#endif // (defined BSP_SDHC1 || defined BSP_SDHC2)
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; CSP DDK Driver
;
IF BSP_NOCSPDDK !

; HIVE BOOT SECTION

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CSPDDK]
   "Dll"="cspddk.dll"
   "Order"=dword:0
   ; Flags==2 is DEVFLAGS_LOADLIBRARY
   "Flags"=dword:2

; END HIVE BOOT SECTION

ENDIF ; BSP_NOCSPDDK !
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; PMIC PDK Driver
;
IF BSP_PMIC_MC13783
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PMI]
   "Prefix"="PMI"
   "Dll"="pmicpdk_mc13783.dll"
   "Index"=dword:1
   "Order"=dword:2
   "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"    ; PMCLASS_GENERIC_DEVICE

; END HIVE BOOT SECTION
ENDIF ; BSP_PMIC_MC13783
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; General Purpose Timer Driver
;
IF BSP_GPT
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GPT]
   "Prefix"="GPT"
   "Dll"="gpt.dll"
   "Index"=dword:1
ENDIF ; BSP_GPT
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; One Wire Driver
;
IF BSP_OWIRE
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\OWIRE]
   "Prefix"="WIR"
   "Dll"="owire.dll"
   "Index"=dword:1
ENDIF ; BSP_OWIRE
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; PWM Driver
;
IF BSP_PWM
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PWM]
   "Prefix"="PWM"
   "Dll"="pwm.dll"
   "Index"=dword:1
   "Order" = dword:1
; Remove Power-management GUID, this driver is controlled by backlight driver.
;   "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
ENDIF ; BSP_PWM
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; This registry setting only open I2C channel to CMOS Camera
;
IF BSP_I2CBUS
IF BSP_I2C1BUS
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\I2C1]
   "Prefix"="I2C"
   "Dll"="i2c.dll"
   "Index"=dword:1
   "Order"=dword:4
ENDIF ; BSP_I2C1BUS

IF BSP_I2C2BUS
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\I2C2]
   "Prefix"="I2C"
   "Dll"="i2c.dll"
   "Index"=dword:2
   "Order"=dword:5
ENDIF ; BSP_I2C2BUS

IF BSP_I2C3BUS
;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\I2C3]
;   "Prefix"="I2C"
;   "Dll"="i2c.dll"
;   "Index"=dword:3
ENDIF ; BSP_I2C3BUS
ENDIF ; BSP_I2CBUS
;------------------------------------------------------------------------------

; @CESYSGEN IF WCESHELLFE_MODULES_CTLPNL
; This registry setting controls the checkboxes displayed in the Sounds CPL
; under "enable clicks & taps". Set bit0 if you have a keyboard, set bit1 if
; you have a touch screen. Set bit2 if you have HW buttons (NOTE: for now
; HW buttons are mutually exclusive with the keyboard)
[HKEY_LOCAL_MACHINE\ControlPanel]
    "InputConfig"=dword:3   ; 3 => keybd and touch screen
; @CESYSGEN ENDIF WCESHELLFE_MODULES_CTLPNL
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; CSPI Bus Driver
;
IF BSP_CSPIBUS1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CSPI1]
   "Prefix"="SPI"
   "Dll"="cspi.dll"
   "Index"=dword:1
ENDIF ; BSP_CSPIBUS1

IF BSP_CSPIBUS2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CSPI2]
   "Prefix"="SPI"
   "Dll"="cspi.dll"
   "Index"=dword:2
ENDIF ; BSP_CSPIBUS2

IF BSP_CSPIBUS3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CSPI3]
   "Prefix"="SPI"
   "Dll"="cspi.dll"
   "Index"=dword:3
ENDIF ; BSP_CSPIBUS3
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; GWES Display Driver
;
; @CESYSGEN IF CE_MODULES_DISPLAY

IF BSP_NODISPLAY !

#include $(_TARGETPLATROOT)\Files\Display.reg

ENDIF ; BSP_NODISPLAY !

; @CESYSGEN ENDIF CE_MODULES_DISPLAY
; -----------------------------------------------------------------------------

;------------------------------------------------------------------------------
; Backlight Driver
;
#if (defined BSP_BACKLIGHT_IPU || (defined BSP_BACKLIGHT_MC13783 && defined BSP_PMIC_MC13783))
[HKEY_CURRENT_USER\ControlPanel\Backlight]
    "BattBacklightLevel"=dword:7F  ; Backlight level settings. 0xFF = Full On
    "ACBacklightLevel"=dword:7F    ; Backlight level settings. 0xFF = Full On

; Backlight control default settings for WinCE.
    "UseExt"=dword:0             ; Enable timeout when on external power
    "UseBattery"=dword:0         ; Enable timeout when on battery
    "AdvancedCPL"="AdvBacklight" ; Enable Advanced Backlight control panel dialog
    "BatteryTimeout"=dword:1E    ; 30 Seconds
    "ACTimeout"=dword:78         ; 2 Minutes

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Backlight]
    "Dll" = "backLight.Dll"
    "Prefix" = "BKL"
    "Index" = dword:1
    "Order" = dword:2
    "IClass" = "{A32942B7-920C-486b-B0E6-92A702A99B35}" ; GUID for generic power-managed devices.
#endif // (defined BSP_BACKLIGHT_IPU || (defined BSP_BACKLIGHT_MC13783 && defined BSP_PMIC_MC13783))
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
;
; Keypad driver
;
; @CESYSGEN IF CE_MODULES_KEYBD || CE_MODULES_POINTER
IF BSP_NOKEYBD !
#include "$(_PUBLICROOT)\common\oak\drivers\keybd\keybd.reg"
#include "$(_PUBLICROOT)\common\oak\drivers\keybd\LayMgr.reg"
ENDIF BSP_NOKEYBD !
; @CESYSGEN ENDIF CE_MODULES_KEYBD || CE_MODULES_POINTER
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; Touchpanel Driver
;
; @CESYSGEN IF CE_MODULES_POINTER
IF BSP_NOTOUCH !

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
    "DriverName"="touch.dll"
    "MaxCalError"=dword:7
    ; 3.6" Display Kit  -> Default
    "CalibrationData"="510,512 215,242 223,794 790,796 799,238" 
    ; 6.4" Display Kit
;     "CalibrationData"="510,512 215,242 223,794 790,796 799,238"

; For double-tap default setting
[HKEY_CURRENT_USER\ControlPanel\Pen]
    "DblTapDist"=dword:18
    "DblTapTime"=dword:637

; For launching the TouchPanel calibration application on boot.
;[HKEY_LOCAL_MACHINE\init]
;    "Launch80"="touchc.exe"
;    "Depend80"=hex:14,00,1e,00 ; Wait for standard initialization
                               ; modules to load first (GWES.dll and
                               ; Device.exe).

ENDIF ; BSP_NOTOUCH !
; @CESYSGEN ENDIF CE_MODULES_POINTER
;------------------------------------------------------------------------------


;------------------------------------------------------------------------------
; Serial/UART Driver
;
; @CESYSGEN IF CE_MODULES_SERIAL
;  * ------------------------------------------------------------------------
;  * **********************************************************************
;  * IMX31 Default UART Mapping table 
;  * (COMx value [index] changeable in registry):
;  * **********************************************************************
;  * Windows CE    IMX31 UART  Card Engine UART    SDK2 Application Board
;  * ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
;  * COM1          UART1       UARTA               Debug Serial UART Connector
;  * COM2          UART2       UARTB/IRDA          Extension header
;  * COM3          UART3       UARTC               Extension header
;  * COM4          UART4       CSI_D0-3 signals    Extension header
;  * COM5          UART5       PCC_x signals       Extension header
;  * 
;  * Note: The SOM pins for UART4 and UART5 are used as camera interface 
;  *       signals (CIS) and PC card signals (PCC), respectively. These are,
;  *       however, off board peripherals so the end user may or may not 
;  *       choose to implement them. If they are not implemented, then the 
;  *       signals remain available for UART4 and UART5.
;  *
IF BSP_SERIAL_UART3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM3]
   "DeviceArrayIndex"=dword:0
   "IoBase"=dword:5000C000
   "IoLen"=dword:D4
   "Prefix"="COM"
   "Dll"="csp_serial.dll"
   "Index"=dword:3
   "Order"=dword:9
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM3\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="MGN COM3 UNIMODEM"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF; BSP_SERIAL_UART3

IF BSP_SERIAL_UART2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM2]
   "DeviceArrayIndex"=dword:0
   "IoBase"=dword:43F94000
   "IoLen"=dword:D4
   "Prefix"="COM"
   "Dll"="csp_serial.dll"
   "Index"=dword:2
   "Order"=dword:9
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM2\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="MGN COM2 UNIMODEM"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF  ; BSP_SERIAL_UART2

IF BSP_SERIAL_UART1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM1]
   "DeviceArrayIndex"=dword:0
   "IoBase"=dword:43F90000
   "IoLen"=dword:D4
   "Prefix"="COM"
   "Dll"="csp_serial.dll"
   "Index"=dword:1
   "Order"=dword:9
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM1\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="MGN COM1 UNIMODEM"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF  ; BSP_SERIAL_UART2

IF BSP_SERIAL_UART4
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM4]
   "DeviceArrayIndex"=dword:0
   "IoBase"=dword:43FB0000
   "IoLen"=dword:D4
   "Prefix"="COM"
   "Dll"="csp_serial.dll"
   "Index"=dword:4
   "Order"=dword:9
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM4\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="MGN COM4 UNIMODEM"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF  ; BSP_SERIAL_UART4

IF BSP_SERIAL_UART5
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM5]
   "DeviceArrayIndex"=dword:0
   "IoBase"=dword:43FB4000
   "IoLen"=dword:D4
   "Prefix"="COM"
   "Dll"="csp_serial.dll"
   "Index"=dword:5
   "Order"=dword:9
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM4\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="MGN COM4 UNIMODEM"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF  ; BSP_SERIAL_UART5


; @CESYSGEN ENDIF CE_MODULES_SERIAL
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; Fast IR Driver
;
IF BSP_FIR

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NDIS]
    "Order"=dword:2 ; Since CSPDDK has to load and configure properly
                    ; we are shifting the order of NDIS to 2

[HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage]
    "Bind"=multi_sz:"Irfir1"

[HKEY_LOCAL_MACHINE\Comm\Irfir]
   "DisplayName"="MX31 FIR Driver"
   "Group"="NDIS"
   "ImagePath"="irfir.dll"

[HKEY_LOCAL_MACHINE\Comm\Irfir\Linkage]
   "Route"=multi_sz:"Irfir1"

[HKEY_LOCAL_MACHINE\Comm\Irfir1\Parms]
   "BusNumber"=dword:0
   "BusType"=dword:0
   ; This is to avoid deadlock situation in NDIS
   ; when the system goes to a low power mode
   "DisablePowerManagement"=dword:1 

ENDIF ; BSP_FIR
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; TCP/IP Driver
;
; ADS only has 1 ethernet port, so only can choose either NDIS or Debug driver
; LAN9217 NDIS driver will be included if KITL is not enabled.
IF BSP_ETHER_LAN9217

; HIVE BOOT SECTION
#include "$(_TARGETPLATROOT)\src\drivers\lan9217\lan9217.reg"
; END HIVE BOOT SECTION 

ENDIF ; BSP_ETHER_LAN9217
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; VMINI Ethernet KITL Support
;
; Note that the VMINI registry settings are already defined by default in
; common.reg. We just provide some overrides here.
;
; @CESYSGEN IF CE_MODULES_VMINI

IF IMGNOKITL !
IF BSP_NOSHAREETH !
[HKEY_LOCAL_MACHINE\Comm\VMini]
    "Priority256"=dword:64 ; Increase the KITL thread priority from default of
                           ; 131 to 100 (0x64) to ensure reliable operation.
ENDIF ; BSP_NOSHAREETH !
ENDIF ; IMGNOKITL !

; @CESYSGEN ENDIF CE_MODULES_VMINI
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; Wavedev Audio Driver
;
IF BSP_NOAUDIO !
; @CESYSGEN IF CE_MODULES_WAVEAPI

#if (defined BSP_PMIC_MC13783 && defined BSP_AUDIO_MC13783)
; -----------------------------------------------------------------------------
; [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio]
;
;  Prefix
;    Must be "WAV" - do not change.
;
;  Dll
;    Specifies the driver DLL file name.
;
;  Index
;    The Index value indicates port numbering, such as "WAV0" or "WAV1". If no
;    value is specified the Device Manager will assign one.
;
;  Order
;    Specifies the load order of the driver.
;
;  Priority256
;    Specifies the thread priority at which the interrupt handler will run.
; -----------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio]
   "Prefix"="WAV"
   "Dll"="wavedev_mc13783.dll"
   "Index"=dword:1
; NOTE:  Load order must direct the WAVEDEV to load
;        before other peripherals using SDMA.  Doing
;        so allows the WAVEDEV DMA data structures
;        to be allocated in IRAM and supports audio
;        SDMA-to-SSI transfers without EMI accesses
   "Order"=dword:6
   "Priority256"=dword:95
; NOTE:  publish mixer & power manager interfaces
   "IClass"=multi_sz:"{37168569-61C4-45fd-BD54-9442C7DBA46F}","{A32942B7-920C-486b-B0E6-92A702A99B35}"
;   ; publish mixer interface
;   ;"IClass"=multi_sz:"{37168569-61C4-45fd-BD54-9442C7DBA46F}"
;   "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"   ; PMCLASS_GENERIC_DEVICE


; -----------------------------------------------------------------------------
; [HKEY_LOCAL_MACHINE\Audio\SoftwareMixer]
;
;  SampleRate
;    Specifies the sample rate, measured in samples per second, that the
;    software mixer will use when opening the audio device. The default is
;    0xAC44, which is equivalent to 44100 in decimal.
;
;  Buffers
;    Specifies the number of buffers used in the software mixer audio stream.
;    The default is 4.
;
;  BufferSize
;    Specifies the size, measured in bytes, of the buffers used in the software
;    mixer audio stream. The default is 0x800, which is equivalent to 2048 in
;    decimal.
;
;  EnableLowPassFilter
;    Controls whether the software mixer applies a low pass filter when
;    conducting sample rate conversion. This improves audio quality at the
;    expense of the CPU overhead. The default is 1, which means the low pass
;    filter is enabled.
;
;  Priority256
;    Specifies the thread priority at which the software mixer will run.
; -----------------------------------------------------------------------------

[HKEY_LOCAL_MACHINE\Audio\SoftwareMixer]
   "Buffers"=dword:8
   "BufferSize"=dword:1000 ; 4 kB
   "Priority256"=dword:96
   "SampleRate"=dword:AC44   ; 44.1kHz
   "EnableLowPassFilter"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WAPIMAN]
    "Priority256"=dword:97

; -----------------------------------------------------------------------------
; [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\Config\HeadsetDetect]
;
;  Enable
;    Headset detect disabled (0) or enabled (1)
;
; [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\PMIC\Config\InputAmp]
;
;  Gain
;    -8 dB (0) to 23 dB (31 or 0x1F) in 1 dB steps.
;
;  Mode
;    Voltage-to-Voltage (1) or Current-to-Voltage (2)
;
; [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\PMIC\Config\MicBias1]
;
;  Enable
;    Microphone bias circuit 1 disabled (0) or enabled (1)
;
; [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\PMIC\Config\MicBias2]
;
;  Enable
;    Microphone bias circuit 2 disabled (0) or enabled (1)
;
; [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\PMIC\Config\Playback]
;
;  The intended usage of the Left/RightChannel keys are such:
;    Mono Speaker:                    LeftChannel = 0      RightChannel = 1
;    Loud Speaker                     LeftChannel = 0      RightChannel = 2
;    Voice Codec                      LeftChannel = 10     RightChannel = 10
;    Stereo Left Lower Power Output   LeftChannel = 20     RightChannel = 0
;    Headset - Stereo                 LeftChannel = 40     RightChannel = 80
;    Headset - Left Only              LeftChannel = 40     RightChannel = 0
;    Headset - Right Only             LeftChannel = 0      RightChannel = 80
;    LineOut - Stereo                 LeftChannel = 100    RightChannel = 200
;    LineOut - Left Only              LeftChannel = 100    RightChannel = 0
;    LineOut - Right Only             LeftChannel = 0      RightChannel = 200
;
;  LeftChannel
;     10 - MONO CDCOUT
;     20 - STEREO LEFT LOW POWER
;     40 - STEREO HEADSET LEFT
;    100 - STEREO OUT LEFT
;
;  RightChannel
;      1 - MONO SPEAKER
;      2 - MONO LOUDSPEAKER
;     10 - MONO CDCOUT
;     80 - STEREO HEADSET RIGHT
;    200 - STEREO OUT RIGHT
;
;  MonoAdder
;      0 - Disable mono adder (keep separate left and right channels)
;      1 - Add left and right channels
;      2 - Add left and right channels but with outputs in opposite phase
;      3 - Keep separate left and right channels but invert phase of left channel
;
; [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\Config\Recording]
;
;  The intended usage of the Left/RightChannel keys are such:
;    No Input                         LeftChannel = 0      RightChannel = 0
;
;    Mic 1 Left                       LeftChannel = 1      RightChannel = 0
;
;    Mic 1 Right                      LeftChannel = 0      RightChannel = 10
;    Mic 2 Aux                        LeftChannel = 0      RightChannel = 20
;
;    Mic 1 Stereo                     LeftChannel = 1      RightChannel = 10
;    RX In Stereo                     LeftChannel = 8      RightChannel = 80
;
; -----------------------------------------------------------------------------

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\PMIC\Config\Playback]
;   "LeftChannel"=dword:40
;   "RightChannel"=dword:80
;   "Description"="Stereo headset (LeftChannel=0x40, RightChannel=0x80)"
   "LeftChannel"=dword:100
   "RightChannel"=dword:200
   "Description"="Stereo AUDIO OUT jack J10 (LeftChannel=0x100, RightChannel=0x200)"
   "MonoAdder"=dword:3     ;default stereo opposite phase channels

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\PMIC\Config\Recording]
   "LeftChannel"=dword:8
   "RightChannel"=dword:80
   "Description"="Stereo input jack J4 (LeftChannel=1, RightChannel=2)"
;   "LeftChannel"=dword:5
;   "RightChannel"=dword:5
;   "Description"="AUDIO IN (LineIn)  (LeftChannel=5, RightChannel=5)"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\PMIC\Config\MicBias1]
   "Enable"=dword:0
   "Description"="Microphone bias circuit 1 disabled (0) or enabled (1)"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\PMIC\Config\MicBias2]
   "Enable"=dword:1
   "Description"="Microphone bias circuit 2 disabled (0) or enabled (1)"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\PMIC\Config\InputAmp]
   "Mode"=dword:1
   "Mode Description"="Voltage-to-Voltage (1) or Current-to-Voltage (2)"
   "Gain"=dword:8
   "Gain Description"="-8 dB (0) to 23 dB (31 or 0x1F) in 1 dB steps."

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio\PMIC\Config\HeadsetDetect]
   "Enable"=dword:0
   "Description"="Disabled (0) or enabled (1)"
#endif // (defined BSP_PMIC_MC13783 && defined BSP_AUDIO_MC13783)

; Override wave API load order to follow audio driver
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WAPIMAN]
   "Order"=dword:11

; @CESYSGEN ENDIF CE_MODULES_WAVEAPI
ENDIF ; BSP_NOAUDIO !
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; Notification LED Driver
;
IF BSP_NONLED !
; @CESYSGEN IF CE_MODULES_NLEDDRVR

; HIVE BOOT SECTION

[HKEY_LOCAL_MACHINE\System\Events]
    "SYSTEM/NLedAPIsReady"="Notification LED APIs"

; END HIVE BOOT SECTION

#include "$(_TARGETPLATROOT)\SRC\DRIVERS\NLEDDRVR\nleddrvr.reg"
; @CESYSGEN ENDIF CE_MODULES_NLEDDRVR
ENDIF ; BSP_NONLED !
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; TCLED Driver
;
IF BSP_TCLED
[HKEY_LOCAL_MACHINE\Drivers\TCL]
   "Prefix"="TCL"
IF BSP_PMIC_MC13783
   "Dll"="tcled_mc13783.dll"
ENDIF ; BSP_PMIC_MC13783
   "Index"=dword:1
ENDIF ; BSP_TCLED
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; SmartCard/SIM Driver
;
; @CESYSGEN IF CE_MODULES_SCARD
[HKEY_LOCAL_MACHINE\Services\SmartCardDriver]
    "Start"=dword:2
    "Type"=dword:1
    "Group"="Smart Card Reader"
    "ErrorControl"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SmartCard]
    "Prefix"="SCA"
    "Dll"="scard.dll"
    "Index"=dword:1
    "Order"=dword:10

IF BSP_SMARTCARD_SIM0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SIM]
    "Prefix"="SCR"
    "Dll"="sim.dll"
    "Index"=dword:1
    "Order"=dword:11
    "IOBase"=dword:50018000
    "AlternateIOBase"=dword:0
ENDIF  ; BSP_SMARTCARD_SIM0

IF BSP_SMARTCARD_SIM1
IF BSP_SMARTCARD_SIM0!
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SIM]
    "Prefix"="SCR"
    "Dll"="sim.dll"
    "Index"=dword:2
    "Order"=dword:11
    "IOBase"=dword:50018000
    "AlternateIOBase"=dword:0
ENDIF ; BSP_SMARTCARD_SIM0!
ENDIF ; BSP_SMARTCARD_SIM1
; @CESYSGEN ENDIF CE_MODULES_SCARD
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; USB Driver
;
IF BSP_USB
IF BSP_USB_HSOTG_XVC
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\XVC]
    "Dll" = "imx_xvc.Dll"
    "Prefix" = "XVC"
    "Order" = dword:25
    "MemBase"=dword:43F88000
    "MemLen"=dword:00001000
    "Irq"= dword:25
    "FriendlyName" = "XVC Driver"
; @CESYSGEN IF CE_MODULES_USBHOST
    "OTGSupport" = dword:1
; @CESYSGEN ELSE
    "OTGSupport" = dword:0
; @CESYSGEN ENDIF CE_MODULES_USBHOST
    "OTGGroup"="01"
ENDIF ; BSP_USB_HSOTG_XVC

; @CESYSGEN IF CE_MODULES_USBFN
IF BSP_USB_HSOTG_CLIENT
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UFN]
    "Prefix"="UFN"
    "Dll"="usbfn.dll"
    "Index"=dword:1
    "Order"=dword:20
    "MemBase"=dword:43F88000
    "MemLen"=dword:00001000
    "Irq"=dword:25
    "Priority256"=dword:64
IF BSP_USB_HSOTG_XVC
; @CESYSGEN IF CE_MODULES_USBHOST
    "OTGSupport" = dword:1
; @CESYSGEN ELSE
    "OTGSupport" = dword:0
; @CESYSGEN ENDIF CE_MODULES_USBHOST
ELSE
    "OTGSupport" = dword:0
ENDIF ; BSP_USB_HSOTG_XVC
    "OTGGroup"="01"
    "BusIoctl"=dword:2a0048
    "IClass"= multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
ENDIF ; BSP_USB_HSOTG_CLIENT

; @CESYSGEN IF CE_MODULES_RNDISFN
IF BSP_USBFN_RNDIS

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RNDIS]
; idVendor must be changed. 045E belongs to Microsoft and is only to be used
; for prototype devices in your labs. Visit http://www.usb.org to obtain a
; vendor id.
   "idVendor"=dword:045E

; "Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change idVendor)"
   "Manufacturer"="Microsoft Corporation (PROTOTYPE--Remember to change idVendor)"
   "idProduct"=dword:0301
   "Product"="Generic RNDIS (PROTOTYPE--Remember to change idVendor)"
   "bcdDevice"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
    "DefaultClientDriver"=-
    "DefaultClientDriver"="RNDIS"

[HKEY_LOCAL_MACHINE\Security\Policies\Policies]
    "00001001"=dword:1

[HKEY_LOCAL_MACHINE\Comm\RndisFn1\Parms\TCPIP]
	"IpAddress"="169.0.0.2"
	"Subnetmask"="255.0.0.0"
	"DefaultGateway"="0.0.0.0"
	"EnableDHCP"=dword:0
	"AutoCfg"=dword:1

ENDIF ; BSP_USBFN_RNDIS
; @CESYSGEN ENDIF CE_MODULES_RNDISFN

; @CESYSGEN ENDIF CE_MODULES_USBFN

;Active Sync over USB Settings

[HKEY_CURRENT_USER\ControlPanel\Comm]
"Cnct"="USB"
"AutoCnct"=dword:00000001

[HKEY_CURRENT_USER]

[HKEY_CURRENT_USER\Comm]

[HKEY_CURRENT_USER\Comm\RasBook]

[HKEY_CURRENT_USER\Comm\RasBook\USB]
"DevCfg"=hex:\
      30,00,00,00,78,00,00,00,00,01,00,00,00,c2,01,00,00,00,08,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00
"Entry"=hex:\
      08,02,40,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,70,19,00,00,7c,7d,10,0a,00,00,00,00,00,00,00,00,9c,ee,\
      04,12,00,00,00,00,00,00,00,00,f0,f0,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,9c,ed,04,12,78,ee,04,12,70,19,0e,00,00,00,00,00,30,0f,41,03,00,00,00,00,\
      08,11,41,03,7a,00,00,00,78,ee,04,12,9c,ed,04,12,00,00,00,00,78,ee,04,12,48,\
      99,40,03,a4,01,00,00,4f,01,00,00,b5,01,00,00,7a,00,00,00,bc,ed,04,12,00,00,\
      00,00,98,ee,04,12,48,99,40,03,a4,01,00,00,fc,ed,04,12,d8,ee,04,12,70,19,0e,\
      00,00,00,00,00,30,0f,41,03,00,00,00,00,00,00,00,00,ab,00,00,00,08,11,41,03,\
      88,00,00,00,d8,ee,04,12,fc,ed,04,12,8c,f0,04,12,d8,ee,04,12,48,99,40,03,a5,\
      01,00,00,4f,01,00,00,b4,01,00,00,88,00,00,00,01,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,01,00,00,00,00,00,ff,00,8c,22,0e,00,01,00,00,00,70,19,0e,\
      00,00,00,00,00,30,0f,41,03,80,22,0e,00,bc,ef,04,12,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,64,00,69,00,72,\
      00,65,00,63,00,74,00,00,00,00,00,a8,58,01,00,5a,17,05,12,5a,17,05,12,05,00,\
      00,00,90,d3,43,00,4f,00,4d,00,31,00,3a,00,00,00,00,00,89,01,00,00,5c,2f,08,\
      00,5a,17,05,12,64,ee,04,12,00,00,00,00,fc,7d,f7,03,64,af,40,03,00,00,00,00,\
      18,a0,40,03,00,00,00,00,80,22,0e,00,00,00,00,00,00,00,00,00,00,00,00,00,28,\
      f4,04,12,00,00,00,00,1c,f0,04,12,fb,de,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,8c,22,0e,00,01,00,00,00,0e,36,e2,c3,00,ef,04,12,f8,ee,04,12,14,e8,f7,\
      03,20,b0,f8,03,34,29,08,00,89,01,00,00,00,00,00,00,5a,17,05,12,00,00,00,00,\
      00,00,00,00,ac,04,02,00,bc,ef,04,12,00,00,00,00,00,00,00,00,00,00,00,12,5a,\
      17,05,12,00,00,00,00,0e,36,e2,c3,00,00,00,00,34,29,08,00,00,00,00,00,30,61,\
      01,7c,01,00,00,00,01,00,00,00,05,00,00,00,00,00,00,00,89,01,00,00,30,61,01,\
      7c,00,00,00,00,30,4b,01,7c,00,00,00,00,5a,17,05,12,00,00,00,00,30,4b,01,7c,\
      01,00,00,00,ba,9c,bd,a3,20,00,00,00,00,00,00,00,2c,5a,02,00,00,00,00,00,00,\
      00,00,00,6c,59,01,00,78,a8,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,80,22,0e,00,bc,14,40,03,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,89,01,00,00,30,61,01,7c,00,00,00,00,\
      00,00,00,00,00,00,00,00,e4,58,01,00,05,00,00,00,80,c3,01,00,00,00,00,00,00,\
      00,00,00,bc,14,40,03,20,9e,0e,0a,f0,ff,ff,ff,70,8b,0f,00,5a,17,05,12,81,00,\
      00,00,80,4e,0f,0a,f0,ef,04,12,b4,b3,07,00,30,61,01,7c,89,01,00,00,00,00,00,\
      00,5a,17,05,12,80,4e,0f,0a,0d,00,00,00,81,00,00,00,5a,17,05,12,5a,17,05,12,\
      50,60,01,7c,54,c1,07,00,d2,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ab,\
      00,00,00,4f,01,00,00,00,00,00,00,52,01,00,00,d2,01,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,ab,00,00,00,4f,01,00,00,00,00,00,00,00,00,00,00,ab,00,00,\
      00,74,00,00,00,ba,9c,bd,a3,0d,00,00,00,5a,17,05,12,14,e8,f7,03,60,a0,f8,03,\
      4f,01,00,00,0d,00,00,00,20,ff,01,00,b4,f0,04,12,b8,f0,04,12,0d,00,00,00,70,\
      c0,07,00,0d,00,00,00,00,00,00,00,5a,17,05,12,00,00,00,00,00,00,00,00,ac,04,\
      02,00,b8,f0,04,12,b0,f0,04,12,91,00,00,00,00,00,00,00,5a,17,05,12,00,00,00,\
      00,0e,36,e2,c3,00,00,00,00,70,c0,07,00,00,00,00,00,50,60,01,7c,5a,17,05,12,\
      4f,01,00,00,05,00,00,00,52,01,00,00,0d,00,00,00,50,60,01,7c,81,00,00,00,30,\
      4b,01,7c,00,00,00,00,90,1d,05,00,00,00,00,12,00,94,f6,83,0f,00,00,00,00,00,\
      00,00,0c,ce,cb,83,90,c5,ca,80,54,9a,bd,83,00,94,f6,83,0f,00,00,00,38,fe,00,\
      f0,5c,f1,04,12,3c,b7,10,80,0f,00,00,00,90,1d,05,00,c4,b3,00,f0,38,f4,04,12,\
      4e,00,00,00,00,00,00,00,00,00,00,00,80,54,01,7c,28,f3,04,12,80,8b,10,80,f1,\
      ec,ff,ff,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
    "FriendlyName"="Serial on USB"
;    "Index"=dword:9

;[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
;   "DefaultClientDriver"="Serial_Class"
   
[HKEY_LOCAL_MACHINE\Comm\DefaultConnections]
   "USB"=multi_sz:"Serial on USB","115200"


IF BSP_USB_HSOTG_HOST
; @CESYSGEN IF CE_MODULES_USBHOST
#include "$(_TARGETPLATROOT)\SRC\Drivers\usbh\hsotg\hsotg.reg"
; @CESYSGEN ENDIF CE_MODULES_USBHOST
ENDIF ; BSP_USB_HSOTG_HOST

IF BSP_USB_HSH2
#include "$(_TARGETPLATROOT)\SRC\Drivers\usbh\hsh2\hsh2.reg"
ENDIF ; BSP_USB_HSH2

;
;USB OTG Function Launch ActiveSync Application
;
IF BSP_USB_HSOTG_CLIENT
IF SYSGEN_AS_BASE
[HKEY_LOCAL_MACHINE\init]
   "Launch78"="USBCnect.exe"
   "Depend78"=hex:14,00, 1e,00
ENDIF ; SYSGEN_AS_BASE
ENDIF ; BSP_USB_HSOTG_CLIENT

ENDIF ; BSP_USB
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; Battery Driver
;
IF BSP_BATTERY

; These registry entries load the battery driver.  The IClass value must match
; the BATTERY_DRIVER_CLASS definition in battery.h -- this is how the system
; knows which device is the battery driver.  Note that we are using 
; DEVFLAGS_NAKEDENTRIES with this driver.  This tells the device manager
; to instantiate the device with the prefix named in the registry but to look
; for DLL entry points without the prefix.  For example, it will look for Init
; instead of BAT_Init.  This allows the prefix to be changed in the registry (if
; desired) without editing the driver code.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Battery]
   "Prefix"="BAT"
IF BSP_PMIC_MC13783
   "Dll"="battdrvr_mc13783.dll"
ENDIF
   "Flags"=dword:8                      ; DEVFLAGS_NAKEDENTRIES
   "IClass"="{DD176277-CD34-4980-91EE-67DBEF3D8913}"
   "BattFullLiftTime" = dword:8         ;Batt Spec defined: in unit of hr, here 8hr is assumed
   "BattFullCapacity"=dword:320     ;Batt Spec defined: in unit of mAh, here 800mAhr is assumed
   "BattMaxVoltage"=dword:1068     ;Batt Spec defined: in unit of mV, here 4200mV is assumed
   "BattMinVoltage"=dword:BB8     ;Batt Spec defined: in unit of mV, here 3000mV is assumed
   "BattPeukertNumber"=dword:73     ;Batt Spec defined, here 1.15 is assumed
   "BattChargeEff"=dword:50     ;Batt Spec defined, here 0.80 is assumed
   "PollInterval"=dword:7350	; battery polling interval, in milliseonds(30 seconds)

; HIVE BOOT SECTION

[HKEY_LOCAL_MACHINE\System\Events]
    "SYSTEM/BatteryAPIsReady"="Battery Interface APIs"

; END HIVE BOOT SECTION

ENDIF ;BSP_BATTERY
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
IF BSP_PwrButton
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PwrButton]
   "Dll"  = "PwrButton.DLL"
   "Flags"= dword:8   ; DEVFLAGS_NAKEDENTRIES, Entry points don't have Prefix prepended
   "Order"= dword:2   ; Must be after CSPDDK
   "DebounceCheckSameTimes"=dword:0A   ; 10 times, Check button times for debounce
   "DebounceDelayTime"=dword:0A        ; 10 ms, Check button interval for debounce
   "PowerChangeInterval"=dword:1F4     ; 500ms, Enforce 2 button pressed interval for power handler
   "ActiveRelease"=dword:1             ; 1: Active when key release, 0: Active when key pressed
   "KeyPressedIsLow"=dword:1           ; 1: pin uP_nWAKEUP is low when key is pressed, 0: pin uP_nWAKEUP is high when key is pressed
   "Priority256"=dword:F0
ENDIF ;BSP_PwrButton
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
IF BSP_LIGHTSWITCH
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\LedSwitch]
   "Dll"  = "LedSwitch.DLL"
   "Flags"= dword:8   ; DEVFLAGS_NAKEDENTRIES, Entry points don't have Prefix prepended
ENDIF ;BSP_LIGHTSWITCH
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; ATA Driver
;
IF BSP_ATA
; HIVE BOOT SECTION

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"Name"="ATA Hard Disk Drive"
"Folder"="Hard Disk"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
"EnableCacheWarm"=dword:00000000

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ATA_MX31]
   "Prefix" = "DSK"
   "Dll" = "ATA_mx31.DLL"
   "Order" = dword:10              ; change from 30 to 10 to ensure msc-ata suspend resume functional OK
   "IClass"=multi_sz:"{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}","{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
   "InactivityTimeout"= dword:7D0  ; this is the Idle time out value 2000ms
   "InterruptDriven"=dword:01      ; enable interrupt driven I/O
   "DMA"=dword:01                  ; enable DMA
   "DoubleBufferSize"=dword:10000  ; 128 sector (65536 byte) double buffer
   "DrqDataBlockSize"=dword:200    ; 1 sector (512 byte) DRQ data block
   "WriteCache"=dword:01           ; enable on-disk write cache
   "LookAhead"=dword:01            ; enable on-disk look-ahead
   "DeviceId"=dword:00             ; device 0, i.e., primary master
   "TransferMode"=dword:43         ; FF         ; use device default transfer mode (Ultra DMA 3, 4 require 80-conductor cable)
   "IORDYEnable"=dword:01          ; enable Host IORDY for PIO mode 3, 4
   "HDProfile"="HDProfile"         ; GetDeviceInfo for "StorageManagerProfile"

[-HKEY_LOCAL_MACHINE\System\StorageManager\EXFAT\Filters\CacheFilt] 
[-HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Filters\CacheFilt] 
; END HIVE BOOT SECTION    

ENDIF ;BSP_ATA
;------------------------------------------------------------------------------

; @XIPREGION ENDIF PACKAGE_OEMDRIVERS

;------------------------------------------------------------------------------
; Power Manager interfaces.  These list the interface classes that the Power
; Manager will monitor for new devices.
;

; HIVE BOOT SECTION

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Interfaces]
    "{A32942B7-920C-486b-B0E6-92A702A99B35}"="Generic power-manageable devices"
    "{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"="Power-manageable block devices"
; @CESYSGEN IF CE_MODULES_NDIS
    "{98C5250D-C29A-4985-AE5F-AFE5367E5006}"="Power-manageable NDIS miniports"
; @CESYSGEN ENDIF CE_MODULES_NDIS
; @CESYSGEN IF CE_MODULES_GWES
    "{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"="Power-manageable display"
; @CESYSGEN ENDIF CE_MODULES_GWES

; @CESYSGEN IF PM_PM_PDA_PDD

; Make sure the system power management thread runs at a higher priority than
; driver ISTs that may call SetSystemPowerState().  This is to avoid race conditions
; between the PM and drivers or applications that may want to update the system power
; state.  Most drivers don't run above THREAD_PRIORITY_HIGHEST (249); if any that
; might call SetSystemPowerState() have a higher priority than this, adjust
; the PM's SystemPriority256 value accordingly.
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
        "SystemPriority256"=dword:F8                    ; 248 - THREAD_PRIORITY_TIME_CRITICAL

; @CESYSGEN ENDIF ; PM_PM_PDA_PDD

;
; Default Activity Timers
;

;
; These registry values set up activity timers inside the Power Manager.
; GWES and/or other system components need to reset them periodically
; to keep the associated inactivity event from being set.
;
; OEMs can define other timers instead of or in addition to the ones in this
; file.  Generally this will be done in conjunction with modifications to
; the Power Manager platform sources.
;
; Defining timers causes the PM to create a set of named events for resetting
; the timer and for obtaining its activity status.  See the PM documentation
; for more information.
;
; To remove these timer definitions from the configuration for a platform,
; include the line:
;   [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\ActivityTimers]
; in the device's platform.reg file.  Uncomment the line in the
; platform.reg file.
;
;
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\ActivityTimers]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\ActivityTimers\UserActivity]
    "Timeout"=dword:1                        ; in  seconds
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\ActivityTimers\SystemActivity]
    "Timeout"=dword:1                        ; in  seconds

;
; Default System Power State Transition Timeouts
;

; These registry values configure the interval of time the Power Manager allows
; to pass during periods of inactivity before updating the system power state.
; The sample implementation of the power manager uses them as follows:
;   On AC power, the system will be in the "On" system power state as ;
;       long as the UserActivity activity timer has not expired.
;   Once the UserActivity timer expires, the PM will transition to the
;       "UserIdle" system power state after ACUserIdle seconds of user
;       inactivity.
;   After ACSystemIdle seconds of continued user inactivity, the PM will
;       transition to the "SystemIdle" system power state.
;   The PM will keep the system in the SystemIdle power state for as long
;       as the SystemActivity activity timer has not expired.  Once it expires,
;       the PM will wait ACSuspend seconds before transitioning to the "Suspend"
;       system power state.
; Resetting the UserActivity activity timer at any time prior to entering
; the Suspend system power state will cause the system to go back to the "On"
; system power state.  The PM implements a similar algorithm on battery power
; using the BattUserIdle, BattSystemIdle, and BattSuspend timeouts.
;
; OEMs can change this state machine by customizing the PM for their platform.
;
; To remove these timeout definitions from the configuration for a platform,
; include the line:
;   [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
; in the device's platform.reg file.  Uncomment the line in the
; platform.reg file.

; Power control panel stuff, power off time (hex)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
    "BattPowerOff"=dword:0
    "ExtPowerOff"=dword:0
; The previous settings are for GWE.
; The following settings have the same effect,
; but are used by the new Power Mgr:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
; @CESYSGEN IF PM_PM_DEFAULT_PDD
    "ACUserIdle"=dword:0        ; in seconds
    "ACSystemIdle"=dword:0      ; in seconds
    "ACSuspend"=dword:0     ; in seconds
    "BattUserIdle"=dword:0     ; in seconds
    "BattSystemIdle"=dword:0    ; in seconds
    "BattSuspend"=dword:0       ; in seconds
; @CESYSGEN ENDIF PM_PM_DEFAULT_PDD
; @CESYSGEN IF PM_PM_PDA_PDD
    "ACSuspendTimeout"=dword:0            ; timeout disabled on AC power
    "ACResumingSuspendTimeout"=dword:5    ; 3 seconds
    "BattSuspendTimeout"=dword:0          ; 2 minutes (120 seconds) on battery
    "BattResumingSuspendTimeout"=dword:5  ; 3 seconds
; @CESYSGEN ENDIF PM_PM_PDA_PDD
;;;     "BatteryPoll"=dword:1f4         ; battery polling interval, in milliseonds

; END HIVE BOOT SECTION

; @CESYSGEN IF CE_MODULES_GWES

; This registry setting tells GWES to signal the Power Manager
; when user input devices are active.  GWES will reset this activity timer
; whenever it dequeues any type of input event (keyboard, mouse, or
; touch) from its internal queue.
[HKEY_LOCAL_MACHINE\SYSTEM\GWE]
    "ActivityEvent"="PowerManager/ActivityTimer/UserActivity"

; Set GWES registry keys so that it's not fighting with the PM about
; when to suspend the system.  Setting DisableGwesPowerOff to a non-
; zero value tells GWES to ignore the settings of the BattPowerOff,
; ExtPowerOff, and WakeupPowerOff values.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
    "DisableGwesPowerOff"=dword:1

; @CESYSGEN IF PM_PM_PDA_PDD
;
; Create an event for GWES to signal when somebody calls SystemIdleTimerReset()
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
        "SystemIdleTimerResetEvent"="PowerManager/SystemIdleTimerReset"
; @CESYSGEN ENDIF PM_PM_PDA_PDD

; @CESYSGEN ENDIF CE_MODULES_GWES

; @CESYSGEN IF CE_MODULES_CXPORT

; These registry settings tells the networking protocol stack to periodically
; signal the Power Manager when any sockets are in the connected state.  They
; also tell the stack NOT to automatically reset the GWES idle timer (this
; enables the screen saver).
[HKEY_LOCAL_MACHINE\Comm\CXPort]
    "NoIdleTimerEvent"="PowerManager/ActivityTimer/SystemActivity"
    "NoIdleTimerReset"=dword:1

; @CESYSGEN ENDIF CE_MODULES_CXPORT

;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; RAMDisk Driver
;
IF SYSGEN_RAMDISK

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ramdisk]
    "Profile"="ramdisk"
    "Dll"="ramdisk.dll"
    "FriendlyName"="RAM disk driver"
    "Order"=dword:20
    "Prefix"="DSK"
    "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
    "Size"=dword:C00000

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ramdisk]
    "Folder"="RAM disk"
    "AutoPart"=dword:1
    "AutoFormat"=dword:1
    "Name"="RAM Disk"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ramdisk\FATFS]
    "Flags"=dword:4
    "FormatTfat"=dword:1

ENDIF  ; SYSGEN_RAMDISK

; @CESYSGEN IF CE_MODULES_DEVICE

;------------------------------------------------------------------------------
; Hive Registry Configuration
;
; @CESYSGEN IF FILESYS_FSREGHIVE
; HIVE BOOT SECTION

; BootVars Flags:
; 1 = Start Storage Manager in boot phase 1 for hive-based registry.
; 2 = Start Device Manager in boot phase 1 for hive-based registry.
; 4 = Start Storage Manager in boot phase 1 for registry in external
;     ROM (e.g., BINFS).
; 8 = Start Device Manager in boot phase 1 for registry in external
;     ROM (e.g., BINFS).
;
; We use 1 so that we launch only the Storage Manager in boot phase 1 using
; the hive-based registry. This avoids any potential startup conflicts with
; having both the Storage Manager and Device Manager running during boot
; phase one.
;
[HKEY_LOCAL_MACHINE\init\BootVars]
    "SystemHive"="Documents and Settings\\System.hv"
    "Flags"=dword:3
    "NoDefaultUser"=dword:0
    "DefaultUser"="default"
    "ProfileDir"="Documents and Settings"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CSPDDK]
    "Flags"=dword:1002

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PMI]
    "Flags"=dword:1000

IF BSP_HIVE_SDHC

#if (defined BSP_SDHC1 || defined BSP_SDHC2)
[-HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]
[-HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
[-HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_Class]

[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]
   "Order"=dword:15
   "Dll"="SDBus.dll"
   "Prefix"="SDC"
   "ThreadPriority"=dword:64     ; default thread priority for dispatch thread
   "RequestListDepth"=dword:30   ; pre-allocated requests
   "Flags"=dword:10000 ; DEVFLAGS_TRUSTEDCALLERONLY
   "IClass"=multi_sz:"{20FA98A8-B298-4b32-8D72-C716AEE2FA84}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
   "Flags"=dword:1000

; SD Memory Storage class driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
   "Dll"="SDMemory.dll"
   "Prefix"="DSK"
   "BlockTransferSize"=dword:40  ; send no more than 64 blocks of data per bus transfer
   ;"SingleBlockWrites"=dword:1  ; alternatively force the driver to use single block access
   ;"IdleTimeout"=dword:7D0      ; 2000 milliseconds
   ;"IdlePowerState"=dword:2     ; 0 == D0, 1 == D1, etc.
   ;"DisablePowerManagement"=""  ; if value present, then disable (remove value to enable)

   "Profile"="SDMemory"
   "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
                     "{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"

; MMC Storage Class Driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_Class]
   "Dll"="SDMemory.dll"
   "Prefix"="DSK"
   "BlockTransferSize"=dword:40  ; send no more than 64 blocks of data per bus transfer
   ;"SingleBlockWrites"=dword:1  ; alternatively force the driver to use single block access
   ;"IdleTimeout"=dword:7D0      ; milliseconds
   ;"IdlePowerState"=dword:2     ; 0 == D0, 1 == D1, etc.
   ;"DisablePowerManagement"=""  ; if value present, then disable (remove value to enable)

   "Profile"="MMC"
   "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
                     "{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC]
  "MountAsBootable"=dword:1 
  "MountAsRoot"=dword:1
  
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
  "MountAsBootable"=dword:1
  "MountAsRoot"=dword:1

IF BSP_SDHC1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC_ARM11_1]
    "Flags"=dword:1000
ENDIF ;BSP_SDHC1

IF BSP_SDHC2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC_ARM11_2]
    "Flags"=dword:1000    
ENDIF ;BSP_SDHC2
#endif  

ENDIF ;BSP_HIVE_SDHC


IF BSP_HIVE_ATA
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ATA_MX31]
     "Flags"=dword:1000 
     
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
    "MountAsBootable"=dword:1
    "MountAsRoot"=dword:1
    "MountPermanent"=dword:1
    "AutoMount"=dword:1
    "AutoPart"=dword:1
    "AutoFormat"=dword:1
    
ENDIF ;BSP_HIVE_ATA


IF BSP_HIVE_NAND
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFMD]
    "Flags"=dword:1000

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk]
    "MountAsBootable"=dword:1
    "MountAsRoot"=dword:1
ENDIF ; BSP_HIVE_NAND

; END HIVE BOOT SECTION
; @CESYSGEN ENDIF FILESYS_FSREGHIVE

; @CESYSGEN ENDIF CE_MODULES_DEVICE

;------------------------------------------------------------------------------

IF BSP_LPD_YAFFS
#include "$(_TARGETPLATROOT)\PREBUILT\FileSystem\YAFFS\lpd_yaffs.reg"
ENDIF ; BSP_LPD_YAFFS

;------------------------------------------------------------------------------
; PCMCIA Driver
;
IF BSP_PCMCIA
#include "$(_TARGETPLATROOT)\src\drivers\pccard\pcc_mx31.reg"
; HIVE BOOT SECTION
#include "$(_PUBLICROOT)\common\oak\drivers\pccard\mdd\pcc_serv.reg"
[HKEY_LOCAL_MACHINE\Drivers\PCCARD\PCMCIA\TEMPLATE\PCMCIA]
   "Dll"="pcmcia.dll"
   "NoConfig"=dword:1
   ;"NoISR"=dword:1 ; Do not load any ISR.
   "IClass"=multi_sz:"{6BEAB08A-8914-42fd-B33F-61968B9AAB32}=PCMCIA Card Services"
; END HIVE BOOT SECTION

; Hive registry for CompactFlash Card
IF SYSGEN_FSREGHIVE
; HIVE BOOT SECTION
; @CESYSGEN IF CE_MODULES_ATADISK
[HKEY_LOCAL_MACHINE\Drivers\PCMCIA\ATADisk]
    "Dll"="ATADISK.DLL"
    "Prefix"="DSK"
    "Ioctl"=dword:4
    "Profile"="PCMCIA"
    ; Indicate we are a power manageable interface and a storage driver
    "IClass"=multi_sz:"{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}","{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
; @CESYSGEN ENDIF

; @CESYSGEN IF CE_MODULES_ATADISK
[HKEY_LOCAL_MACHINE\Drivers\PCMCIA\Detect\50]
   "Dll"="ATADISK.DLL"
   "Entry"="DetectATADisk"
; @CESYSGEN ENDIF CE_MODULES_ATADISK

; @CESYSGEN IF CE_MODULES_PCCARD
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\PCMCIA]
   "Name"="PCMCIA/Compact Flash Device"
   "Folder"="Storage Card"
   "DefaultFileSystem"="FATFS"
   "MountAsBootable"=dword:1

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\PCMCIA\FATFS]
   "MountAsBootable"=dword:1
;   "Flags"=dword:00640074		;FATFS_TFAT_ALWAYS|FATFS_FORCE_TFAT|FATFS_TRANS_DATA|FATFS_ENABLE_BACKUP_FAT|FATFS_DISABLE_AUTOSCAN

; @CESYSGEN ENDIF CE_MODULES_PCCARD

; END HIVE BOOT SECTION
ENDIF ; SYSGEN_FSREGHIVE

ENDIF ; BSP_PCMCIA

;------------------------------------------------------------------------------
; HIVE BOOT SECTION
IF SYSGEN_FSREGHIVE
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\ObjectStore]
IF PRJ_ENABLE_FSREGHIVE !
    ; Only mount ObjectStore FS as bootable if PRJ_ENABLE_FSREGHIVE is NOT set
    ; in order to preserve backwards compatibility (hive files go on
    ; ObjectStore FS by default).
    "MountAsBootable"=dword:0
ENDIF ; PRJ_ENABLE_FSREGHIVE !
ENDIF ; SYSGEN_FSREGHIVE
; END HIVE BOOT SECTION

;------------------------------------------------------------------------------
; Hantro CODEC Driver
;
IF BSP_HANTRO_CODECS
    ; Hantro codecs
    #include "$(_TARGETPLATROOT)\Src\Drivers\HANTRO_CODECS\SDK\INC\htrdecdmo.reg"
    #include "$(_TARGETPLATROOT)\Src\Drivers\HANTRO_CODECS\SDK\INC\htrencftr.reg"
    #include "$(_TARGETPLATROOT)\Src\Drivers\HANTRO_CODECS\SDK\INC\mp4enc.reg"
ENDIF ; BSP_HANTRO_CODECS
;------------------------------------------------------------------------------

ENDIF ; IMGTINY !

[HKEY_CURRENT_USER\ControlPanel\Desktop]
	"wallpaper"="\\Windows\\logicpd.bmp"


[HKEY_LOCAL_MACHINE\SYSTEM\GWE]
    "SysColor"=hex:E0,E0,E0,00, 6A,74,7D,00, 80,80,FF,00, 80,80,80,00,
C0,C0,C0,00, FF,FF,FF,00, 00,00,00,00, 00,00,00,00,
00,00,00,00, FF,FF,00,00, C0,C0,C0,00, C0,C0,C0,00,
80,80,80,00, 00,00,FF,00, FF,FF,00,00, C0,C0,C0,00,
80,80,80,00, 80,80,80,00, 00,00,00,00, C0,C0,C0,00,
FF,FF,FF,00, 00,00,00,00, DF,DF,DF,00, 00,00,00,00,
FF,FF,E1,00, FF,FF,E1,00, 00,00,00,00, 10,84,D0,00,
B5,B5,B5,00

[HKEY_LOCAL_MACHINE\System\StorageManager]
    "PNPUnloadDelay"=dword:3E8    ; 0.5s - default: dword:1000 (4096ms)
    "PNPWaitIODelay"=dword:1F4    ; 1.0s - default: dword:1000 (4096ms)


; @XIPREGION ENDIF PLATFORM_REGISTRY_DEFAULT
