ReactOS  0.4.13-dev-249-gcba1a2f
hardware.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Boot Loader
3  * LICENSE: BSD - See COPYING.ARM in the top level directory
4  * FILE: boot/freeldr/freeldr/include/arch/arm/hardware.h
5  * PURPOSE: Header for ARC definitions (to be cleaned up)
6  * PROGRAMMERS: ReactOS Portable Systems Group
7  */
8 
9 #pragma once
10 
11 #ifndef __REGISTRY_H
12 //#include "../../reactos/registry.h"
13 #endif
14 
15 #include "../../../../../armllb/inc/osloader.h"
16 #include "../../../../../armllb/inc/machtype.h"
17 
18 #define FREELDR_BASE 0x0001F000
19 #define FREELDR_PE_BASE 0x0001F000
20 #define MAX_FREELDR_PE_SIZE 0xFFFFFF
21 
31 
33 #define DiskReadBuffer ((PVOID)gDiskReadBuffer)
34 
35 #define DriveMapGetBiosDriveNumber(DeviceName) 0
36 
38 {
39  DbgBreakPoint();
40 }
41 
42 typedef struct _PAGE_TABLE_ARM
43 {
47 
48 typedef struct _PAGE_DIRECTORY_ARM
49 {
50  union
51  {
54  };
56 C_ASSERT(sizeof(PAGE_DIRECTORY_ARM) == (4 * PAGE_SIZE));
57 
58 // FIXME: sync with NDK
59 typedef enum _ARM_DOMAIN
60 {
65 } ARM_DOMAIN;
66 
67 #define PDE_SHIFT 20
HARDWARE_PDE_ARMV6 Pde[4096]
Definition: hardware.h:52
ULONG SecondLevelDcacheSize
Definition: macharm.c:27
ULONG gFileSysBuffer
Definition: macharm.c:17
HARDWARE_LARGE_PTE_ARMV6 Pte[4096]
Definition: hardware.h:53
FORCEINLINE VOID Reboot(VOID)
Definition: hardware.h:37
struct _PAGE_DIRECTORY_ARM * PPAGE_DIRECTORY_ARM
void DbgBreakPoint()
Definition: mach.c:558
ULONG FirstLevelIcacheFillSize
Definition: macharm.c:26
ULONG FirstLevelDcacheFillSize
Definition: macharm.c:24
PARM_BOARD_CONFIGURATION_BLOCK ArmBoardBlock
Definition: macharm.c:16
#define FORCEINLINE
Definition: ntbasedef.h:221
_ARM_DOMAIN
Definition: hardware.h:59
struct _PAGE_TABLE_ARM * PPAGE_TABLE_ARM
struct _PAGE_TABLE_ARM PAGE_TABLE_ARM
ULONG FirstLevelDcacheSize
Definition: macharm.c:23
struct _PAGE_DIRECTORY_ARM PAGE_DIRECTORY_ARM
C_ASSERT(sizeof(PAGE_TABLE_ARM)==PAGE_SIZE)
ULONG SecondLevelDcacheFillSize
Definition: macharm.c:28
#define PAGE_SIZE
Definition: env_spec_w32.h:49
HARDWARE_PTE_ARMV6 Pte[1024]
Definition: hardware.h:44
ULONG SecondLevelIcacheSize
Definition: macharm.c:29
unsigned int ULONG
Definition: retypes.h:1
ULONG gDiskReadBuffer
Definition: macharm.c:17
enum _ARM_DOMAIN ARM_DOMAIN
ULONG SecondLevelIcacheFillSize
Definition: macharm.c:30
ULONG FirstLevelIcacheSize
Definition: macharm.c:25