Windows2000/private/ntos/ke/mips/services.stb

65 lines
2.0 KiB
Plaintext
Raw Normal View History

2001-01-01 00:00:00 +01:00
//++
//
// 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:
//
//--
#include "ksmips.h"
#define STUBS_BEGIN1( t )
#define STUBS_BEGIN2( t )
#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 ) SYSTEM_ENTRY(Zw##Name)
#define SYSSTUBS_ENTRY2( ServiceNumber, Name, NumArgs ) li 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) SYSTEM_ENTRY(Zw##Name)
#define USRSTUBS_ENTRY2( ServiceNumber, Name, NumArgs) ALTERNATE_ENTRY(Nt##Name)
#define USRSTUBS_ENTRY3( ServiceNumber, Name, NumArgs) li 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" )