Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. XIPDisk.h
  5. Abstract:
  6. This file includes extension declaration for
  7. the XIP Disk driver for Whistler NT/Embedded.
  8. Author:
  9. DavePr 18-Sep-2000 -- base one NT4 DDK ramdisk by RobertN 10-Mar-1993.
  10. Environment:
  11. Kernel mode only.
  12. Notes:
  13. Revision History:
  14. --*/
  15. typedef struct _XIPDISK_EXTENSION {
  16. PDEVICE_OBJECT DeviceObject;
  17. PDEVICE_OBJECT UnderlyingPDO;
  18. PDEVICE_OBJECT TargetObject;
  19. XIP_BOOT_PARAMETERS BootParameters;
  20. BIOS_PARAMETER_BLOCK BiosParameters;
  21. ULONG NumberOfCylinders;
  22. ULONG TracksPerCylinder; // hardwired at 1
  23. ULONG BytesPerCylinder;
  24. UNICODE_STRING InterfaceString;
  25. UNICODE_STRING DeviceName;
  26. } XIPDISK_EXTENSION, *PXIPDISK_EXTENSION;
  27. #define XIPDISK_DEVICENAME L"\\Device\\XIPDisk"
  28. #define XIPDISK_FLOPPYNAME L"\\Device\\Floppy9"
  29. #define XIPDISK_DOSNAME L"\\DosDevices\\XIPDisk"
  30. #define XIPDISK_DRIVELETTER L"\\DosDevices\\X:"