Pip
Architecture-dependent parts of Pip: MAL, IAL and boot
Data Structures | Macros | Typedefs
armv7/MAL/include/structures.h File Reference
#include "mmu.h"

Go to the source code of this file.

Data Structures

struct  page_directory
 Page Directory structure Pointing to short-descriptor page table. More...
 
struct  page_table
 Page Table structure Pointing to short-descriptor small-page. More...
 

Macros

#define PAGE_SIZE   0x1000
 
#define MAL_L1_IDX(addr)   (((addr) & 0x3FF00000) >> 20)
 
#define MAL_L2_IDX(addr)   (((addr) & 0x000FF000) >> 12)
 

Typedefs

typedef mmu_sd_pt_t page_table_entry_t
 
typedef struct page_directory page_directory_t
 Page Directory structure Pointing to short-descriptor page table. More...
 
typedef struct page_table page_table_t
 Page Table structure Pointing to short-descriptor small-page. More...
 

Macro Definition Documentation

◆ MAL_L1_IDX

#define MAL_L1_IDX (   addr)    (((addr) & 0x3FF00000) >> 20)

◆ MAL_L2_IDX

#define MAL_L2_IDX (   addr)    (((addr) & 0x000FF000) >> 12)

◆ PAGE_SIZE

#define PAGE_SIZE   0x1000

Typedef Documentation

◆ page_directory_t

Page Directory structure Pointing to short-descriptor page table.

page_directory_t

◆ page_table_entry_t

◆ page_table_t

typedef struct page_table page_table_t

Page Table structure Pointing to short-descriptor small-page.

page_table_t