Leaked source code of windows server 2003
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.

54 lines
1.3 KiB

  1. //
  2. // No Check-in Source Code.
  3. //
  4. // Do not make this code available to non-Microsoft personnel
  5. // without Intel's express permission
  6. //
  7. /**
  8. *** Copyright (C) 1996-97 Intel Corporation. All rights reserved.
  9. ***
  10. *** The information and source code contained herein is the exclusive
  11. *** property of Intel Corporation and may not be disclosed, examined
  12. *** or reproduced in whole or in part without explicit written authorization
  13. *** from the company.
  14. **/
  15. //++
  16. //
  17. // Module name
  18. // SuSetup.h
  19. // Author
  20. // Allen Kay (akay) Jun-12-95
  21. // Description
  22. // Include file for SuSetup.s
  23. //--
  24. #ifndef __SUSETUP__
  25. #define __SUSETUP__
  26. //
  27. // NT OS Loader address map
  28. //
  29. #define BOOT_USER_PAGE 0x00C00
  30. #define BOOT_SYSTEM_PAGE 0x80C00
  31. #define BOOT_PHYSICAL_PAGE 0x00000
  32. #define BL_PAGE_SIZE 0x18 // 0x18=24, 2^24=16MB
  33. #define BL_SP_BASE 0x00D80000 // Initial stack pointer
  34. #define Bl_IVT_BASE 0x00A08000 // Interrup vector table base
  35. //
  36. // Initial CPU values
  37. //
  38. //
  39. // Initial Region Register value:
  40. // RID = 0, PS = 4M, E = 0
  41. //
  42. #define RR_PAGE_SIZE (BL_PAGE_SIZE << RR_PS)
  43. #define RR_SHIFT 61
  44. #define RR_BITS 3
  45. #define RR_SIZE 8
  46. #endif __SUSETUP__