-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0af0f90
commit 37a1dec
Showing
8 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/****************************************************************************** | ||
* | ||
* Name: acqnx.h - OS specific defines, etc. | ||
* | ||
*****************************************************************************/ | ||
|
||
#ifndef __ACQNX_H__ | ||
#define __ACQNX_H__ | ||
|
||
/* QNX uses GCC */ | ||
|
||
#include "acgcc.h" | ||
|
||
#define ACPI_UINTPTR_T uintptr_t | ||
#define ACPI_USE_LOCAL_CACHE | ||
#define ACPI_CAST_PTHREAD_T(x) ((ACPI_THREAD_ID) ACPI_TO_INTEGER (x)) | ||
|
||
/* At present time (QNX 6.6) all supported architectures are 32 bits. */ | ||
#define ACPI_MACHINE_WIDTH 32 | ||
|
||
#define COMPILER_DEPENDENT_INT64 int64_t | ||
#define COMPILER_DEPENDENT_UINT64 uint64_t | ||
|
||
#include <ctype.h> | ||
#include <stdint.h> | ||
#include <sys/neutrino.h> | ||
|
||
#define ACPI_USE_STANDARD_HEADERS | ||
|
||
#define __cli() InterruptDisable(); | ||
#define __sti() InterruptEnable(); | ||
#define __cdecl | ||
|
||
#define ACPI_USE_SYSTEM_CLIBRARY | ||
#define ACPI_USE_NATIVE_DIVIDE | ||
|
||
#endif /* __ACQNX_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters