1 /* -*- c -*- ------------------------------------------------------------- *
3 * Copyright 2004-2005 Murali Krishnan Ganapathy - All Rights Reserved
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 * Boston MA 02111-1307, USA; either version 2 of the License, or
9 * (at your option) any later version; incorporated herein by reference.
11 * ----------------------------------------------------------------------- */
18 #include <syslinux/config.h>
19 #include <syslinux/video.h>
21 com32sys_t inreg
, outreg
; // Global registers for this module
23 void runsyslinuxcmd(const char *cmd
)
27 bounce
= lmalloc(strlen(cmd
) + 1);
35 void gototxtmode(void)
37 syslinux_force_text_mode();
40 void syslinux_idle(void)
45 unsigned int getversion(char *deriv
, unsigned int *numfun
)
48 *deriv
= __syslinux_version
.filesystem
;
50 *numfun
= __syslinux_version
.max_api
;
51 return __syslinux_version
.version
;
56 return !!getversion(NULL
, NULL
);
59 void runsyslinuximage(const char *cmd
, long ipappend
)
61 (void)ipappend
; // XXX: Unused?!
63 getversion(NULL
, NULL
);