summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-11-27 21:51:04 +0100
committer hap <happppp@users.noreply.github.com>2021-11-27 21:51:04 +0100
commitf49f67d8d2ec49d5da8f111fbb084249a184d51e (patch)
tree7a9f9cdd90d96f50807d4879925c1918b9635d1c /src
parent77c2acd80dbc18492095736d6747742e3e26fc69 (diff)
sparc: undo accidental delete on prev commit
Diffstat (limited to 'src')
-rw-r--r--src/devices/cpu/sparc/sparc.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/devices/cpu/sparc/sparc.cpp b/src/devices/cpu/sparc/sparc.cpp
index f4156aa2be9..7b2d5eab0db 100644
--- a/src/devices/cpu/sparc/sparc.cpp
+++ b/src/devices/cpu/sparc/sparc.cpp
@@ -87,6 +87,15 @@ sparc_base_device::sparc_base_device(const machine_config &mconfig, device_type
, m_mmu(*this, finder_base::DUMMY_TAG)
{
m_debugger_config = address_space_config("debug", ENDIANNESS_BIG, 32, 32);
+
+ if (type != MB86930)
+ {
+ for (int i = 0; i < 0x10; i++)
+ {
+ m_asi_names[i] = util::string_format("asi%x", i);
+ m_asi_config[i] = address_space_config(m_asi_names[i].c_str(), ENDIANNESS_BIG, 32, 32);
+ }
+ }
}