From 7628ec92c0ace67ee381cc2abdf238abadc76846 Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Wed, 3 Feb 2021 12:19:18 +0100 Subject: [PATCH] Rename memreadwrite.h to memaccess.h --- cpu/ppc/ppcmmu.cpp | 2 +- devices/atirage.cpp | 2 +- devices/mpc106.cpp | 2 +- machines/machinefactory.cpp | 2 +- memreadwrite.h => memaccess.h | 10 +++++----- 5 files changed, 9 insertions(+), 9 deletions(-) rename memreadwrite.h => memaccess.h (96%) diff --git a/cpu/ppc/ppcmmu.cpp b/cpu/ppc/ppcmmu.cpp index 6ad185f..31f543a 100644 --- a/cpu/ppc/ppcmmu.cpp +++ b/cpu/ppc/ppcmmu.cpp @@ -30,7 +30,7 @@ along with this program. If not, see . #include "ppcmmu.h" #include "devices/memctrlbase.h" -#include "memreadwrite.h" +#include "memaccess.h" #include "ppcemu.h" #include #include diff --git a/devices/atirage.cpp b/devices/atirage.cpp index 0961b30..9398dcf 100644 --- a/devices/atirage.cpp +++ b/devices/atirage.cpp @@ -21,7 +21,7 @@ along with this program. If not, see . #include "displayid.h" #include "endianswap.h" -#include "memreadwrite.h" +#include "memaccess.h" #include "pcidevice.h" #include #include diff --git a/devices/mpc106.cpp b/devices/mpc106.cpp index 03f75c4..f5ba73b 100644 --- a/devices/mpc106.cpp +++ b/devices/mpc106.cpp @@ -31,7 +31,7 @@ along with this program. If not, see . #include "hwcomponent.h" #include "memctrlbase.h" -#include "memreadwrite.h" +#include "memaccess.h" #include "mmiodevice.h" #include "mpc106.h" diff --git a/machines/machinefactory.cpp b/machines/machinefactory.cpp index 9cadc2d..743fed8 100644 --- a/machines/machinefactory.cpp +++ b/machines/machinefactory.cpp @@ -26,7 +26,7 @@ along with this program. If not, see . #include "machinefactory.h" #include "devices/memctrlbase.h" -#include "memreadwrite.h" +#include "memaccess.h" #include "machineproperties.h" #include #include diff --git a/memreadwrite.h b/memaccess.h similarity index 96% rename from memreadwrite.h rename to memaccess.h index e99c34c..45ae2ba 100644 --- a/memreadwrite.h +++ b/memaccess.h @@ -1,9 +1,9 @@ -/** @file Set of macros for accessing integers of various sizes and endianness - in host memory. +/** @file Set of macros for accessing host memory units of various sizes + and endianness. */ -#ifndef MEM_READ_WRITE_H -#define MEM_READ_WRITE_H +#ifndef MEM_ACCESS_H +#define MEM_ACCESS_H #include "endianswap.h" #include @@ -99,4 +99,4 @@ (addr)[3] = ((val) >> 24) & 0xFF; \ } while (0) -#endif /* MEM_READ_WRITE_H */ +#endif /* MEM_ACCESS_H */