2014-05-07 08:59:39 +05:30
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 11:08:14 +05:30
|
|
|
// Licensed under GPLv2 or any later version
|
2014-07-22 17:19:25 +05:30
|
|
|
// Refer to the license.txt file included.
|
2014-05-07 08:59:39 +05:30
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2014-07-22 17:19:25 +05:30
|
|
|
// Configuration memory stores various hardware/kernel configuration settings. This memory page is
|
2014-05-07 08:59:39 +05:30
|
|
|
// 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 17:19:25 +05:30
|
|
|
void Read(T &var, const u32 addr);
|
2014-05-07 08:59:39 +05:30
|
|
|
|
2015-02-13 10:27:02 +05:30
|
|
|
void Init();
|
|
|
|
|
2015-04-28 08:15:43 +05:30
|
|
|
void Shutdown();
|
|
|
|
|
2014-05-07 08:59:39 +05:30
|
|
|
} // namespace
|