ReactOS 0.4.15-dev-8135-g1bc6c90
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{
40}
41
42typedef struct _PAGE_TABLE_ARM
43{
47
48typedef struct _PAGE_DIRECTORY_ARM
49{
50 union
51 {
54 };
57
58// FIXME: sync with NDK
59typedef enum _ARM_DOMAIN
60{
66
67#define PDE_SHIFT 20
@ Reboot
Definition: bl.h:891
PARM_BOARD_CONFIGURATION_BLOCK ArmBoardBlock
Definition: macharm.c:16
_ARM_DOMAIN
Definition: hardware.h:60
@ ManagerDomain
Definition: hardware.h:64
@ ClientDomain
Definition: hardware.h:62
@ FaultDomain
Definition: hardware.h:61
@ InvalidDomain
Definition: hardware.h:63
ULONG FirstLevelIcacheFillSize
Definition: macharm.c:28
ULONG gFileSysBuffer
Definition: hardware.h:32
struct _PAGE_TABLE_ARM * PPAGE_TABLE_ARM
struct _PAGE_DIRECTORY_ARM PAGE_DIRECTORY_ARM
ULONG SecondLevelDcacheSize
Definition: macharm.c:29
ULONG FirstLevelDcacheFillSize
Definition: macharm.c:26
struct _PAGE_TABLE_ARM PAGE_TABLE_ARM
ULONG gDiskReadBuffer
Definition: macharm.c:17
ULONG FirstLevelIcacheSize
Definition: macharm.c:27
ULONG SecondLevelIcacheSize
Definition: macharm.c:31
ULONG SecondLevelIcacheFillSize
Definition: macharm.c:32
enum _ARM_DOMAIN ARM_DOMAIN
ULONG FirstLevelDcacheSize
Definition: macharm.c:25
ULONG SecondLevelDcacheFillSize
Definition: macharm.c:30
struct _PAGE_DIRECTORY_ARM * PPAGE_DIRECTORY_ARM
#define PAGE_SIZE
Definition: env_spec_w32.h:49
NTSYSAPI void WINAPI DbgBreakPoint(void)
#define C_ASSERT(e)
Definition: intsafe.h:73
HARDWARE_LARGE_PTE_ARMV6 Pte[4096]
Definition: hardware.h:53
HARDWARE_PDE_ARMV6 Pde[4096]
Definition: hardware.h:52
HARDWARE_PTE_ARMV6 Pte[1024]
Definition: hardware.h:44
uint32_t ULONG
Definition: typedefs.h:59
#define FORCEINLINE
Definition: wdftypes.h:67