mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
c2c9b44749
Narrows the include in the header to <cstddef>, since that's what houses size_t's definition, meanwhile the <cstdint> include can be moved into the cpp file.
28 lines
620 B
C++
28 lines
620 B
C++
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <cstddef>
|
|
|
|
namespace Common {
|
|
|
|
// Data cache instructions enabled at EL0 by SCTLR_EL1.UCI.
|
|
// VA = virtual address
|
|
// PoC = point of coherency
|
|
// PoU = point of unification
|
|
|
|
// dc cvau
|
|
void DataCacheLineCleanByVAToPoU(void* start, size_t size);
|
|
|
|
// dc civac
|
|
void DataCacheLineCleanAndInvalidateByVAToPoC(void* start, size_t size);
|
|
|
|
// dc cvac
|
|
void DataCacheLineCleanByVAToPoC(void* start, size_t size);
|
|
|
|
// dc zva
|
|
void DataCacheZeroByVA(void* start, size_t size);
|
|
|
|
} // namespace Common
|