FreeNOS
ARMControl.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015 Niek Linnenbank
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef __ARM_CONTROL_H
19#define __ARM_CONTROL_H
20
21#include <Types.h>
22#include <Macros.h>
23
190
197#endif /* __ARM_CONTROL_H */
u32 flags
Definition IntelACPI.h:3
ARM System Control Coprocessor (CP15).
Definition ARMControl.h:48
void set(SystemControlFlags flags)
Set system control flags in CP15.
void write(Register reg, u32 value)
Write register to the CP15.
DomainControlFlags
Domain Control flags.
Definition ARMControl.h:112
ARMControl()
Constructor.
u32 read(Register reg) const
Read a register from the CP15.
AuxControlFlags
Aux Control flags.
Definition ARMControl.h:103
@ DisablePageColoring
Definition ARMControl.h:104
Register
System Control Registers.
Definition ARMControl.h:55
@ InstructionFaultAddress
Definition ARMControl.h:72
@ FlushPrefetchBuffer
Definition ARMControl.h:66
@ DataFaultAddress
Definition ARMControl.h:74
@ InstructionFaultStatus
Definition ARMControl.h:73
@ TranslationTable0
Definition ARMControl.h:61
@ DataFaultStatus
Definition ARMControl.h:75
@ TranslationTable1
Definition ARMControl.h:62
@ UnifiedTLBClear
Definition ARMControl.h:70
@ TranslationTableCtrl
Definition ARMControl.h:63
@ SystemFrequency
Definition ARMControl.h:76
@ InstructionCacheClear
Definition ARMControl.h:67
@ InstructionTLBClear
Definition ARMControl.h:68
virtual ~ARMControl()
Destructor.
void unset(SystemControlFlags flags)
Unset system control flags in CP15.
@ AccessPermissions
Definition ARMControl.h:88
@ BranchPrediction
Definition ARMControl.h:89
@ AlignmentFaults
Definition ARMControl.h:91
@ AlignmentCorrect
Definition ARMControl.h:90
@ InstructionCache
Definition ARMControl.h:85
unsigned int u32
Unsigned 32-bit number.
Definition Types.h:53
System Control flags.