TianoCore EDK2 master
Loading...
Searching...
No Matches
ArmV7Lib.h File Reference

Go to the source code of this file.

Macros

#define ID_MMFR0_SHARELVL_SHIFT   12
 
#define ID_MMFR0_SHARELVL_MASK   0xf
 
#define ID_MMFR0_SHARELVL_ONE   0
 
#define ID_MMFR0_SHARELVL_TWO   1
 
#define ID_MMFR0_INNERSHR_SHIFT   28
 
#define ID_MMFR0_INNERSHR_MASK   0xf
 
#define ID_MMFR0_OUTERSHR_SHIFT   8
 
#define ID_MMFR0_OUTERSHR_MASK   0xf
 
#define ID_MMFR0_SHR_IMP_UNCACHED   0
 
#define ID_MMFR0_SHR_IMP_HW_COHERENT   1
 
#define ID_MMFR0_SHR_IGNORED   0xf
 

Functions

UINT32 EFIAPI ArmReadIdMmfr4 (VOID)
 
UINTN EFIAPI ArmReadIdPfr1 (VOID)
 

Detailed Description

Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file ArmV7Lib.h.

Macro Definition Documentation

◆ ID_MMFR0_INNERSHR_MASK

#define ID_MMFR0_INNERSHR_MASK   0xf

Definition at line 18 of file ArmV7Lib.h.

◆ ID_MMFR0_INNERSHR_SHIFT

#define ID_MMFR0_INNERSHR_SHIFT   28

Definition at line 17 of file ArmV7Lib.h.

◆ ID_MMFR0_OUTERSHR_MASK

#define ID_MMFR0_OUTERSHR_MASK   0xf

Definition at line 20 of file ArmV7Lib.h.

◆ ID_MMFR0_OUTERSHR_SHIFT

#define ID_MMFR0_OUTERSHR_SHIFT   8

Definition at line 19 of file ArmV7Lib.h.

◆ ID_MMFR0_SHARELVL_MASK

#define ID_MMFR0_SHARELVL_MASK   0xf

Definition at line 13 of file ArmV7Lib.h.

◆ ID_MMFR0_SHARELVL_ONE

#define ID_MMFR0_SHARELVL_ONE   0

Definition at line 14 of file ArmV7Lib.h.

◆ ID_MMFR0_SHARELVL_SHIFT

#define ID_MMFR0_SHARELVL_SHIFT   12

Definition at line 12 of file ArmV7Lib.h.

◆ ID_MMFR0_SHARELVL_TWO

#define ID_MMFR0_SHARELVL_TWO   1

Definition at line 15 of file ArmV7Lib.h.

◆ ID_MMFR0_SHR_IGNORED

#define ID_MMFR0_SHR_IGNORED   0xf

Definition at line 24 of file ArmV7Lib.h.

◆ ID_MMFR0_SHR_IMP_HW_COHERENT

#define ID_MMFR0_SHR_IMP_HW_COHERENT   1

Definition at line 23 of file ArmV7Lib.h.

◆ ID_MMFR0_SHR_IMP_UNCACHED

#define ID_MMFR0_SHR_IMP_UNCACHED   0

Definition at line 22 of file ArmV7Lib.h.

Function Documentation

◆ ArmReadIdMmfr4()

UINT32 EFIAPI ArmReadIdMmfr4 ( VOID  )

Reads the ID_MMFR4 register.

Returns
The contents of the ID_MMFR4 register.