mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Fixed up some HAL prototypes and fixed some header problems in regards to upcoming DMA patch I will commit tomorrow.
svn path=/trunk/; revision=11407
This commit is contained in:
parent
eae828b789
commit
cad7a781f2
6 changed files with 46 additions and 29 deletions
|
@ -18,7 +18,7 @@
|
|||
* If not, write to the Free Software Foundation,
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id: videoprt.h,v 1.10 2004/04/08 09:43:55 navaraf Exp $
|
||||
* $Id: videoprt.h,v 1.11 2004/10/23 23:43:23 ion Exp $
|
||||
*/
|
||||
|
||||
#ifndef VIDEOPRT_H
|
||||
|
@ -33,8 +33,16 @@
|
|||
|
||||
int swprintf(wchar_t *buf, const wchar_t *fmt, ...);
|
||||
int vsprintf(char *buf, const char *fmt, va_list args);
|
||||
BOOLEAN STDCALL HalDisableSystemInterrupt(ULONG Vector, ULONG Unknown2);
|
||||
BOOLEAN STDCALL HalEnableSystemInterrupt(ULONG Vector, ULONG Unknown2, ULONG Unknown3);
|
||||
|
||||
BOOLEAN STDCALL
|
||||
HalDisableSystemInterrupt(ULONG Vector,
|
||||
KIRQL Irql);
|
||||
|
||||
BOOLEAN STDCALL
|
||||
HalEnableSystemInterrupt(ULONG Vector,
|
||||
KIRQL Irql,
|
||||
KINTERRUPT_MODE InterruptMode);
|
||||
|
||||
PIMAGE_NT_HEADERS STDCALL RtlImageNtHeader(IN PVOID BaseAddress);
|
||||
|
||||
#define TAG_VIDEO_PORT TAG('V', 'I', 'D', 'P')
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: hal.c,v 1.6 2003/10/20 06:03:28 vizzini Exp $
|
||||
/* $Id: hal.c,v 1.7 2004/10/23 23:43:23 ion Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -165,7 +165,7 @@ BOOLEAN
|
|||
STDCALL
|
||||
HalDisableSystemInterrupt(
|
||||
ULONG Vector,
|
||||
ULONG Unknown2)
|
||||
KIRQL Irql)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
||||
|
@ -186,8 +186,8 @@ BOOLEAN
|
|||
STDCALL
|
||||
HalEnableSystemInterrupt(
|
||||
ULONG Vector,
|
||||
ULONG Unknown2,
|
||||
ULONG Unknown3)
|
||||
KIRQL Irql,
|
||||
KINTERRUPT_MODE InterruptMode)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: irql.c,v 1.16 2004/10/17 15:39:27 hbirr Exp $
|
||||
/* $Id: irql.c,v 1.17 2004/10/23 23:43:23 ion Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -404,8 +404,11 @@ VOID STDCALL HalEndSystemInterrupt (KIRQL Irql, ULONG Unknown2)
|
|||
HalpEndSystemInterrupt(Irql);
|
||||
}
|
||||
|
||||
BOOLEAN STDCALL HalDisableSystemInterrupt (ULONG Vector,
|
||||
ULONG Unknown2)
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
HalDisableSystemInterrupt(
|
||||
ULONG Vector,
|
||||
KIRQL Irql)
|
||||
{
|
||||
ULONG irq;
|
||||
|
||||
|
@ -427,9 +430,12 @@ BOOLEAN STDCALL HalDisableSystemInterrupt (ULONG Vector,
|
|||
}
|
||||
|
||||
|
||||
BOOLEAN STDCALL HalEnableSystemInterrupt (ULONG Vector,
|
||||
ULONG Unknown2,
|
||||
ULONG Unknown3)
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
HalEnableSystemInterrupt(
|
||||
ULONG Vector,
|
||||
KIRQL Irql,
|
||||
KINTERRUPT_MODE InterruptMode)
|
||||
{
|
||||
ULONG irq;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: iotypes.h,v 1.65 2004/10/19 22:47:38 ekohl Exp $
|
||||
/* $Id: iotypes.h,v 1.66 2004/10/23 23:43:23 ion Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -1293,6 +1293,12 @@ typedef struct _IO_ERROR_LOG_MESSAGE
|
|||
|
||||
/* DMA types */
|
||||
|
||||
typedef struct _DMA_ADAPTER {
|
||||
USHORT Version;
|
||||
USHORT Size;
|
||||
struct _DMA_OPERATIONS *DmaOperations;
|
||||
} DMA_ADAPTER, *PDMA_ADAPTER;
|
||||
|
||||
typedef struct _SCATTER_GATHER_ELEMENT {
|
||||
PHYSICAL_ADDRESS Address;
|
||||
ULONG Length;
|
||||
|
@ -1305,15 +1311,6 @@ typedef struct _SCATTER_GATHER_LIST {
|
|||
SCATTER_GATHER_ELEMENT Elements[];
|
||||
} SCATTER_GATHER_LIST, *PSCATTER_GATHER_LIST;
|
||||
|
||||
typedef struct _DMA_OPERATIONS *PDMA_OPERATIONS;
|
||||
|
||||
typedef struct _DMA_ADAPTER {
|
||||
USHORT Version;
|
||||
USHORT Size;
|
||||
PDMA_OPERATIONS DmaOperations;
|
||||
PADAPTER_OBJECT HalAdapter;
|
||||
} DMA_ADAPTER, *PDMA_ADAPTER;
|
||||
|
||||
typedef VOID (*PPUT_DMA_ADAPTER)(
|
||||
PDMA_ADAPTER DmaAdapter
|
||||
);
|
||||
|
@ -1415,8 +1412,7 @@ typedef struct _DMA_OPERATIONS {
|
|||
PREAD_DMA_COUNTER ReadDmaCounter;
|
||||
PGET_SCATTER_GATHER_LIST GetScatterGatherList;
|
||||
PPUT_SCATTER_GATHER_LIST PutScatterGatherList;
|
||||
} DMA_OPERATIONS;
|
||||
|
||||
} DMA_OPERATIONS, *PDMA_OPERATIONS;
|
||||
|
||||
/* Standard bus interface */
|
||||
|
||||
|
|
|
@ -13,12 +13,12 @@ HalBeginSystemInterrupt(ULONG Vector,
|
|||
|
||||
BOOLEAN STDCALL
|
||||
HalDisableSystemInterrupt(ULONG Vector,
|
||||
ULONG Unknown2);
|
||||
KIRQL Irql);
|
||||
|
||||
BOOLEAN STDCALL
|
||||
HalEnableSystemInterrupt(ULONG Vector,
|
||||
ULONG Unknown2,
|
||||
ULONG Unknown3);
|
||||
KIRQL Irql,
|
||||
KINTERRUPT_MODE InterruptMode);
|
||||
|
||||
VOID STDCALL
|
||||
HalEndSystemInterrupt(KIRQL Irql,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: rtl.h,v 1.35 2004/10/22 20:53:11 ekohl Exp $
|
||||
/* $Id: rtl.h,v 1.36 2004/10/23 23:43:23 ion Exp $
|
||||
*
|
||||
*/
|
||||
#ifndef __DDK_RTL_H
|
||||
|
@ -1493,6 +1493,13 @@ RtlInitializeSid (PSID Sid,
|
|||
PSID_IDENTIFIER_AUTHORITY IdentifierAuthority,
|
||||
UCHAR SubAuthorityCount);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlInitializeBitMap(
|
||||
IN PRTL_BITMAP BitMapHeader,
|
||||
IN PULONG BitMapBuffer,
|
||||
IN ULONG SizeOfBitMap);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlInitNlsTables (
|
||||
|
|
Loading…
Reference in a new issue