#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "device.h"
#include "interrupt.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
Go to the source code of this file.
Classes | |
struct | fdc_data |
Macros | |
#define | DEV_FDC_LENGTH 6 /* TODO 8, but collision with wdc */ |
Functions | |
DEVICE_ACCESS (fdc) | |
DEVINIT (fdc) | |
#define DEV_FDC_LENGTH 6 /* TODO 8, but collision with wdc */ |
Definition at line 49 of file dev_fdc.cc.
Referenced by DEVINIT().
DEVICE_ACCESS | ( | fdc | ) |
Definition at line 58 of file dev_fdc.cc.
References data, fatal(), MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), and fdc_data::reg.
DEVINIT | ( | fdc | ) |
Definition at line 90 of file dev_fdc.cc.
References devinit::addr, CHECK_ALLOCATION, DEV_FDC_LENGTH, DM_DEFAULT, INTERRUPT_CONNECT, devinit::interrupt_path, fdc_data::irq, devinit::machine, machine::memory, memory_device_register(), and devinit::name.