mirror of https://github.com/tongzx/nt5src
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.
66 lines
2.1 KiB
66 lines
2.1 KiB
//++
|
|
//
|
|
// Copyright (c) 1989 Microsoft Corporation
|
|
//
|
|
// Module Name:
|
|
//
|
|
// sysstubs.s
|
|
//
|
|
// Abstract:
|
|
//
|
|
// This module implements the system service dispatch stub procedures.
|
|
//
|
|
// Author:
|
|
//
|
|
// David N. Cutler (davec) 29-Apr-1989
|
|
//
|
|
// Environment:
|
|
//
|
|
// User or kernel mode.
|
|
//
|
|
// Revision History:
|
|
//
|
|
// Joe Notarangelo 08-Jul-1992
|
|
// alpha version
|
|
//--
|
|
|
|
#include "ksalpha.h"
|
|
|
|
#define STUBS_BEGIN1( t ) .rdata
|
|
#define STUBS_BEGIN2( t ) .align 4
|
|
#define STUBS_BEGIN3( t )
|
|
#define STUBS_BEGIN4( t )
|
|
#define STUBS_BEGIN5( t )
|
|
#define STUBS_BEGIN6( t )
|
|
#define STUBS_BEGIN7( t )
|
|
#define STUBS_BEGIN8( t )
|
|
|
|
#define STUBS_END
|
|
|
|
#define SYSSTUBS_ENTRY1( ServiceNumber, Name, NumArgs ) LEAF_ENTRY(Zw##Name)
|
|
#define SYSSTUBS_ENTRY2( ServiceNumber, Name, NumArgs ) ldiq v0, ServiceNumber
|
|
#define SYSSTUBS_ENTRY3( ServiceNumber, Name, NumArgs ) SYSCALL
|
|
#define SYSSTUBS_ENTRY4( ServiceNumber, Name, NumArgs ) .end Zw##Name ;
|
|
#define SYSSTUBS_ENTRY5( ServiceNumber, Name, NumArgs )
|
|
#define SYSSTUBS_ENTRY6( ServiceNumber, Name, NumArgs )
|
|
#define SYSSTUBS_ENTRY7( ServiceNumber, Name, NumArgs )
|
|
#define SYSSTUBS_ENTRY8( ServiceNumber, Name, NumArgs )
|
|
|
|
#define USRSTUBS_ENTRY1( ServiceNumber, Name, NumArgs) LEAF_ENTRY(Zw##Name)
|
|
#define USRSTUBS_ENTRY2( ServiceNumber, Name, NumArgs) ALTERNATE_ENTRY(Nt##Name)
|
|
#define USRSTUBS_ENTRY3( ServiceNumber, Name, NumArgs) ldiq v0, ServiceNumber
|
|
#define USRSTUBS_ENTRY4( ServiceNumber, Name, NumArgs) SYSCALL
|
|
#define USRSTUBS_ENTRY5( ServiceNumber, Name, NumArgs) .end Zw##Name ;
|
|
#define USRSTUBS_ENTRY6( ServiceNumber, Name, NumArgs)
|
|
#define USRSTUBS_ENTRY7( ServiceNumber, Name, NumArgs)
|
|
#define USRSTUBS_ENTRY8( ServiceNumber, Name, NumArgs)
|
|
|
|
|
|
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" )
|