typedef struct {
int mode;
int value;
} caetla_device_mode_t;
|
Used as parameter packet for the get and set mode command
|
typedef struct {
u_char checksum;
u_short checksum2;
} caetla_device_info_t;
|
Footer of a memory read/write transaction.
Used to transfer the checksums after a read or write access.
|
typedef struct {
u_long address;
u_long size;
} caetla_memory_t;
|
Header of a memory read/write transaction.
Used to transfer the memory range.
|
typedef struct {
u_long pc0;
u_long gp0;
u_long t_addr;
u_long t_size;
u_long d_addr;
u_long d_size;
u_long b_addr;
u_long b_size;
u_long s_addr;
u_long s_size;
u_long sp,fp,gp,ret,base;
u_long task;
u_long event;
u_long stack;
u_char mode;
} caetla_execute_t;
|
Used to setup the execution environment.
|
typedef struct {
u_short firmware;
u_short cdm, mcm, fbv;
u_short cs, du, cfg, mm;
} caetla_version_t;
|
Holds all version numbers for the caetla subsystems.
|
typedef struct {
u_long address;
u_long argv;
u_long argc;
} caetla_arguments_t;
|
Used to set the main() arguments. Currently not possible.
|
typedef struct {
u_long address;
u_long condition;
u_long datamask;
u_long execmask;
} caetla_hbp_t;
|
CAEIOC_CONFIGURE_HBP parameter packet. Describes a hardware breakpoint.
|
typedef struct {
u_long number;
u_long data;
} caetla_register_t;
|
CAEIOC_SET_REGISTER parameter packet. Sets a single processor register.
|
typedef struct {
u_long data[36];
} caetla_registers_t;
|
CAEIOC_GET_REGISTERS parameter packet. Gets all processor registers at once.
|
typedef u_char caetla_cpcond_t;
|
CAEIOC_GET_CPCOND parameter packet. The coprocessor status bits.
|
typedef u_char caetla_status_t;
|
CAEIOC_STATUS parameter packet. The status of the caetla link.
|
typedef u_char pspar_status_t;
|
The status in PSPAR notation.
|
typedef struct {
u_long address;
u_char data;
} caetla_byte_t;
|
Single byte transfer parameter packet.
|
typedef struct {
u_long address;
u_long data;
} caetla_word_t;
|
Single word (32-bit) transfer parameter packet.
|
typedef struct {
u_short magic;
u_char type;
u_char size;
u_char name[64];
u_char reserved[28];
u_short clut[16];
u_short icon[3][(16*16)/4];
} caetla_mc_file_header_t;
|
Used by memory card interface
|
typedef struct {
u_long magic;
u_long reserved;
u_long pc0;
u_long gp0;
u_long t_addr;
u_long t_size;
u_long d_addr;
u_long d_size;
u_long b_addr;
u_long b_size;
u_long s_addr;
u_long s_size;
} caetla_mc_mexe_header_t;
|
Used by memory card interface
|
typedef struct {
u_short slot;
u_short fileno;
u_short blocks;
u_short checksum;
u_short result;
} caetla_mc_file_read_t;
|
Used by memory card interface
|
typedef struct {
u_short slot;
u_char name[];
u_long size;
u_short blocks;
u_short checksum;
u_short result;
} caetla_mc_file_create_t;
|
Used by memory card interface
|
typedef struct {
u_short slot;
u_short sector;
u_long size;
u_char *data;
u_short checksum;
u_short result;
} caetla_mc_sector_t;
|
Used by memory card interface
|
typedef struct {
u_short p1;
u_long size;
u_short p2;
char name[];
u_char p3;
u_short p4;
u_short p5;
char comment[94];
} caetla_mc_file_info_t;
|
Used by memory card interface
|
typedef struct {
u_short slot;
u_short result;
u_short fileno;
} caetla_mc_result_t;
|
Used by memory card interface
|
typedef struct {
u_short slot;
u_short count;
caetla_mc_file_info_t file[16];
} caetla_mc_directory_t;
|
Used by memory card interface
|
typedef struct {
u_char action;
u_long address;
u_long size;
} caetla_write_eeprom_t;
|
Used to flash an eeprom
|
typedef struct {
u_short x,y;
u_short width, height;
u_short mode;
} caetla_fb_mode_t;
|
Set/get the frame buffer mode
|