memory - Rename mem_device.* to device.*
This commit is contained in:
parent
86eeb90868
commit
9c07356ead
8 changed files with 7 additions and 7 deletions
2
Makeconf
2
Makeconf
|
@ -1,4 +1,4 @@
|
||||||
modules := memory/mem_device \
|
modules := memory/device \
|
||||||
memory/bus \
|
memory/bus \
|
||||||
memory/ram \
|
memory/ram \
|
||||||
memory/bootrom_overlay \
|
memory/bootrom_overlay \
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include <misc/types.h>
|
#include <misc/types.h>
|
||||||
|
|
||||||
#include <memory/mem_device.h>
|
#include <memory/device.h>
|
||||||
|
|
||||||
typedef u8 opcode_t;
|
typedef u8 opcode_t;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <memory/mem_device.h>
|
#include <memory/device.h>
|
||||||
|
|
||||||
class BootRom : public Mem_device
|
class BootRom : public Mem_device
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
|
||||||
#include <memory/mem_device.h>
|
#include <memory/device.h>
|
||||||
|
|
||||||
class Bus : public Mem_device {
|
class Bus : public Mem_device {
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "memory/mem_device.h"
|
#include <memory/device.h>
|
||||||
|
|
||||||
void Mem_device::write16(u16 addr, u16 data)
|
void Mem_device::write16(u16 addr, u16 data)
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <memory/mem_device.h>
|
#include <memory/device.h>
|
||||||
|
|
||||||
class RAM : public Mem_device {
|
class RAM : public Mem_device {
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <misc/types.h>
|
#include <misc/types.h>
|
||||||
#include <memory/mem_device.h>
|
#include <memory/device.h>
|
||||||
|
|
||||||
class BoundRegister : public Mem_device {
|
class BoundRegister : public Mem_device {
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue