#include <linux/io.h>
#include "MMURegAcM.h"
#include <hw_defs.h>
#include <hw_mmu.h>
#include <linux/types.h>
#include <linux/err.h>
Go to the source code of this file.
|
hw_status | hw_mmu_enable (void __iomem *base_address) |
|
hw_status | hw_mmu_disable (void __iomem *base_address) |
|
hw_status | hw_mmu_num_locked_set (void __iomem *base_address, u32 num_locked_entries) |
|
hw_status | hw_mmu_victim_num_set (void __iomem *base_address, u32 victim_entry_num) |
|
hw_status | hw_mmu_event_ack (void __iomem *base_address, u32 irq_mask) |
|
hw_status | hw_mmu_event_disable (void __iomem *base_address, u32 irq_mask) |
|
hw_status | hw_mmu_event_enable (void __iomem *base_address, u32 irq_mask) |
|
hw_status | hw_mmu_event_status (void __iomem *base_address, u32 *irq_mask) |
|
hw_status | hw_mmu_fault_addr_read (void __iomem *base_address, u32 *addr) |
|
hw_status | hw_mmu_ttb_set (void __iomem *base_address, u32 ttb_phys_addr) |
|
hw_status | hw_mmu_twl_enable (void __iomem *base_address) |
|
hw_status | hw_mmu_twl_disable (void __iomem *base_address) |
|
hw_status | hw_mmu_tlb_add (void __iomem *base_address, u32 physical_addr, u32 virtual_addr, u32 page_sz, u32 entry_num, struct hw_mmu_map_attrs_t *map_attrs, s8 preserved_bit, s8 valid_bit) |
|
hw_status | hw_mmu_pte_set (const u32 pg_tbl_va, u32 physical_addr, u32 virtual_addr, u32 page_sz, struct hw_mmu_map_attrs_t *map_attrs) |
|
hw_status | hw_mmu_pte_clear (const u32 pg_tbl_va, u32 virtual_addr, u32 page_size) |
|
void | hw_mmu_tlb_flush_all (void __iomem *base) |
|
#define MMU_ADDR_MASK 0xFFFFF000 |
#define MMU_BASE_VAL_MASK 0xFC00 |
#define MMU_ELEMENTSIZE_MAX 3 |
#define MMU_LARGE_PAGE_MASK 0xFFFF0000 |
#define MMU_LOAD_TLB 0x00000001 |
#define MMU_PAGE_TABLE_MASK 0xFFFFFC00 |
#define MMU_SECTION_ADDR_MASK 0xFFF00000 |
#define MMU_SMALL_PAGE_MASK 0xFFFFF000 |
#define MMU_SSECTION_ADDR_MASK 0xFF000000 |
#define MMU_TTB_MASK 0xFFFFC000 |
- Enumerator:
HW_MMU_SECTION |
|
HW_MMU_LARGE_PAGE |
|
HW_MMU_SMALL_PAGE |
|
HW_MMU_SUPERSECTION |
|
Definition at line 43 of file hw_mmu.c.