Altera HWLIB  16.0
The Altera HW Manager API Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
MMU Management Data Structures - First Level Translation Table

Description

The data structure declarations in this section support direct access to the short-descriptor first-level table entries and their constituent fields.

These data structures are an alternative method to create descriptor entry values that are passed to a first level translation table contruction function such as alt_mmu_ttb1_desc_set().

Data Structures

struct  ALT_MMU_TTB1_FAULT_s
 
union  ALT_MMU_TTB1_FAULT_ENTRY_u
 
struct  ALT_MMU_TTB1_PAGE_TABLE_s
 
union  ALT_MMU_TTB1_PAGE_TABLE_ENTRY_u
 
struct  ALT_MMU_TTB1_SECTION_s
 
union  ALT_MMU_TTB1_SECTION_ENTRY_u
 
struct  ALT_MMU_TTB1_SUPERSECTION_s
 
union  ALT_MMU_TTB1_SUPERSECTION_ENTRY_u
 

Typedefs

typedef struct ALT_MMU_TTB1_FAULT_s ALT_MMU_TTB1_FAULT_t
 
typedef union
ALT_MMU_TTB1_FAULT_ENTRY_u 
ALT_MMU_TTB1_FAULT_ENTRY_t
 
typedef struct
ALT_MMU_TTB1_PAGE_TABLE_s 
ALT_MMU_TTB1_PAGE_TABLE_t
 
typedef union
ALT_MMU_TTB1_PAGE_TABLE_ENTRY_u 
ALT_MMU_TTB1_PAGE_TABLE_ENTRY_t
 
typedef struct
ALT_MMU_TTB1_SECTION_s 
ALT_MMU_TTB1_SECTION_t
 
typedef union
ALT_MMU_TTB1_SECTION_ENTRY_u 
ALT_MMU_TTB1_SECTION_ENTRY_t
 
typedef struct
ALT_MMU_TTB1_SUPERSECTION_s 
ALT_MMU_TTB1_SUPERSECTION_t
 
typedef union
ALT_MMU_TTB1_SUPERSECTION_ENTRY_u 
ALT_MMU_TTB1_SUPERSECTION_ENTRY_t
 

Data Structure Documentation

struct ALT_MMU_TTB1_FAULT_s

This type defines the structure of a First Level Translation Table Fault Entry.

union ALT_MMU_TTB1_FAULT_ENTRY_u

This type defines a union for accessing a First Level Translation Table Fault Entry by fields or aggregate raw entry value.

Data Fields
ALT_MMU_TTB1_FAULT_t fld access to individual entry data fields
uint32_t raw access to aggregate entry value
struct ALT_MMU_TTB1_PAGE_TABLE_s

This type defines the structure of a First Level Translation Table Page Table Entry.

Data Fields
uint32_t type: 2 Descriptor type field
uint32_t __pad0__: 1
uint32_t ns: 1 The Non-Secure [NS] bit. This bit specifies whether the translated PA is in the Secure or Non-Secure address map.
uint32_t __pad1__: 1
uint32_t domain: 4 Domain field. Page table descriptor applies to all entries in the corresponding second-level translation table.
uint32_t __pad2__: 1
uint32_t base_addr: 22 Page Table Base Address
union ALT_MMU_TTB1_PAGE_TABLE_ENTRY_u

This type defines a union for accessing a First Level Translation Table Page Table Entry by fields or aggregate raw entry value.

Data Fields
ALT_MMU_TTB1_PAGE_TABLE_t fld access to individual entry data fields
uint32_t raw access to aggregate entry value
struct ALT_MMU_TTB1_SECTION_s

This type defines the structure of a First Level Translation Table Section Entry.

Data Fields
uint32_t type: 2 Descriptor type field
uint32_t b: 1 The [B] field of the memory region attributes. [B] is an arcane reference to Bufferable attribute.
uint32_t c: 1 The [C] field of the memory region attributes. [C] is an arcane reference to Cacheable attribute.
uint32_t xn: 1 The Execute-Never bit. Determines whether the processor can execute software from the addressed region.
uint32_t domain: 4 Domain field.
uint32_t __pad0__: 1
uint32_t ap_1_0: 2 Access Permissions AP[1:0] bits.
uint32_t tex: 3 The [TEX] field of the memory region attributes. [TEX] is an arcane reference to Type EXtension attribute.
uint32_t ap_2: 1 Access Permissions AP[2] bits.
uint32_t s: 1 The Shareable bit. Determines whether the addressed region is shareable memory.
uint32_t ng: 1 The not global bit. Determines how the translation is marked in the TLB.
uint32_t __pad1__: 1
uint32_t ns: 1 The Non-Secure [NS] bit. This bit specifies whether the translated PA is in the Secure or Non-Secure address map.
uint32_t base_addr: 12 Section Base Address
union ALT_MMU_TTB1_SECTION_ENTRY_u

This type defines a union for accessing a First Level Translation Table Section Entry by fields or aggregate raw entry value.

Data Fields
ALT_MMU_TTB1_SECTION_t fld access to individual entry data fields
uint32_t raw access to aggregate entry value
struct ALT_MMU_TTB1_SUPERSECTION_s

This type defines the structure of a First Level Translation Table Supersection Entry.

Data Fields
uint32_t type: 2 Descriptor type field
uint32_t b: 1 The [B] field of the memory region attributes. [B] is an arcane reference to Bufferable attribute.
uint32_t c: 1 The [C] field of the memory region attributes. [C] is an arcane reference to Cacheable attribute.
uint32_t xn: 1 The Execute-Never bit. Determines whether the processor can execute software from the addressed region.
uint32_t domain: 4 Domain field.
uint32_t __pad0__: 1
uint32_t ap_1_0: 2 Access Permissions AP[1:0] bits.
uint32_t tex: 3 The [TEX] field of the memory region attributes. [TEX] is an arcane reference to Type EXtension attribute.
uint32_t ap_2: 1 Access Permissions AP[2] bits.
uint32_t s: 1 The Shareable bit. Determines whether the addressed region is shareable memory.
uint32_t ng: 1 The not global bit. Determines how the translation is marked in the TLB.
uint32_t __pad1__: 1
uint32_t ns: 1 The Non-Secure [NS] bit. This bit specifies whether the translated PA is in the Secure or Non-Secure address map.
uint32_t __pad2__: 4
uint32_t base_addr: 8 Supersection Base Address
union ALT_MMU_TTB1_SUPERSECTION_ENTRY_u

This type defines a union for accessing a First Level Translation Table Supersection Entry by fields or aggregate raw entry value.

Data Fields
ALT_MMU_TTB1_SUPERSECTION_t fld access to individual entry data fields
uint32_t raw access to aggregate entry value

Typedef Documentation

This type defines the structure of a First Level Translation Table Fault Entry.

This type defines a union for accessing a First Level Translation Table Fault Entry by fields or aggregate raw entry value.

This type defines the structure of a First Level Translation Table Page Table Entry.

This type defines a union for accessing a First Level Translation Table Page Table Entry by fields or aggregate raw entry value.

This type defines the structure of a First Level Translation Table Section Entry.

This type defines a union for accessing a First Level Translation Table Section Entry by fields or aggregate raw entry value.

This type defines the structure of a First Level Translation Table Supersection Entry.

This type defines a union for accessing a First Level Translation Table Supersection Entry by fields or aggregate raw entry value.