TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
VOID EFIAPI | RiscVLocalTlbFlushAll (VOID) |
VOID EFIAPI | RiscVLocalTlbFlush (UINTN VirtAddr) |
EFI_STATUS EFIAPI | RiscVSetMemoryAttributes (IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Attributes) |
EFI_STATUS EFIAPI | RiscVConfigureMmu (VOID) |
Copyright (c) 2015 - 2016, Linaro Ltd. All rights reserved.
Copyright (c) 2023, Ventana Micro Systems Inc. All Rights Reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file BaseRiscVMmuLib.h.
EFI_STATUS EFIAPI RiscVConfigureMmu | ( | VOID | ) |
The API to configure and enable RISC-V MMU with the highest mode supported.
EFI_OUT_OF_RESOURCES | Not enough resource. |
EFI_SUCCESS | The operation succesfully. |
Definition at line 764 of file BaseRiscVMmuLib.c.
VOID EFIAPI RiscVLocalTlbFlush | ( | UINTN | VirtAddr | ) |
The API to flush local TLB at a virtual address.
VirtAddr | The virtual address. |
VOID EFIAPI RiscVLocalTlbFlushAll | ( | VOID | ) |
The API to flush all local TLBs.
EFI_STATUS EFIAPI RiscVSetMemoryAttributes | ( | IN EFI_PHYSICAL_ADDRESS | BaseAddress, |
IN UINT64 | Length, | ||
IN UINT64 | Attributes | ||
) |
The API to set a GCD attribute on an memory region.
BaseAddress | The base address of the region. |
Length | The length of the region. |
Attributes | The GCD attributes. |
EFI_INVALID_PARAMETER | The BaseAddress or Length was not valid. |
EFI_OUT_OF_RESOURCES | Not enough resource. |
EFI_SUCCESS | The operation succesfully. |
Definition at line 587 of file BaseRiscVMmuLib.c.