#include <stdio.h>#include <stdlib.h>#include <string.h>#include "devices.h"#include "machine.h"#include "memory.h"#include "misc.h"Go to the source code of this file.
Classes | |
| struct | pmagja_data |
Macros | |
| #define | XSIZE 1280 |
| #define | YSIZE 1024 |
| #define | PMAGJA_FIRSTOFFSET 0x40030 |
Functions | |
| DEVICE_ACCESS (pmagja) | |
| void | dev_pmagja_init (struct machine *machine, struct memory *mem, uint64_t baseaddr, const char *irq_path) |
| #define PMAGJA_FIRSTOFFSET 0x40030 |
Definition at line 46 of file dev_pmagja.cc.
| #define XSIZE 1280 |
Definition at line 43 of file dev_pmagja.cc.
| #define YSIZE 1024 |
Definition at line 44 of file dev_pmagja.cc.
| void dev_pmagja_init | ( | struct machine * | machine, |
| struct memory * | mem, | ||
| uint64_t | baseaddr, | ||
| const char * | irq_path | ||
| ) |
Definition at line 196 of file dev_pmagja.cc.
References machine::arch, CHECK_ALLOCATION, dev_bt431_init(), dev_bt459_init(), dev_fb_init(), dev_pmagja_access(), DEV_PMAGJA_LENGTH, DM_DEFAULT, pmagja_data::fb_mem, INTERRUPT_CONNECT, pmagja_data::irq, memory_device_register(), memory_new(), PMAGJA_FIRSTOFFSET, pmagja_data::vfb_data, VFB_GENERIC, XSIZE, and YSIZE.
Referenced by dev_turbochannel_init().
| DEVICE_ACCESS | ( | pmagja | ) |
Definition at line 65 of file dev_pmagja.cc.
References data, debug, dev_fb_access(), fatal(), pmagja_data::fb_mem, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), pmagja_data::pip_offset, pmagja_data::pixeldata, PMAGJA_FIRSTOFFSET, vfb_data::rgb_palette, pmagja_data::vfb_data, and XSIZE.
1.8.17