mirror of
https://github.com/n64dev/cen64.git
synced 2024-06-22 14:02:41 -04:00
Replaced all references to simulation with emulation Updated copyright year Updated .gitignore to reduce chances of random files being uploaded to the repo Added .gitattributes to normalize all text files, and to ignore binary files (which includes the logo and the NEC PDF)
35 lines
689 B
C
35 lines
689 B
C
//
|
|
// rdp/cpu.h: RDP processor container.
|
|
//
|
|
// CEN64: Cycle-Accurate Nintendo 64 Emulator.
|
|
// Copyright (C) 2015, Tyler J. Stachecki.
|
|
//
|
|
// This file is subject to the terms and conditions defined in
|
|
// 'LICENSE', which is part of this source code package.
|
|
//
|
|
|
|
#ifndef __rdp_cpu_h__
|
|
#define __rdp_cpu_h__
|
|
#include "common.h"
|
|
|
|
enum dp_register {
|
|
#define X(reg) reg,
|
|
#include "rdp/registers.md"
|
|
#undef X
|
|
NUM_DP_REGISTERS
|
|
};
|
|
|
|
#ifdef DEBUG_MMIO_REGISTER_ACCESS
|
|
extern const char *dp_register_mnemonics[NUM_DP_REGISTERS];
|
|
#endif
|
|
|
|
struct rdp {
|
|
uint32_t regs[NUM_DP_REGISTERS];
|
|
struct bus_controller *bus;
|
|
};
|
|
|
|
cen64_cold int rdp_init(struct rdp *rdp, struct bus_controller *bus);
|
|
|
|
#endif
|
|
|