A better way to make friends (nw)

This commit is contained in:
AJR 2018-06-29 18:29:37 -04:00
parent 39c514fada
commit 7c18a71442
2 changed files with 2 additions and 5 deletions

View File

@ -208,9 +208,6 @@ static char *core_i64_hex_format(u64 value, u8 mindigits)
// CONSTANTS // CONSTANTS
//************************************************************************** //**************************************************************************
// banking constants
const int BANK_ENTRY_UNSPECIFIED = -1;
// other address map constants // other address map constants
const int MEMORY_BLOCK_CHUNK = 65536; // minimum chunk size of allocated memory blocks const int MEMORY_BLOCK_CHUNK = 65536; // minimum chunk size of allocated memory blocks

View File

@ -260,6 +260,8 @@ class handler_entry
{ {
DISABLE_COPYING(handler_entry); DISABLE_COPYING(handler_entry);
template<int Width, int AddrShift, endianness_t Endian> friend class address_space_specific;
public: public:
// Typing flags // Typing flags
static constexpr u32 F_DISPATCH = 0x00000001; // handler that forwards the access to other handlers static constexpr u32 F_DISPATCH = 0x00000001; // handler that forwards the access to other handlers
@ -304,8 +306,6 @@ public:
protected: protected:
// Address range storage // Address range storage
struct range { struct range {
template<int Width, int AddrShift, endianness_t Endian> friend class address_space_specific;
offs_t start; offs_t start;
offs_t end; offs_t end;