[NDK][ARM] Stub a few required types for bootlib

This commit is contained in:
Mark Jansen 2019-08-18 19:06:54 +02:00
parent a380a61605
commit 8a86264f14
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -31,6 +31,15 @@ extern "C" {
#define SYNCH_LEVEL DISPATCH_LEVEL #define SYNCH_LEVEL DISPATCH_LEVEL
//
// CPU Vendors
//
typedef enum
{
CPU_UNKNOWN = 0,
} CPU_VENDORS;
// //
// Co-Processor register definitions // Co-Processor register definitions
// //
@ -298,6 +307,15 @@ extern "C" {
// //
#define NUMBER_POOL_LOOKASIDE_LISTS 32 #define NUMBER_POOL_LOOKASIDE_LISTS 32
//
// Structure for CPUID info
//
typedef union _CPU_INFO
{
ULONG Dummy;
} CPU_INFO, *PCPU_INFO;
// //
// ARM VFP State // ARM VFP State
// Based on Windows RT 8.1 symbols and ksarm.h // Based on Windows RT 8.1 symbols and ksarm.h
@ -578,6 +596,14 @@ typedef enum _ARM_DOMAINS
/// "Custom" definition end /// "Custom" definition end
/// ///
typedef struct _DESCRIPTOR
{
USHORT Pad;
USHORT Dummy1;
ULONG Dummy2;
} KDESCRIPTOR, *PKDESCRIPTOR;
// //
// Special Registers Structure (outside of CONTEXT) // Special Registers Structure (outside of CONTEXT)
// Based on Windows RT 8.1 symbols and ksarm.h // Based on Windows RT 8.1 symbols and ksarm.h