TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
UINTN | AsmCsrRead (IN UINT16 Select) |
UINTN | AsmCsrWrite (IN UINT16 Select, IN UINTN Value) |
UINTN | AsmCsrXChg (IN UINT16 Select, IN UINTN Value, IN UINTN Mask) |
UINTN EFIAPI | CsrRead (IN UINT16 Select) |
UINTN EFIAPI | CsrWrite (IN UINT16 Select, IN OUT UINTN Value) |
UINTN EFIAPI | CsrXChg (IN UINT16 Select, IN OUT UINTN Value, IN UINTN Mask) |
LoongArch CSR operation functions.
Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Csr.c.
CSR write operation.
[in] | Select | CSR write instruction select values. |
[in,out] | Value | The csrwr will write the value. |
CSR exchange operation.
[in] | Select | CSR exchange instruction select values. |
[in,out] | Value | The csrxchg will write the value. |
[in] | Mask | The csrxchg mask value. |