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.

94 lines
1.9 KiB

  1. /*++ BUILD Version: 0002 // Increment this if a change has global effects
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. init.h
  5. Abstract:
  6. Header file for the INIT subcomponent of NTOS
  7. Author:
  8. Steve Wood (stevewo) 31-Mar-1989
  9. Revision History:
  10. --*/
  11. #ifndef _INIT_
  12. #define _INIT_
  13. // begin_ntosp
  14. #define INIT_SYSTEMROOT_LINKNAME "\\SystemRoot"
  15. #define INIT_SYSTEMROOT_DLLPATH "\\SystemRoot\\System32"
  16. #define INIT_SYSTEMROOT_BINPATH "\\SystemRoot\\System32"
  17. // end_ntosp
  18. #define INIT_WINPEMODE_NONE 0x00000000
  19. #define INIT_WINPEMODE_REGULAR 0x00000001
  20. #define INIT_WINPEMODE_INRAM 0x80000000
  21. #define INIT_WINPEMODE_READONLY_MEDIA 0x00000100
  22. #define INIT_WINPEMODE_REMOVABLE_MEDIA 0x00000200
  23. extern UNICODE_STRING NtSystemRoot;
  24. // begin_ntosp
  25. extern ULONG NtBuildNumber;
  26. // end_ntosp
  27. extern ULONG NtMajorVersion;
  28. extern ULONG NtMinorVersion;
  29. extern ULONG CmNtCSDVersion;
  30. extern ULONG CmNtCSDReleaseType;
  31. extern UNICODE_STRING CmVersionString;
  32. extern UNICODE_STRING CmCSDVersionString;
  33. extern const CHAR NtBuildLab[];
  34. extern NLSTABLEINFO InitTableInfo;
  35. extern ULONG InitNlsTableSize;
  36. extern PVOID InitNlsTableBase;
  37. extern ULONG InitAnsiCodePageDataOffset;
  38. extern ULONG InitOemCodePageDataOffset;
  39. extern ULONG InitUnicodeCaseTableDataOffset;
  40. extern PVOID InitNlsSectionPointer;
  41. extern BOOLEAN InitSafeModeOptionPresent;
  42. extern ULONG InitSafeBootMode;
  43. extern BOOLEAN InitIsWinPEMode;
  44. extern ULONG InitWinPEModeType;
  45. #if defined(_M_IX86) || defined(_M_AMD64)
  46. VOID
  47. KiSystemStartup(
  48. IN PVOID LoaderBlock
  49. );
  50. #else
  51. VOID
  52. KiSystemStartup( VOID );
  53. #endif
  54. VOID
  55. Phase1Initialization(
  56. IN PVOID Context
  57. );
  58. typedef
  59. BOOLEAN
  60. (*PTESTFCN)( VOID );
  61. extern PTESTFCN TestFunction;
  62. extern ULONG InitializationPhase;
  63. #if DBG
  64. extern BOOLEAN ForceNonPagedPool;
  65. extern ULONG MmDebug;
  66. #endif // DBG
  67. #endif // _INIT_