Fix comments in ksarm.h -- they must be C89.

svn path=/trunk/; revision=32324
This commit is contained in:
ReactOS Portable Systems Group 2008-02-12 16:32:13 +00:00
parent e4d660e795
commit f6587f9c6b
2 changed files with 19 additions and 18 deletions

View file

@ -5,6 +5,13 @@
#pragma GCC system_header #pragma GCC system_header
#endif #endif
//
//Lockdown TLB entries
//
#define PCR_ENTRY, 0
#define PDR_ENTRY, 2
#define KeArchHaltProcessor() KeArmHaltProcessor() #define KeArchHaltProcessor() KeArmHaltProcessor()
typedef union _ARM_TTB_REGISTER typedef union _ARM_TTB_REGISTER

View file

@ -1,31 +1,25 @@
// /*
// CPSR Values * CPSR Values
// */
.equ CPSR_IRQ_DISABLE, 0x80 .equ CPSR_IRQ_DISABLE, 0x80
.equ CPSR_FIQ_DISABLE, 0x40 .equ CPSR_FIQ_DISABLE, 0x40
.equ CPSR_THUMB_ENABLE, 0x20 .equ CPSR_THUMB_ENABLE, 0x20
// /*
// C1 Register Values * C1 Register Values
// */
.equ C1_MMU_CONTROL, 0x01 .equ C1_MMU_CONTROL, 0x01
.equ C1_ALIGNMENT_CONTROL, 0x02 .equ C1_ALIGNMENT_CONTROL, 0x02
.equ C1_DCACHE_CONTROL, 0x04 .equ C1_DCACHE_CONTROL, 0x04
.equ C1_ICACHE_CONTROL, 0x1000 .equ C1_ICACHE_CONTROL, 0x1000
.equ C1_VECTOR_CONTROL, 0x2000 .equ C1_VECTOR_CONTROL, 0x2000
// /*
// Loader Parameter Block Offsets * Loader Parameter Block Offsets
// */
.equ LpbKernelStack, 0x18 .equ LpbKernelStack, 0x18
// /*
// PCR * PCR
// */
.equ KiPcr, 0xFFFFF000 .equ KiPcr, 0xFFFFF000
//
// Lockdown TLB entries
//
.equ PCR_ENTRY 0
.equ PDR_ENTRY 2