#include <stdio.h>#include <stdlib.h>#include <string.h>#include "cpu.h"#include "console.h"#include "device.h"#include "devices.h"#include "emul.h"#include "machine.h"#include "memory.h"#include "misc.h"#include "thirdparty/sccreg.h"#include "thirdparty/hitachi_hm53462_rop.h"#include "thirdparty/luna88k_board.h"#include "thirdparty/m8820x.h"Go to the source code of this file.
Classes | |
| struct | luna88k_data |
Macros | |
| #define | TICK_STEPS_SHIFT 14 |
| #define | LUNA88K_REGISTERS_BASE 0x3ffffff0UL |
| #define | LUNA88K_REGISTERS_END 0xff000000UL |
| #define | LUNA88K_REGISTERS_LENGTH (LUNA88K_REGISTERS_END - LUNA88K_REGISTERS_BASE) |
| #define | MAX_CPUS 4 |
| #define | BCD(x) ((((x) / 10) << 4) + ((x) % 10)) |
Functions | |
| DEVICE_TICK (luna88k) | |
| DEVICE_ACCESS (luna88k) | |
| void | add_cmmu_for_cpu (struct devinit *devinit, int cpunr, uint32_t iaddr, uint32_t daddr) |
| DEVINIT (luna88k) | |
| #define BCD | ( | x | ) | ((((x) / 10) << 4) + ((x) % 10)) |
Definition at line 66 of file dev_luna88k.cc.
| #define LUNA88K_REGISTERS_BASE 0x3ffffff0UL |
Definition at line 59 of file dev_luna88k.cc.
| #define LUNA88K_REGISTERS_END 0xff000000UL |
Definition at line 60 of file dev_luna88k.cc.
| #define LUNA88K_REGISTERS_LENGTH (LUNA88K_REGISTERS_END - LUNA88K_REGISTERS_BASE) |
Definition at line 61 of file dev_luna88k.cc.
| #define MAX_CPUS 4 |
Definition at line 63 of file dev_luna88k.cc.
| #define TICK_STEPS_SHIFT 14 |
Definition at line 56 of file dev_luna88k.cc.
| void add_cmmu_for_cpu | ( | struct devinit * | devinit, |
| int | cpunr, | ||
| uint32_t | iaddr, | ||
| uint32_t | daddr | ||
| ) |
Definition at line 570 of file dev_luna88k.cc.
References m8820x_cmmu::batc, BATC8, BATC9, cpu::cd, CHECK_ALLOCATION, m88k_cpu::cmmu, CMMU_IDR, machine::cpus, device_add(), M88200_ID, cpu::m88k, devinit::machine, machine::ncpus, and m8820x_cmmu::reg.
| DEVICE_ACCESS | ( | luna88k | ) |
Definition at line 199 of file dev_luna88k.cc.
References addr, BMAP_BMP, data, fatal(), luna88k_data::fuse_rom, FUSE_ROM_ADDR, FUSE_ROM_SPACE, LUNA88K_REGISTERS_BASE, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), luna88k_data::nvram, NVRAM_ADDR, NVRAM_ADDR_88K2, and NVRAM_SPACE.
| DEVICE_TICK | ( | luna88k | ) |
Definition at line 167 of file dev_luna88k.cc.
References INTERRUPT_ASSERT, luna88k_data::timer_irq, and luna88k_data::timer_tick_counter_bogus.
| DEVINIT | ( | luna88k | ) |
Definition at line 603 of file dev_luna88k.cc.
References CHECK_ALLOCATION, DM_DEFAULT, interrupt::extra, interrupt::interrupt_assert, INTERRUPT_CONNECT, devinit::interrupt_path, interrupt::line, LUNA88K_REGISTERS_BASE, LUNA88K_REGISTERS_LENGTH, devinit::machine, machine::memory, memory_device_register(), devinit::name, and interrupt::name.
1.8.17