TianoCore EDK2 master
Loading...
Searching...
No Matches
CpuMmuInitLib.h File Reference
#include <Uefi/UefiSpec.h>

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI ConfigureMemoryManagementUnit (IN EFI_MEMORY_DESCRIPTOR *MemoryTable)
 

Detailed Description

CPU Memory Map Unit Initialization library header.

Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.

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

Definition in file CpuMmuInitLib.h.

Function Documentation

◆ ConfigureMemoryManagementUnit()

EFI_STATUS EFIAPI ConfigureMemoryManagementUnit ( IN EFI_MEMORY_DESCRIPTOR MemoryTable)

Create a page table and initialize the memory management unit(MMU).

Parameters
[in]MemoryTableA pointer to a memory ragion table.
Return values
EFI_SUCCESSConfigure MMU successfully. EFI_INVALID_PARAMETER MemoryTable is NULL. EFI_UNSUPPORTED MemoryRegionMap failed or out of memory space or size not aligned or MaxLivel out of bound.

Definition at line 121 of file CpuMmuInit.c.