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.

87 lines
1.7 KiB

  1. 4 ; This is the number of in register arguments
  2. ;++
  3. ;
  4. ; Copyright (c) 2000 Microsoft Corporation
  5. ;
  6. ; Module Name:
  7. ;
  8. ; systable.asm
  9. ;
  10. ; Abstract:
  11. ;
  12. ; This module implements the system service dispatch table.
  13. ;
  14. ; Author:
  15. ;
  16. ; David N. Cutler (davec) 10-Jul-2000
  17. ;
  18. ; Environment:
  19. ;
  20. ; Kernel mode only.
  21. ;
  22. ;--
  23. include ksamd64.inc
  24. TABLE_BEGIN1 macro t
  25. title t
  26. endm
  27. TABLE_BEGIN2 macro t
  28. _TEXT$00 segment para 'code'
  29. endm
  30. TABLE_BEGIN3 macro t
  31. endm
  32. TABLE_BEGIN4 macro t
  33. public KiServiceTable
  34. KiServiceTable:
  35. endm
  36. TABLE_BEGIN5 macro t
  37. endm
  38. TABLE_BEGIN6 macro t
  39. endm
  40. TABLE_BEGIN7 macro t
  41. endm
  42. TABLE_BEGIN8 macro t
  43. endm
  44. TABLE_ENTRY macro l,bias,numargs
  45. extrn Nt&l:proc
  46. dq offset Nt&l+bias
  47. endm
  48. TABLE_END macro n
  49. public KiServiceLimit
  50. KiServiceLimit:
  51. dd n + 1
  52. endm
  53. ARGTBL_BEGIN macro
  54. public KiArgumentTable
  55. KiArgumentTable:
  56. endm
  57. ARGTBL_ENTRY macro e0, e1, e2, e3, e4, e5, e6, e7
  58. db e0 * 2, e1 * 2, e2 * 2, e3 * 2, e4 * 2, e5 * 2, e6 * 2, e7 * 2
  59. endm
  60. ARGTBL_END macro
  61. _TEXT$00 ends
  62. end
  63. endm
  64. TABLE_BEGIN1 <"System Service Dispatch Table">
  65. TABLE_BEGIN2 <"System Service Dispatch Table">
  66. TABLE_BEGIN3 <"System Service Dispatch Table">
  67. TABLE_BEGIN4 <"System Service Dispatch Table">
  68. TABLE_BEGIN5 <"System Service Dispatch Table">
  69. TABLE_BEGIN6 <"System Service Dispatch Table">
  70. TABLE_BEGIN7 <"System Service Dispatch Table">
  71. TABLE_BEGIN8 <"System Service Dispatch Table">