mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:45:50 +00:00
- Get rid of DECLSPEC_EXPORT from DDK
- "Isolate Hal* #defines, which are absent in WDK, they should not be used in kernel development." No, exactly, and they shouldn't be used in Xbox HAL either svn path=/trunk/; revision=42807
This commit is contained in:
parent
ce5adcdab2
commit
4705fbc38a
3 changed files with 5 additions and 11 deletions
|
@ -305,6 +305,9 @@ HalpXboxIoWritePartitionTable(IN PDEVICE_OBJECT DeviceObject,
|
||||||
}
|
}
|
||||||
|
|
||||||
#define HalExamineMBR HALDISPATCH->HalExamineMBR
|
#define HalExamineMBR HALDISPATCH->HalExamineMBR
|
||||||
|
#define HalIoReadPartitionTable HALDISPATCH->HalIoReadPartitionTable
|
||||||
|
#define HalIoSetPartitionInformation HALDISPATCH->HalIoSetPartitionInformation
|
||||||
|
#define HalIoWritePartitionTable HALDISPATCH->HalIoWritePartitionTable
|
||||||
|
|
||||||
void
|
void
|
||||||
HalpXboxInitPartIo(void)
|
HalpXboxInitPartIo(void)
|
||||||
|
|
|
@ -193,7 +193,6 @@ typedef unsigned long POINTER_64; // FIXME! HACK!!!
|
||||||
|
|
||||||
// Done the same way as in windef.h for now
|
// Done the same way as in windef.h for now
|
||||||
#define DECLSPEC_IMPORT __declspec(dllimport)
|
#define DECLSPEC_IMPORT __declspec(dllimport)
|
||||||
#define DECLSPEC_EXPORT __declspec(dllexport)
|
|
||||||
#define DECLSPEC_NORETURN __declspec(noreturn)
|
#define DECLSPEC_NORETURN __declspec(noreturn)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2855,7 +2855,7 @@ typedef struct {
|
||||||
extern NTSYSAPI PHAL_DISPATCH HalDispatchTable;
|
extern NTSYSAPI PHAL_DISPATCH HalDispatchTable;
|
||||||
#define HALDISPATCH ((PHAL_DISPATCH)&HalDispatchTable)
|
#define HALDISPATCH ((PHAL_DISPATCH)&HalDispatchTable)
|
||||||
#else
|
#else
|
||||||
extern DECLSPEC_EXPORT HAL_DISPATCH HalDispatchTable;
|
extern __declspec(dllexport) HAL_DISPATCH HalDispatchTable;
|
||||||
#define HALDISPATCH (&HalDispatchTable)
|
#define HALDISPATCH (&HalDispatchTable)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -2877,14 +2877,6 @@ extern DECLSPEC_EXPORT HAL_DISPATCH HalDispatchTable;
|
||||||
#define HalEndOfBoot HALDISPATCH->HalEndOfBoot
|
#define HalEndOfBoot HALDISPATCH->HalEndOfBoot
|
||||||
#define HalMirrorVerify HALDISPATCH->HalMirrorVerify
|
#define HalMirrorVerify HALDISPATCH->HalMirrorVerify
|
||||||
|
|
||||||
#ifndef _NTOSKRNL_
|
|
||||||
#define HalDeviceControl HALDISPATCH->HalDeviceControl
|
|
||||||
#define HalIoAssignDriveLetters HALDISPATCH->HalIoAssignDriveLetters
|
|
||||||
#define HalIoReadPartitionTable HALDISPATCH->HalIoReadPartitionTable
|
|
||||||
#define HalIoSetPartitionInformation HALDISPATCH->HalIoSetPartitionInformation
|
|
||||||
#define HalIoWritePartitionTable HALDISPATCH->HalIoWritePartitionTable
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef enum _FILE_INFORMATION_CLASS {
|
typedef enum _FILE_INFORMATION_CLASS {
|
||||||
FileDirectoryInformation = 1,
|
FileDirectoryInformation = 1,
|
||||||
FileFullDirectoryInformation,
|
FileFullDirectoryInformation,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue