summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/pxeldr
Commit message (Collapse)AuthorAgeFilesLines
* Back out last revision that unnecessarily changed valid assemblerru2004-05-141-167/+163
| | | | | | line comments and damaged the CVS history. Prompted by: bde, jhb
* After talking to Bruce Evans and reading more standards specs,ru2004-04-281-163/+167
| | | | | | | | | switch to using C99-style comments everywhere in preprocessed assembler. The reason is that lines starting with the regexp '^[[:space:]]#' are treated as preprocessing directives, and while it seems to work now with GCC, it's not necessarily has to work. Use C99 comments `//' for the trailing comments to save whitespace.
* Use C (and CPP) style comments for assembler-with-cpp sources,ru2004-04-281-94/+96
| | | | for lines that start with a comment.
* Removed now redundant CLEANFILES assignments.ru2004-04-271-2/+0
| | | | Not read enough of my patch by: obrien ;)
* Use a more compact syntax for passing the "binary" options to 'ld'.obrien2004-04-251-1/+1
|
* Simplify the building of our i386 'binary' boot components by directlyobrien2004-04-251-5/+2
| | | | | | producing them using 'ld' options rather than post-processing with 'objcopy'. Idea by: Ryan Sommers <ryans@gamersimpact.com>
* Get rid of unnecessary use of m4(1) by using cpp(1) instead.ru2004-02-113-299/+7
| | | | | | | | (John tells me there were problems when trying this before, but it appears to be safe these day.) OK'ed by: jhb Repocopied by: joe
* - Factor out -nostdlib to an upper level Makefile.inc.ru2004-02-091-7/+5
| | | | | | | | | | | - Now that bsd.prog.mk deals with programs linked with -nostdlib better, and has a notion of an "internal" program, use PROG where possible. This has a good impact on the contents of .depend files and causes programs to be linked with cc(1). XXX: boot2 couldn't be converted as it's actually two programs. Tested on: i386, amd64
* First round of cleanups to sys/boot/ makefiles:ru2004-02-061-30/+26
| | | | | | | | | | | | - do not use PROG for what's not a real C program, - use sys.mk transformation rules where possible, - only create the "machine" symlink on AMD64, - removed MAINTAINER lines in individual makefiles, - added the LIBSTAND defitinion to <bsd.libnames.mk>, - somewhat better contents in .depend files. Tested on: i386, amd64 Prodded by: bde
* Inherit BINDIR from a parent Makefile.inc.ru2004-02-061-1/+0
|
* Add BOOT_PXELDR_ALWAYS_SERIAL option which forces serial console.phk2003-09-033-0/+15
|
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-5/+0
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Try #2 at having /boot/loader default to ELF. Have pxeldr build itspeter2002-08-291-3/+18
| | | | | own a.out version of loader.bin rather than depend on ../loader/loader being a.out.
* The .Nm bootloadercharnier2002-07-141-5/+10
|
* Allow for text section alignment to properly align the "end" symbol at themp2001-08-092-0/+2
| | | | | | | | | | | | actual end of the section. The new gas (binutils) puts in additional padding which was misaligning the concatenated btx loader. Reported by: Oliver Hartmann <ohartman@klima.physik.uni-mainz.de>, Harti Brandt <brandt@fokus.gmd.de> Tested by: Oliver Hartmann <ohartman@klima.physik.uni-mainz.de>, David Wolfskill <dhw@whistle.com>, ps Reviewed by: jhb MFC after: 1 day
* Trim trailing whitespace.jhb2001-08-092-12/+12
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Fix typo: seperate -> separate.asmodai2001-02-062-2/+2
| | | | Seperate does not exist in the english language.
* Set the proper bit in the howto flags for a serial console rather thanjhb2000-11-302-4/+4
| | | | setting the index of the bit. (0xc vs. 0x1000)
* Add support for probing the keyboard from pxeboot which will behaveps2000-11-303-0/+44
| | | | | | exactly the same as passing -P to boot2. Submitted by: jhb
* mdoc(7) police: do not split author names in the AUTHORS section.ru2000-11-221-3/+4
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* "it's" --> "its" (possessive).mph2000-11-011-2/+2
| | | | Correct a malformed sentence.
* Remove commented out NOMAN variable.jhb2000-07-071-1/+0
|
* Grrr, fix a silly 'movl' -> 'movw' typo in both pxeldr and cdldr. Also,jhb2000-05-233-5/+2
| | | | remove unnecessary cruft from the Makefiles for both.
* Clean up all of the 16-bit assembly code in the x86 bootstrap to workjhb2000-05-232-38/+30
| | | | | | | | with the new binutils. Now that we have a decent assembler, all the old m4 macros are no longer needed. Instead, straight assembly can be used since as(1) now understands 16-bit addressing, branches, etc. Also, several bugs have been fixed in as(1), allowing boot0.s to be further cleaned up.
* Remove metion of the 'magic options.' Apparently PXE doesn't require thedwhite2000-05-091-14/+1
| | | | | special options on 0.99c (it mumbles something about 'PXE server not found' but works anyway), and it won't work at all with PXE 2.0.
* Add man page for pxeboot.dwhite2000-05-022-1/+132
| | | | Reviewed By: asmodai
* Mega i386 loader commit.jhb2000-03-283-0/+574
- Don't hard code 0x10000 as the entry point for the loader. Instead add src/sys/boot/i386/Makefile.inc which defines a make variable with the entry point for the loader. Move the loader's entry point up to 0x20000, which makes PXE happy. - Don't try to use cpp to parse btxldr for the optional BTXLDR_VERBOSE, instead use m4 to achieve this. Also, add a BTXLDR_VERBOSE knob in the btxldr Makefile to turn this option on. - Redo parts of cdldr's Makefile so that it now builds and installs cdboot instead of having i386/loader/Makefile do that. Also, add in some more variables to make the pxeldr Makefile almost identical and thus to ease maintainability. - Teach cdldr about the a.out format. Cdldr now parsers the a.out header of the loader binary and relocates it based on that. The entry point of the loader no longer has to be hardcoded into cdldr. Also, the boot info table from mkisofs is no longer required to get a useful cdboot. - Update the lsdev function for BIOS disks to parse other file systems (such as DOS FAT) that we currently support. This is still buggy as it assumes that a floppy with a DOS boot sector actually has a MBR and parses it as such. I'll be fixing this in the future. - The biggie: Add in support for booting off of PXE-enabled network adapters. Currently, we use the TFTP API provided by the PXE BIOS. Eventually we will switch to using the low-level NIC driver thus allowing both TFTP and NFS to be used, but for now it's just TFTP. Submitted by: ps, alfred Testing by: Benno Rice <benno@netizen.com.au>
OpenPOWER on IntegriCloud