search for: vesa_getmodes

Displaying 2 results from an estimated 2 matches for "vesa_getmodes".

2012 Jun 26
2
[GIT PULL] elflink bug fixes
...ip) { // printf("\nUnable to resolve hostname: %s\n", be->argv[1]); return -TFTP_ERR_UNABLE_TO_RESOLVE; diff --git a/com32/lua/src/vesa.c b/com32/lua/src/vesa.c index 9f28134..06649e1 100644 --- a/com32/lua/src/vesa.c +++ b/com32/lua/src/vesa.c @@ -17,10 +17,15 @@ static int vesa_getmodes(lua_State *L) struct vesa_general_info *gi; struct vesa_mode_info *mi; int nmode = 1; + int rv = -1; - /* Allocate space in the bounce buffer for these structures */ - gi = &((struct vesa_info *)__com32.cs_bounce)->gi; - mi = &((struct vesa_info *)__com32.cs_bounce)->mi...
2013 Oct 15
23
[PATCH 00/21] Upgrade to Lua 5.2.2, add filesystem module and get_key binding
Hi, This series targets automatic boot menu generation, but most of it is the Lua upgrade, because I got tired reading deprecated API docs. It's mostly a straightforward forward port of the earlier Syslinux specific changes to Lua 5.1, except that: * I chose the add a stub getenv() implementation to the COM32 API instead of #ifdefing out all the references in Lua, and * I kept oslib