X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=seabios.git;a=blobdiff_plain;f=vgasrc%2Fclext.c;h=90f37c8489171651cab740f6f4d80abe0130090b;hp=90d7924ae2442ce90ffadfc15522f27a2c2d01e6;hb=34203cdf8a89c747e221005850a4558252235360;hpb=c4a0b976c06837636533d561c59d22feb03baec3 diff --git a/vgasrc/clext.c b/vgasrc/clext.c index 90d7924..90f37c8 100644 --- a/vgasrc/clext.c +++ b/vgasrc/clext.c @@ -566,6 +566,17 @@ static struct { { 0x11a, 0x75 }, }; +void +clext_list_modes(u16 seg, u16 *dest, u16 *last) +{ + int i; + for (i=0; itotal_memory, cirrus_get_memsize()); u16 *destmode = (void*)info->reserved; + u16 *last = (void*)&info->reserved[sizeof(info->reserved)]; SET_FARVAR(seg, info->video_mode, SEGOFF(seg, (u32)destmode)); - int i; - for (i=0; iax = 0x004f; }