summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh/sh7042.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sh/sh7042.h')
-rw-r--r--src/devices/cpu/sh/sh7042.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/devices/cpu/sh/sh7042.h b/src/devices/cpu/sh/sh7042.h
new file mode 100644
index 00000000000..b47242013b4
--- /dev/null
+++ b/src/devices/cpu/sh/sh7042.h
@@ -0,0 +1,28 @@
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
+
+// SH7042, sh2 variant
+
+#ifndef MAME_CPU_SH_SH7042_H
+#define MAME_CPU_SH_SH7042_H
+
+#pragma once
+
+#include "sh2.h"
+
+class sh7042_device : public sh2_device
+{
+public:
+ sh7042_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+
+protected:
+ virtual void device_start() override;
+ virtual void device_reset() override;
+
+private:
+ void map(address_map &map);
+};
+
+DECLARE_DEVICE_TYPE(SH7042, sh7042_device)
+
+#endif // MAME_CPU_SH_SH7042_H