historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/include/hw/arm/xnu_fb_cfg.h

17 lines
377 B
C
Raw Normal View History

2024-01-16 11:20:27 -06:00
#ifndef HW_ARM_XNU_RAMFB_CFG_H
#define HW_ARM_XNU_RAMFB_CFG_H
#include "qemu/osdep.h"
#define RAMFB_SIZE 0x2D4C00
#define V_DEPTH 16
#define V_HEIGHT 800
#define V_WIDTH 600
#define V_DISPLAY 0
#define V_LINESIZE (V_WIDTH * 3)
void xnu_define_ramfb_device(AddressSpace* as, hwaddr ramfb_pa);
void xnu_get_video_bootargs(void *opaque, hwaddr ramfb_pa);
#endif