mirror of https://github.com/lianthony/NT4.0
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.
61 lines
1.7 KiB
61 lines
1.7 KiB
4 // This is the number of in register arguments
|
|
//++
|
|
//
|
|
// Copyright (c) 1989 Microsoft Corporation
|
|
//
|
|
// Module Name:
|
|
//
|
|
// systable.s
|
|
//
|
|
// Abstract:
|
|
//
|
|
// This module implements the system service dispatch table.
|
|
//
|
|
// Author:
|
|
//
|
|
// David N. Cutler (davec) 29-Apr-1989
|
|
//
|
|
// Environment:
|
|
//
|
|
// Kernel mode only.
|
|
//
|
|
// Revision History:
|
|
//
|
|
//--
|
|
|
|
//
|
|
// To add a system service simply add the name of the service to the below
|
|
// table. If the system service has in memory arguments, then immediately
|
|
// follow the name of the serice with a comma and following that the number
|
|
// of bytes of in memory arguments, e.g. CreateObject,40.
|
|
//
|
|
|
|
#define TABLE_BEGIN1( t ) .rdata
|
|
#define TABLE_BEGIN2( t ) .align 4
|
|
#define TABLE_BEGIN3( t ) .globl KiServiceTable
|
|
#define TABLE_BEGIN4( t ) KiServiceTable:
|
|
#define TABLE_BEGIN5( t )
|
|
#define TABLE_BEGIN6( t )
|
|
#define TABLE_BEGIN7( t )
|
|
#define TABLE_BEGIN8( t )
|
|
|
|
#define TABLE_ENTRY( l,bias,numargs ) .word Nt##l+bias
|
|
|
|
#define TABLE_END( n ) .sdata ; .globl KiServiceLimit ; KiServiceLimit: .word n + 1
|
|
|
|
#define ARGTBL_BEGIN .rdata ; .align 4 ; .globl KiArgumentTable ; KiArgumentTable:
|
|
|
|
#define ARGTBL_ENTRY( e0,e1,e2,e3,e4,e5,e6,e7 ) .byte e0,e1,e2,e3,e4,e5,e6,e7
|
|
|
|
#define ARGTBL_END
|
|
|
|
|
|
TABLE_BEGIN1( "System Service Dispatch Table" )
|
|
TABLE_BEGIN2( "System Service Dispatch Table" )
|
|
TABLE_BEGIN3( "System Service Dispatch Table" )
|
|
TABLE_BEGIN4( "System Service Dispatch Table" )
|
|
TABLE_BEGIN5( "System Service Dispatch Table" )
|
|
TABLE_BEGIN6( "System Service Dispatch Table" )
|
|
TABLE_BEGIN7( "System Service Dispatch Table" )
|
|
TABLE_BEGIN8( "System Service Dispatch Table" )
|
|
|