aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerenc Wágner <wferi@niif.hu>2014-07-03 16:19:04 +0200
committerFerenc Wágner <wferi@niif.hu>2014-10-11 21:59:15 +0200
commite8e42cdcbfb05a82b19b8b16ef7398a3873e5335 (patch)
tree60e3f9104e58aea803b88107a097ab1ed36366bd
parentd0edce41a83f1be869e1e12a02d3d5e16f7fe10d (diff)
downloadsyslinux-e8e42cdcbfb05a82b19b8b16ef7398a3873e5335.tar.gz
syslinux-e8e42cdcbfb05a82b19b8b16ef7398a3873e5335.tar.xz
syslinux-e8e42cdcbfb05a82b19b8b16ef7398a3873e5335.zip
lua: docs: add new bindings to syslinux.asc
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
-rw-r--r--com32/lua/doc/syslinux.asc22
1 files changed, 21 insertions, 1 deletions
diff --git a/com32/lua/doc/syslinux.asc b/com32/lua/doc/syslinux.asc
index 4e0b48d1..4e8a1efa 100644
--- a/com32/lua/doc/syslinux.asc
+++ b/com32/lua/doc/syslinux.asc
@@ -70,8 +70,14 @@ FIXME
FIXME
+.IMAGE_TYPE
+
+A table containing the possible "kernel" types for +run_kernel_image()+.
+
.run_kernel_image(kernel, cmdline, ipappend_flags, type)
+Run the specified kernel. +type+ is one of the values of the +IMAGE_TYPE+ table.
+
FIXME
.loadfile(filname)
@@ -86,7 +92,7 @@ Return size of +file+ (loaded by loadfile())
Return name of +file+ (loaded by loadfile())
-.in itramfs_init()
+.initramfs_init()
Return empty initramfs object
@@ -124,6 +130,20 @@ _Example_:
......................................................
+.KEY
+
+Table containing the return values of +get_key()+ for special (eg. function)
+keys.
+
+.KEY_CTRL(key)
+
+Return the code for the Ctrl-modified version of the given ASCII code.
+
+.get_key(timeout)
+
+Wait at most +timeout+ ms for a key press.
+Return the ASCII code of the pressed key, some other value of the +KEY+
+table, or +KEY.NONE+ on timeout.
DMI