#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "devices.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "thirdparty/sfbreg.h"
Go to the source code of this file.
Classes | |
struct | turbochannel_data |
Macros | |
#define | DEVICE_MAX_NAMELEN 9 |
#define | CARD_NAME_BUFLEN 9 |
#define | CARD_FIRMWARE_BUFLEN 5 |
Functions | |
DEVICE_ACCESS (turbochannel) | |
void | dev_turbochannel_init (struct machine *machine, struct memory *mem, int slot_nr, uint64_t baseaddr, uint64_t endaddr, const char *device_name, const char *irq_path) |
#define CARD_FIRMWARE_BUFLEN 5 |
Definition at line 45 of file dev_turbochannel.cc.
Referenced by dev_turbochannel_init().
#define CARD_NAME_BUFLEN 9 |
Definition at line 44 of file dev_turbochannel.cc.
Referenced by dev_turbochannel_init().
#define DEVICE_MAX_NAMELEN 9 |
Definition at line 43 of file dev_turbochannel.cc.
Referenced by dev_turbochannel_init().
void dev_turbochannel_init | ( | struct machine * | machine, |
struct memory * | mem, | ||
int | slot_nr, | ||
uint64_t | baseaddr, | ||
uint64_t | endaddr, | ||
const char * | device_name, | ||
const char * | irq_path | ||
) |
Definition at line 174 of file dev_turbochannel.cc.
References turbochannel_data::baseaddr, BT459_BA, BT459_BBA, CARD_FIRMWARE_BUFLEN, turbochannel_data::card_firmware_type, turbochannel_data::card_firmware_version, turbochannel_data::card_module_name, CARD_NAME_BUFLEN, turbochannel_data::card_vendor_name, CHECK_ALLOCATION, DEV_ASC_DEC, dev_asc_init(), dev_bt431_init(), dev_bt455_init(), dev_bt459_init(), dev_fb_init(), dev_le_init(), DEV_LE_LENGTH, dev_pmagja_init(), dev_px_init(), DEV_PX_TYPE_PX, DEV_PX_TYPE_PXG, DEV_PX_TYPE_PXGPLUSTURBO, dev_sfb_init(), dev_turbochannel_access(), DEV_TURBOCHANNEL_LEN, DEVICE_MAX_NAMELEN, turbochannel_data::device_name, DM_DEFAULT, turbochannel_data::endaddr, fatal(), memory_device_register(), turbochannel_data::rom_skip, SFB_ASIC_OFFSET, SFB_CLEAR, SFB_OFFSET_BT459, SFB_OFFSET_VRAM, turbochannel_data::slot_nr, strlen(), VFB_CFB_BT459, VFB_DEC_MAXINE, VFB_GENERIC, VFB_MFB_BT431, VFB_MFB_BT455, and VFB_MFB_VRAM.
Referenced by MACHINE_SETUP().
DEVICE_ACCESS | ( | turbochannel | ) |
Definition at line 64 of file dev_turbochannel.cc.
References turbochannel_data::card_firmware_type, turbochannel_data::card_firmware_version, turbochannel_data::card_module_name, turbochannel_data::card_vendor_name, data, debug, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), turbochannel_data::rom_skip, and turbochannel_data::slot_nr.