mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
did I miss a "the tree isn't supposed to build anymore" memo or what? fixes for compilation with GCC 3.3.3
svn path=/trunk/; revision=15883
This commit is contained in:
parent
5347091d15
commit
e3502f710b
5 changed files with 8 additions and 25 deletions
|
@ -45,9 +45,11 @@
|
||||||
/* BSD style release date */
|
/* BSD style release date */
|
||||||
#define BPF_RELEASE 199606
|
#define BPF_RELEASE 199606
|
||||||
|
|
||||||
|
#ifndef _BSDTYPES_DEFINED
|
||||||
typedef UCHAR u_char;
|
typedef UCHAR u_char;
|
||||||
typedef USHORT u_short;
|
typedef USHORT u_short;
|
||||||
typedef UINT u_int;
|
typedef UINT u_int;
|
||||||
|
#endif
|
||||||
typedef LONG bpf_int32;
|
typedef LONG bpf_int32;
|
||||||
typedef ULONG bpf_u_int32;
|
typedef ULONG bpf_u_int32;
|
||||||
typedef ULONG u_int32;
|
typedef ULONG u_int32;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#define ADNS_INTERNAL_H_INCLUDED
|
#define ADNS_INTERNAL_H_INCLUDED
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
typedef unsigned char byte;
|
/*typedef unsigned char byte;*/ /* FIXME: horrible kludge to avoid conflicts with an SDK type */
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -108,24 +108,20 @@ typedef enum _KD_CONTINUE_TYPE
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
(STDCALL*PKDP_INIT_ROUTINE)(struct _KD_DISPATCH_TABLE *DispatchTable,
|
||||||
(*PKDP_INIT_ROUTINE)(struct _KD_DISPATCH_TABLE *DispatchTable,
|
|
||||||
ULONG BootPhase);
|
ULONG BootPhase);
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
(STDCALL*PKDP_PRINT_ROUTINE)(PCH String);
|
||||||
(*PKDP_PRINT_ROUTINE)(PCH String);
|
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
(STDCALL*PKDP_PROMPT_ROUTINE)(PCH String);
|
||||||
(*PKDP_PROMPT_ROUTINE)(PCH String);
|
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
KD_CONTINUE_TYPE
|
KD_CONTINUE_TYPE
|
||||||
STDCALL
|
(STDCALL*PKDP_EXCEPTION_ROUTINE)(PEXCEPTION_RECORD ExceptionRecord,
|
||||||
(*PKDP_EXCEPTION_ROUTINE)(PEXCEPTION_RECORD ExceptionRecord,
|
|
||||||
PCONTEXT Context,
|
PCONTEXT Context,
|
||||||
PKTRAP_FRAME TrapFrame);
|
PKTRAP_FRAME TrapFrame);
|
||||||
|
|
||||||
|
|
|
@ -36,11 +36,10 @@
|
||||||
#ifndef __USE_W32API
|
#ifndef __USE_W32API
|
||||||
|
|
||||||
typedef struct _KPROCESS *PKPROCESS;
|
typedef struct _KPROCESS *PKPROCESS;
|
||||||
|
typedef struct _DISPATCHER_HEADER *PDISPATCHER_HEADER;
|
||||||
|
|
||||||
#endif /* __USE_W32API */
|
#endif /* __USE_W32API */
|
||||||
|
|
||||||
typedef struct _DISPATCHER_HEADER *PDISPATCHER_HEADER;
|
|
||||||
|
|
||||||
typedef struct _HARDWARE_PTE_X86 {
|
typedef struct _HARDWARE_PTE_X86 {
|
||||||
ULONG Valid : 1;
|
ULONG Valid : 1;
|
||||||
ULONG Write : 1;
|
ULONG Write : 1;
|
||||||
|
|
|
@ -132,20 +132,6 @@ typedef struct _CPU_REGISTER
|
||||||
|
|
||||||
#define EIP_REGNO 8
|
#define EIP_REGNO 8
|
||||||
|
|
||||||
typedef
|
|
||||||
VOID
|
|
||||||
STDCALL_FUNC
|
|
||||||
(*PKSYSTEM_ROUTINE)(PKSTART_ROUTINE StartRoutine,
|
|
||||||
PVOID StartContext);
|
|
||||||
|
|
||||||
VOID
|
|
||||||
STDCALL
|
|
||||||
KiThreadStartup(PKSYSTEM_ROUTINE SystemRoutine,
|
|
||||||
PKSTART_ROUTINE StartRoutine,
|
|
||||||
PVOID StartContext,
|
|
||||||
BOOLEAN UserThread,
|
|
||||||
KTRAP_FRAME TrapFrame);
|
|
||||||
|
|
||||||
static CPU_REGISTER GspRegisters[NUMREGS] =
|
static CPU_REGISTER GspRegisters[NUMREGS] =
|
||||||
{
|
{
|
||||||
{ 4, FIELD_OFFSET (KTRAP_FRAME_X86, Eax), FIELD_OFFSET (CONTEXT, Eax), TRUE },
|
{ 4, FIELD_OFFSET (KTRAP_FRAME_X86, Eax), FIELD_OFFSET (CONTEXT, Eax), TRUE },
|
||||||
|
|
Loading…
Reference in a new issue