3 #include <cpu/amd/vr.h>
5 #define VIDEO_MB 8 // MB of video memory
9 * This function mirrors the Graphics_Init routine in GeodeROM.
11 void graphics_init(void)
13 /* SoftVG initialization */
15 /* Call SoftVG with the main configuration parameters. */
16 /* NOTE: SoftVG expects the memory size to be given in 512 KB pages */
17 vrWrite((VRC_VG << 8) + VG_MEM_SIZE, 0x0100 | (VIDEO_MB * 2));