--- trunk/mkinitrd-magellan/isolinux/init.inc 2007/09/01 22:45:15 532 +++ trunk/mkinitrd-magellan/isolinux/init.inc 2010/08/19 09:50:43 1133 @@ -1,7 +1,7 @@ ; -*- fundamental -*- ; ----------------------------------------------------------------------- -; -; Copyright 2004 H. Peter Anvin - All Rights Reserved +; +; Copyright 2004-2008 H. Peter Anvin - All Rights Reserved ; ; This program is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by @@ -10,7 +10,6 @@ ; (at your option) any later version; incorporated herein by reference. ; ; ----------------------------------------------------------------------- -; $Id: init.inc,v 1.1 2007-09-01 22:44:04 niro Exp $ ; ; init.inc @@ -23,23 +22,10 @@ ; Now set up screen parameters call adjust_screen - ; Wipe the F-key area - mov al,NULLFILE - mov di,FKeyName - mov cx,10*(1 << FILENAME_MAX_LG2) - rep stosb - - mov si,linuxauto_cmd ; Default command: "linux auto" - mov di,default_cmd - mov cx,linuxauto_len - rep movsb - - mov di,KbdMap ; Default keymap 1:1 - xor al,al - inc ch ; CX <- 256 -mkkeymap: stosb - inc al - loop mkkeymap +; +; Initialize configuration information +; + call reset_config ; ; Clear Files structures @@ -58,10 +44,4 @@ add ax,PKTBUF_SIZE loop .setbufptr %endif - - section .data -linuxauto_cmd db 'linux auto',0 -linuxauto_len equ $-linuxauto_cmd - section .text ; This is an inline file... -