mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[HAL] Define _NTHALDLL_ for WDK header compatibility, get rif of DECLSPEC_IMPORT header hack [NDK/RTL] Fix some Rtl prototypes (PCHAR -> PCCH) [NDK] Fix ZwOpenEvent prototype [NTIFS] Fix definition of NTKERNELAPI, move some types, fix PRTL_ALLOCATE_STRING_ROUTINE, PRTL_REALLOCATE_STRING_ROUTINE, PRTL_FREE_STRING_ROUTINE, define CTL_CODE, DEVICE_TYPE_FROM_CTL_CODE, FILE_ANY_ACCESS, FILE_SPECIAL_ACCESS, FILE_READ_ACCESS, FILE_WRITE_ACCESS identical to wdm.h, remove duplicate RtlGenerate8dot3Name, remove ZwOpenEvent [NTPOAPI] Guard some types with #ifndef _PO_DDK_ [WDM] Create reactos compatible definition of NTKERNELAPI, add KDPC_WATCHDOG_INFORMATION, BATTERY_REPORTING_SCALE, fix ALIGN_UP_POINTER_BY, guard some types with #ifndef _PO_DDK_, update POWER_INFORMATION_LEVEL, make some FILE_DEVICE_ definitions identical to ntifs.h, fix HalAllocateCommonBuffer svn path=/branches/header-work/; revision=46050
53 lines
1.1 KiB
C
53 lines
1.1 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Hardware Abstraction Layer
|
|
* FILE: hal/halx86/include/hal.h
|
|
* PURPOSE: HAL Header
|
|
* PROGRAMMER: Alex Ionescu ([email protected])
|
|
*/
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
/* C Headers */
|
|
#include <stdio.h>
|
|
|
|
/* WDK HAL Compilation hack */
|
|
#include <excpt.h>
|
|
#include <ntdef.h>
|
|
#ifndef _MINIHAL_
|
|
#undef NTSYSAPI
|
|
#define NTSYSAPI __declspec(dllimport)
|
|
#else
|
|
#undef NTSYSAPI
|
|
#define NTSYSAPI
|
|
#endif
|
|
|
|
/* IFS/DDK/NDK Headers */
|
|
#include <ntifs.h>
|
|
#include <bugcodes.h>
|
|
#include <ntdddisk.h>
|
|
#include <arc/arc.h>
|
|
#include <ntndk.h>
|
|
|
|
/* Internal kernel headers */
|
|
#include "internal/pci.h"
|
|
#define KeGetCurrentThread _KeGetCurrentThread
|
|
#include <internal/i386/ke.h>
|
|
#include <internal/i386/mm.h>
|
|
#ifdef _M_AMD64
|
|
#include "internal/amd64/intrin_i.h"
|
|
#else
|
|
#include "internal/i386/intrin_i.h"
|
|
#endif
|
|
|
|
/* Internal HAL Headers */
|
|
#include "apic.h"
|
|
#include "bus.h"
|
|
#include "halirq.h"
|
|
#include "haldma.h"
|
|
#include "halp.h"
|
|
#include "mps.h"
|
|
#include "ioapic.h"
|
|
|
|
/* EOF */
|