Use a generic .spec file, instead of a .def file per architecture

svn path=/trunk/; revision=32525
This commit is contained in:
Hervé Poussineau 2008-02-28 14:13:07 +00:00
parent a7fe55dbe5
commit 36f0da37ea
4 changed files with 23 additions and 49 deletions

View file

@ -1,10 +1,11 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="kdcom" type="kernelmodedll" entrypoint="DriverEntry@8" installbase="system32/drivers" installname="kdcom.dll">
<importlibrary definition="kdcom_$(ARCH).def"></importlibrary>
<importlibrary definition="kdcom.spec.def"></importlibrary>
<bootstrap installbase="$(CDOUTPUT)" nameoncd="kdcom.dll" />
<include base="kdcom">.</include>
<library>ntoskrnl</library>
<library>hal</library>
<file>kdbg.c</file>
<file>kdcom.spec</file>
</module>

View file

@ -0,0 +1,21 @@
; Old KD
@ stdcall KdPortGetByte(ptr)
@ stdcall KdPortGetByteEx(ptr ptr)
@ stdcall KdPortInitialize(ptr long long)
@ stdcall KdPortInitializeEx(ptr long long)
@ stdcall KdPortPollByte(ptr)
@ stdcall KdPortPollByteEx(ptr ptr)
@ stdcall KdPortPutByte(long)
@ stdcall KdPortPutByteEx(ptr long)
@ stdcall KdPortRestore()
@ stdcall KdPortSave()
@ stdcall KdPortDisableInterrupts()
@ stdcall KdPortEnableInterrupts()
; New KD
@ stdcall KdDebuggerInitialize0(ptr)
@ stdcall KdDebuggerInitialize1(ptr)
@ stdcall KdSave(long)
@ stdcall KdRestore(long)
@ stdcall KdReceivePacket(long ptr ptr ptr ptr)
@ stdcall KdSendPacket(long ptr ptr ptr)

View file

@ -1,24 +0,0 @@
LIBRARY kdcom.dll
EXPORTS
; Old KD
KdPortGetByte
KdPortGetByteEx
KdPortInitialize
KdPortInitializeEx
KdPortPollByte
KdPortPollByteEx
KdPortPutByte
KdPortPutByteEx
KdPortRestore
KdPortSave
KdPortDisableInterrupts
KdPortEnableInterrupts
; New KD
KdDebuggerInitialize0
KdDebuggerInitialize1
KdSave
KdRestore
KdReceivePacket
KdSendPacket

View file

@ -1,24 +0,0 @@
LIBRARY kdcom.dll
EXPORTS
; Old KD
KdPortGetByte@4
KdPortGetByteEx@8
KdPortInitialize@12
KdPortInitializeEx@12
KdPortPollByte@4
KdPortPollByteEx@8
KdPortPutByte@4
KdPortPutByteEx@8
KdPortRestore@0
KdPortSave@0
KdPortDisableInterrupts@0
KdPortEnableInterrupts@0
; New KD
KdDebuggerInitialize0@4
KdDebuggerInitialize1@4
KdSave@4
KdRestore@4
KdReceivePacket@20
KdSendPacket@16