No description
Find a file
okuji 012d7999fe 2003-01-03 Yoshinori K. Okuji <okuji@enbug.org>
* util/i386/pc/pupa-setup.c (setup): Define the internal
	function find_first_partition_start at the top level, because GCC
	3.0.x cannot compile internal functions in deeper scopes
	correctly.
	(find_root_device): Use lstat instead of stat.
	Don't follow symbolic links.
	Fix the path-constructing code.

	* util/i386/pc/biosdisk.c [__linux__] (BLKFLSBUF): New macro.
	(pupa_util_biosdisk_open) [__linux__]: Get the size of a device
	by a BLKGETSIZE ioctl first, because block devices don't fill
	the member st_mode of the structure stat on Linux.
	[__linux__] (linux_find_partition): Use a temporary buffer
	REAL_DEV for the working space. Copy it to DEV before returning.
	(open_device) [__linux__]: Call ioctl with BLKFLSBUF to make the
	buffer cache consistent.
	(get_os_disk) [__linux__]: Use the length 5 instead of 4 for
	strncmp. The previous value was merely wrong.
	(pupa_util_biosdisk_get_pupa_dev): Use stat instead of lstat.

	* fs/fat.c (pupa_fat_read_data): Shift 4 instead of 12 when the
	FAT size is 12. The previous value was merely wrong.

	* kern/main.c (pupa_main): Don't split the starting message from
	newlines.

	* kern/term.c (pupa_putchar): Put CR after LF instead of before
	LF, because BIOS goes crazy about character attributes in this
	case.
2003-01-02 23:46:21 +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-03 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-02 20:12:33 +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-03 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-02 23:46:21 +00:00
include/grub 2003-01-03 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-02 20:12:33 +00:00
kern 2003-01-03 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-02 23:46:21 +00:00
loader/i386/pc Initial revision 2002-12-27 08:53:07 +00:00
term/i386/pc Initial revision 2002-12-27 08:53:07 +00:00
util 2003-01-03 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-02 23:46:21 +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-03 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-02 23:46:21 +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 2002-12-27 Yoshinori K. Okuji <okuji@enbug.org> 2002-12-27 14:14:06 +00:00
configure.ac 2002-12-27 Yoshinori K. Okuji <okuji@enbug.org> 2002-12-27 14:14:06 +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-03 Yoshinori K. Okuji <okuji@enbug.org> 2003-01-02 23:46:21 +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 Initial revision 2002-12-27 08:53:07 +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.