116 lines
2.4 KiB
Plaintext
116 lines
2.4 KiB
Plaintext
;++
|
|
;
|
|
; Copyright (c) 2001 Microsoft Corporation
|
|
;
|
|
; Module Name:
|
|
;
|
|
; sysstubs.asm
|
|
;
|
|
; Abstract:
|
|
;
|
|
; This module implements the system service dispatch stub procedures.
|
|
;
|
|
; Author:
|
|
;
|
|
; David N. Cutler (davec) 8-Jan-2001
|
|
;
|
|
; Environment:
|
|
;
|
|
; User or kernel mode.
|
|
;
|
|
;--
|
|
|
|
include ksamd64.inc
|
|
|
|
STUBS_BEGIN1 macro t
|
|
TITLE t
|
|
endm
|
|
|
|
STUBS_BEGIN2 macro t
|
|
endm
|
|
|
|
STUBS_BEGIN3 macro t
|
|
endm
|
|
|
|
STUBS_BEGIN4 macro t
|
|
endm
|
|
|
|
STUBS_BEGIN5 macro t
|
|
endm
|
|
|
|
STUBS_BEGIN6 macro t
|
|
endm
|
|
|
|
STUBS_BEGIN7 macro t
|
|
endm
|
|
|
|
STUBS_BEGIN8 macro t
|
|
endm
|
|
|
|
STUBS_END macro t
|
|
end
|
|
endm
|
|
|
|
SYSSTUBS_ENTRY1 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
SYSSTUBS_ENTRY2 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
SYSSTUBS_ENTRY3 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
SYSSTUBS_ENTRY4 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
SYSSTUBS_ENTRY5 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
SYSSTUBS_ENTRY6 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
SYSSTUBS_ENTRY7 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
SYSSTUBS_ENTRY8 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
USRSTUBS_ENTRY1 macro ServiceNumber, Name, NumArgs
|
|
LEAF_ENTRY SPUD&Name, _TEXT$00
|
|
mov r10, rcx
|
|
mov eax, 2000h + ServiceNumber
|
|
syscall
|
|
ret
|
|
LEAF_END SPUD&Name, _TEXT$00
|
|
endm
|
|
|
|
USRSTUBS_ENTRY2 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
USRSTUBS_ENTRY3 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
USRSTUBS_ENTRY4 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
USRSTUBS_ENTRY5 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
USRSTUBS_ENTRY6 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
USRSTUBS_ENTRY7 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
USRSTUBS_ENTRY8 macro ServiceNumber, Name, NumArgs
|
|
endm
|
|
|
|
STUBS_BEGIN1 <"System Service Stub Procedures">
|
|
STUBS_BEGIN2 <"System Service Stub Procedures">
|
|
STUBS_BEGIN3 <"System Service Stub Procedures">
|
|
STUBS_BEGIN4 <"System Service Stub Procedures">
|
|
STUBS_BEGIN5 <"System Service Stub Procedures">
|
|
STUBS_BEGIN6 <"System Service Stub Procedures">
|
|
STUBS_BEGIN7 <"System Service Stub Procedures">
|
|
STUBS_BEGIN8 <"System Service Stub Procedures">
|