This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2014-05-07 03:29:39 +00:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 05:38:14 +00:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-07-22 11:49:25 +00:00
|
|
|
// Refer to the license.txt file included.
|
2014-05-07 03:29:39 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2014-07-22 11:49:25 +00:00
|
|
|
// Configuration memory stores various hardware/kernel configuration settings. This memory page is
|
2014-05-07 03:29:39 +00:00
|
|
|
// read-only for ARM11 processes. I'm guessing this would normally be written to by the firmware/
|
|
|
|
// bootrom. Because we're not emulating this, and essentially just "stubbing" the functionality, I'm
|
|
|
|
// putting this as a subset of HLE for now.
|
|
|
|
|
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
namespace ConfigMem {
|
|
|
|
|
|
|
|
template <typename T>
|
2014-07-22 11:49:25 +00:00
|
|
|
void Read(T &var, const u32 addr);
|
2014-05-07 03:29:39 +00:00
|
|
|
|
|
|
|
} // namespace
|