No description
Find a file
okuji ce5bf700ca 2003-01-20 Yoshinori K. Okuji <okuji@enbug.org>
* include/pupa/normal.h: New file.
	* include/pupa/setjmp.h: Likewise.
	* include/pupa/i386/setjmp.h: Likewise.
	* normal/cmdline.c: Likewise.
	* normal/command.c: Likewise.
	* normal/main.c: Likewise.
	* normal/menu.c: Likewise.
	* normal/i386/setjmp.S: Likewise.

	* loader/i386/pc/linux.c (pupa_rescue_cmd_linux): Made global.
	(pupa_rescue_cmd_initrd): Likewise.

	* loader/i386/pc/chainloader.c (pupa_rescue_cmd_chainloader):
	Likewise.

	* kern/i386/pc/startup.S (translation_table): New variable.
	(translate_keycode): New function.
	(pupa_console_getkey): Call translate_keycode.

	* kern/rescue.c (attempt_normal_mode): New function.
	(pupa_enter_rescue_mode): Attempt to execute the normal mode. If
	it failed, print a message.

	* kern/mm.c (pupa_real_malloc): Print more information when a
	free magic is broken.
	(pupa_free): If the first free header is not free actually, set
	it to P.

	* kern/main.c (pupa_load_normal_mode): Just load the module
	"normal".
	(pupa_main): Don't print the message
	"Entering into rescue mode..." here.

	* include/pupa/i386/pc/loader.h (pupa_rescue_cmd_initrd):
	Declared.
	(pupa_rescue_cmd_initrd): Likewise.
	(pupa_rescue_cmd_initrd): Likewise.

	* include/pupa/symbol.h (FUNCTION): Specify the type.
	(VARIABLE): Likewise.

	* include/pupa/err.h (pupa_err_t): Added
	PUPA_ERR_UNKNOWN_COMMAND.

	* include/pupa/dl.h (pupa_dl_set_prefix): Exported.
	(pupa_dl_get_prefix): Likewise.

	* conf/i386-pc.rmk (pkgdata_MODULES): Added normal.mod.
	Added _chain.mod and _linux.mod instead of chain.mod and
	linux.mod.
	(chain_mod_SOURCES): Renamed to ...
	(_chain_mod_SOURCES): ... this.
	(chain_mod_CFLAGS): Renamed to ...
	(_chain_mod_CFLAGS): ... this.
	(linux_mod_SOURCES): Renamed to ...
	(_linux_mod_SOURCES): ... this.
	(linux_mod_CFLAGS): Renamed to ...
	(_linux_mod_CFLAGS): ... this.
	(normal_mod_SOURCES): New variable.
	(normal_mod_CFLAGS): Likewise.
	(normal_mod_ASFLAGS): Likewise.

2003-01-18  Yoshinori K. Okuji  <okuji@enbug.org>

	* kern/rescue.c (pupa_rescue_cmd_rmmod): Call pupa_dl_unload, if
	possible.

	* kern/dl.c (pupa_dl_ref): Refer dependending modules
	recursively.
	(pupa_dl_unref): Unrefer depending modules recursively.
	Don't call pupa_dl_unload implicitly, because PUPA can crash if
	a module is unloaded before one depending on that module is
	unloaded.
	(pupa_dl_unload): Unload depending modules explicitly,
	if possible.
2003-01-20 04:13:46 +00:00
boot/i386/pc 2003-01-03 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-02 20:12:33 +00:00
conf 2003-01-20 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-20 04:13:46 +00:00
disk/i386/pc 2003-01-03 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-02 20:12:33 +00:00
fs 2003-01-06 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-06 00:01:35 +00:00
include/grub 2003-01-20 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-20 04:13:46 +00:00
kern 2003-01-20 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-20 04:13:46 +00:00
loader/i386/pc 2003-01-20 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-20 04:13:46 +00:00
normal 2003-01-20 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-20 04:13:46 +00:00
term/i386/pc Initial revision 2002-12-27 08:53:07 +00:00
util 2003-01-07 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-07 07:54:07 +00:00
.cvsignore Initial revision 2002-12-27 08:53:07 +00:00
aclocal.m4 Initial revision 2002-12-27 08:53:07 +00:00
AUTHORS Initial revision 2002-12-27 08:53:07 +00:00
autogen.sh Initial revision 2002-12-27 08:53:07 +00:00
ChangeLog 2003-01-20 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-20 04:13:46 +00:00
config.guess Initial revision 2002-12-27 08:53:07 +00:00
config.h.in Initial revision 2002-12-27 08:53:07 +00:00
config.sub Initial revision 2002-12-27 08:53:07 +00:00
configure 2003-01-06 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-06 00:01:35 +00:00
configure.ac 2003-01-06 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-06 00:01:35 +00:00
COPYING Initial revision 2002-12-27 08:53:07 +00:00
genkernsyms.sh Initial revision 2002-12-27 08:53:07 +00:00
genmk.rb 2003-01-03 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-02 20:12:33 +00:00
genmodsrc.sh Initial revision 2002-12-27 08:53:07 +00:00
gensymlist.sh Initial revision 2002-12-27 08:53:07 +00:00
INSTALL Initial revision 2002-12-27 08:53:07 +00:00
install-sh Initial revision 2002-12-27 08:53:07 +00:00
Makefile.in 2003-01-03 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-02 20:12:33 +00:00
mkinstalldirs Initial revision 2002-12-27 08:53:07 +00:00
NEWS 2003-01-17 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-17 02:52:05 +00:00
README Initial revision 2002-12-27 08:53:07 +00:00
stamp-h.in Initial revision 2002-12-27 08:53:07 +00:00
THANKS Initial revision 2002-12-27 08:53:07 +00:00
TODO Update TODO. 2003-01-17 05:04:20 +00:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This is PUPA, the Preliminary Universal Programming Architecture for
GRUB.  PUPA is a research project for the next generation of GNU GRUB.
The most important goal is to make GNU GRUB cleaner, safer, more robust,
more powerful, and more portable.

See the file NEWS for a description of recent changes to PUPA.

See the file INSTALL for instructions on how to build and install the
PUPA data and program files.

Please visit the official web page of PUPA, for more information.
The URL is <http://www.nongnu.org/pupa/>.



Because PUPA is still in developmental stage, PUPA is not for general
use (yet). For now, you can install PUPA into a floppy by these
instructions:

$ configure && make
$ ./pupa-mkimage -v -d . -o core.img chain fat
$ dd if=boot.img of=/dev/fd0 bs=512 count=1
$ dd if=core.img of=/dev/fd0 bs=512 seek=1

It would be easier to use Bochs <http://bochs.sf.net/> than a real
machine.