config_mem.h 719 B

123456789101112131415161718192021
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. // Configuration memory stores various hardware/kernel configuration settings. This memory page is
  6. // read-only for ARM11 processes. I'm guessing this would normally be written to by the firmware/
  7. // bootrom. Because we're not emulating this, and essentially just "stubbing" the functionality, I'm
  8. // putting this as a subset of HLE for now.
  9. #include "common/common_types.h"
  10. ////////////////////////////////////////////////////////////////////////////////////////////////////
  11. namespace ConfigMem {
  12. template <typename T>
  13. void Read(T &var, const u32 addr);
  14. } // namespace