hive-based registry download error

asasidar_at_mail.unomaha.edu
Date: 04/09/04


Date: 9 Apr 2004 09:46:27 -0700

Hi,
  To implement Hive-Based registry the platform.reg includes the
following settings:
IF SYSGEN_FSREGHIVE
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
        "DefaultUser"="Default User"
        "SystemHive"="system.hv"
        "ProfileDir"="\\IPSM\\Documents and Settings"
        "Start DevMgr"=dword:1
        "RegistryFlags"=dword:1
; END HIVE BOOT SECTION
ENDIF
;************************************************************************/
; Default to no power-off
;************************************************************************/
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
        "BattPowerOff"=dword:0
        "ExtPowerOff"=dword:0
; END HIVE BOOT SECTION

;************************************************************************/
; This registry setting disables the Explorer's suspend menu button
;************************************************************************/
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Explorer]
        "Suspend"=dword:0
; END HIVE BOOT SECTION

;************************************************************************/
; 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:1
   "Space"=dword:000f
   "Ranges"="1-0xf" ; slots 1-4 for PCI and IRQ7 for EBX NDIS
application ethernet
   "Shared"="1-4"
[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
   "Identifier"=dword:2
   "Minimum"=dword:0000000
   "Space"=dword:bd000000 ; Size (16MB of PCI + the EBX + PDA)
   "Ranges"="0x0000000-0x3fffff" ; Available ranges for PCI and EBX
; END HIVE BOOT SECTION
;************************************************************************/
; FlashFX Drivers
;************************************************************************/
IF BSP_FLASHFX
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FlashFX]
    "DLL"="FlashFX_bin.DLL"
    "FSD"="FATFSD.DLL"
    "Prefix"="DSK"
    "Ioctl"=dword:4
    "Order"=dword:1
    "Index"=dword:1
        "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
    "ProfileName"="FlashFXDisk1Profile"
        "Format"=dword:1
        
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashFXDisk1Profile]
    "AutoMount"=dword:1
    "AutoPart"=dword:0
    "AutoFormat"=dword:0
    "MountFlags"=dword:2
    "Name"="Datalight FlashFX"
    "Folder"=LOC_FLASHFX_FOLDER
    "DefaultFileSystem"="FATFS"
    "PartitionDriver"="mspart.dll"
; END HIVE BOOT SECTION
ENDIF

;************************************************************************/
; Enable Read cache for FATFS
;************************************************************************/
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
    "CacheSize"=dword:1000
        "Flags"=dword:1000 ;tell device mgr not to load driver again
during 2nd boot phase
; END HIVE BOOT SECTION
;************************************************************************/
; Intel Persistant Storage Manager (IPSM) Driver
;************************************************************************/
IF SYSGEN_IPSM
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\PSM]
        "Dll"="PSMFSD.dll"
        "Paging"=dword:1
        "MountFlags"=dword:2
        "Flags"=dword:1000 ;tell device mgr not to load driver again
during 2nd boot phase
; END HIVE BOOT SECTION
ENDIF

I want the registry settings to be saved when the power is shutdown (
cold/warm boot) so in the battdrvr.c i called RegFlushKey(HKEY) in the
Powerdown handler.

The image downloads but then all i get is a white screen and the whole
process hangs. I have read through the documentation but i dont think
i have any settings other than what is mentioned. Any insight into
this problem will be of great help.

Thanks,
Annie



Relevant Pages

  • Re: Hive-based registry setting
    ... >; END HIVE BOOT SECTION ... > HD may contain system registry; ... >>> later in the file can overwrite settings from earlier in the file. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Hive-based registry setting
    ... ; END HIVE BOOT SECTION ... HD may contain system registry; ... The settings from common.reg go ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Unable to Access Serial Port
    ... registry) and standard PC settings is: ... >; END HIVE BOOT SECTION ... Registry enumerator used for loading each PCI device driver instance ... > ENDIF ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Hive-baed registry setting;
    ... - I'm following the help in platform builder "Using the Hive-Based Registry", the hive-based registry catalog Item is added on my image. ... ; HIVE BOOT SECTION; Valid Bits for Flags registry value ... 0x00000001 Start storage manager in boot phase 1 for hive-based registry ...
    (microsoft.public.windowsce.platbuilder)
  • Hive-based registry setting
    ... I'm trying to setup the hive-based registry and I have some question about: ... 0x00000001 Start storage manager in boot phase 1 for hive-based registry ... ; END HIVE BOOT SECTION ...
    (microsoft.public.windowsce.platbuilder)