summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
* Remove advertising clause from University of California Regent's license,imp2004-04-059-36/+0
| | | | | | per letter dated July 22, 1999. Approved by: core
* To quote the submitter:marcel2004-04-041-3/+15
| | | | | | | | | | | | | | | | | | | "...If "keyboard" is the selected input-device and "screen" the output-device (both via /options) but the keyboard is unplugged, OF automatically switches to ttya for the console, it even prints a line telling so on "screen". Solaris respects this behaviour and uses ttya as the console in this case and people probably expect FreeBSD to do the same (it's also very handy to temporarily switch consoles)..." "...I changed the comparison of the console device with "ttya" || "ttyb" to "tty" because on AXe boards all 4 onboard UARTs end in SUB-D connectors (ttya and ttyb being 16550 and ttyc and ttyd a SAB82532) and there's no Sun keyboard connector (but PS/2). If one plugs a serial card in a box there also can be more than just ttya and ttyb available for a console..." Submitted by: Marius Strobl <marius@alchemy.franken.de> Has no doubt that the change is correct: marcel
* mdoc fix: put the end-of-list macro after the last list element.le2004-04-031-1/+1
| | | | Approved by: grog (mentor)
* Bring back jhb's two sector (1024 bytes) 'boot0' [rev 1.22] as 'boot0ext'.obrien2004-03-263-0/+981
|
* Enable splitfs in the Alpha boot loaders.jhb2004-03-251-0/+1
|
* MFi386: revision 1.29.nyan2004-03-141-2/+2
|
* MFi386: revision 1.76.nyan2004-03-141-2/+5
|
* Fixed misspellings of 0 as NULL.bde2004-03-141-2/+2
|
* These are changes to allow to use the Intel C/C++ compiler (lang/icc)trhodes2004-03-123-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to build the kernel. It doesn't affect the operation if gcc. Most of the changes are just adding __INTEL_COMPILER to #ifdef's, as icc v8 may define __GNUC__ some parts may look strange but are necessary. Additional changes: - in_cksum.[ch]: * use a generic C version instead of the assembly version in the !gcc case (ASM code breaks with the optimizations icc does) -> no bad checksums with an icc compiled kernel Help from: andre, grehan, das Stolen from: alpha version via ppc version The entire checksum code should IMHO be replaced with the DragonFly version (because it isn't guaranteed future revisions of gcc will include similar optimizations) as in: ---snip--- Revision Changes Path 1.12 +1 -0 src/sys/conf/files.i386 1.4 +142 -558 src/sys/i386/i386/in_cksum.c 1.5 +33 -69 src/sys/i386/include/in_cksum.h 1.5 +2 -0 src/sys/netinet/igmp.c 1.6 +0 -1 src/sys/netinet/in.h 1.6 +2 -0 src/sys/netinet/ip_icmp.c 1.4 +3 -4 src/contrib/ipfilter/ip_compat.h 1.3 +1 -2 src/sbin/natd/icmp.c 1.4 +0 -1 src/sbin/natd/natd.c 1.48 +1 -0 src/sys/conf/files 1.2 +0 -1 src/sys/conf/files.amd64 1.13 +0 -1 src/sys/conf/files.i386 1.5 +0 -1 src/sys/conf/files.pc98 1.7 +1 -1 src/sys/contrib/ipfilter/netinet/fil.c 1.10 +2 -3 src/sys/contrib/ipfilter/netinet/ip_compat.h 1.10 +1 -1 src/sys/contrib/ipfilter/netinet/ip_fil.c 1.7 +1 -1 src/sys/dev/netif/txp/if_txp.c 1.7 +1 -1 src/sys/net/ip_mroute/ip_mroute.c 1.7 +1 -2 src/sys/net/ipfw/ip_fw2.c 1.6 +1 -2 src/sys/netinet/igmp.c 1.4 +158 -116 src/sys/netinet/in_cksum.c 1.6 +1 -1 src/sys/netinet/ip_gre.c 1.7 +1 -2 src/sys/netinet/ip_icmp.c 1.10 +1 -1 src/sys/netinet/ip_input.c 1.10 +1 -2 src/sys/netinet/ip_output.c 1.13 +1 -2 src/sys/netinet/tcp_input.c 1.9 +1 -2 src/sys/netinet/tcp_output.c 1.10 +1 -1 src/sys/netinet/tcp_subr.c 1.10 +1 -1 src/sys/netinet/tcp_syncache.c 1.9 +1 -2 src/sys/netinet/udp_usrreq.c 1.5 +1 -2 src/sys/netinet6/ipsec.c 1.5 +1 -2 src/sys/netproto/ipsec/ipsec.c 1.5 +1 -1 src/sys/netproto/ipsec/ipsec_input.c 1.4 +1 -2 src/sys/netproto/ipsec/ipsec_output.c and finally remove sys/i386/i386 in_cksum.c sys/i386/include in_cksum.h ---snip--- - endian.h: * DTRT in C++ mode - quad.h: * we don't use gcc v1 anymore, remove support for it Suggested by: bde (long ago) - assym.h: * avoid zero-length arrays (remove dependency on a gcc specific feature) This change changes the contents of the object file, but as it's only used to generate some values for a header, and the generator knows how to handle this, there's no impact in the gcc case. Explained by: bde Submitted by: Marius Strobl <marius@alchemy.franken.de> - aicasm.c: * minor change to teach it about the way icc spells "-nostdinc" Not approved by: gibbs (no reply to my mail) - bump __FreeBSD_version (lang/icc needs to know about the changes) Incarnations of this patch survive gcc compiles since a loooong time, I use it on my desktop. An icc compiled kernel works since Nov. 2003 (exceptions: snd_* if used as modules), it survives a build of the entire ports collection with icc. Parts of this commit contains suggestions or submissions from Marius Strobl <marius@alchemy.franken.de>. Reviewed by: -arch Submitted by: netchild
* Fixed a misspelling of 0 as NULL.bde2004-03-111-1/+1
|
* Reset the text attributes when initializing the console. The EFImarcel2004-03-091-0/+1
| | | | | loader typically doesn't do this so that we end up booting the with whatever the EFI loader has set it to last.
* While I'm here, add linprocfs (but not pseudofs, since it is no use ondes2004-03-011-0/+1
| | | | its own)
* Add acpi_video_load (default NO) in the ACPI sectiondes2004-03-011-0/+1
|
* For some reason crt0.o needs to be linked first for pxeboot(8) toru2004-02-271-2/+5
| | | | | | work. This is odd because loader(8) doesn't suffer from this problem. Perhaps pxeboot bootstrap can be fixed to handle this better. Anyway, PXE booting should work again.
* Tweak existing header and other build infrastructure to be able to buildmlaier2004-02-261-0/+3
| | | | | | | pf/pflog/pfsync as modules. Do not list them in NOTES or modules/Makefile (i.e. do not connect it to any (automatic) builds - yet). Approved by: bms(mentor)
* Re-add sio.S, and properly deal with assembler files.ru2004-02-174-383/+8
| | | | Repocopied by: joe
* Fix the AMD64 build: this file shouldn't exist.obrien2004-02-161-80/+0
|
* mdoc(7) janitor:simon2004-02-151-18/+32
| | | | | | - Fix hard sentence breaks. - Quote argument to the Nd macro. - Use Pa for filenames.
* Fix hw.acpi.os_name by renaming it to hw.acpi.osname. The "_name" suffixnjl2004-02-141-0/+4
| | | | | | | | | | is reserved by the loader, and thus any tunable name with that suffix will be silently discarded. Document this in the header and man page so that other developers do not develop so many bumps on the head after banging it against the wall. Detective work by: Mark Santcroos, grehan
* MFi386: Get rid of unnecessary use of m4(1) by using cpp(1) instead.nyan2004-02-136-1893/+107
| | | | Repocopied by: joe
* MFi386: revisions 1.74 and 1.75.nyan2004-02-131-3/+1
| | | | | - kzip(8) is long dead. - Clean CLEANFILES.
* MFi386: revision 1.20 (don't strip kgzldr.o)nyan2004-02-131-0/+1
|
* Don't create a mapfile during link. It's not needed for the build.marcel2004-02-134-8/+8
|
* o Don't build with -fpic. It's not needed and inconsistent with howmarcel2004-02-132-10/+0
| | | | | other constributions are compiled. o Remove powerpc specific additions to CFLAGS.
* Fixed the fatal bug introduced in previous commit: don't stripru2004-02-121-0/+1
| | | | kgzldr.o -- kgzipping with such a loader produces bad images.
* Clean CLEANFILES.ru2004-02-121-1/+1
|
* Tidy up makefiles.ru2004-02-128-264/+74
| | | | Tested by: marcel
* kzip(8) is long dead.ru2004-02-111-2/+0
|
* Overhaul makefiles.ru2004-02-117-115/+61
|
* _start.S -> _start.s as the latter is pure asm file.ru2004-02-112-9/+1
| | | | Repocopied by: joe
* Get rid of unnecessary use of m4(1) by using cpp(1) instead.ru2004-02-119-1925/+53
| | | | | | | | (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
* Since loader(8) on SPARC64 is a pure ELF executable (as opposedru2004-02-101-1/+0
| | | | | | to other architectures), there is no reason not to strip(1) it. Tested by: kensmith
* Loader makefile cleanup.grehan2004-02-092-92/+38
| | | | Submitted by: ru
* MFi386: Factor out -nostdlib and use PROG.nyan2004-02-099-54/+55
|
* MFi386.ru2004-02-093-52/+28
| | | | | | | | - Factor out common settings and put them in an upper level Makefile.inc. - Properly use PROG for real programs, not their products. - Further reduce diffs to i386 versions. Tested on: sparc64 (panther)
* - Factor out -nostdlib to an upper level Makefile.inc.ru2004-02-0912-58/+64
| | | | | | | | | | | - 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
* Argh, unbreak "make depend" for AMD64.ru2004-02-074-6/+9
| | | | Reported by: kris
* MFi386: Removed -elf and duplicate -ffreestanding.ru2004-02-074-9/+3
|
* - Removed -elf which is not a valid gcc(1) option anymore.ru2004-02-075-9/+3
| | | | - Removed -ffreestanding; it's enforced by ../Makefile.inc.
* Generate .depend file.ru2004-02-072-0/+4
|
* MFi386: Cleanups to sys/boot makefiles.nyan2004-02-079-104/+70
|
* Style: use the defined() expression explicitly.ru2004-02-071-3/+3
|
* Untangle building of AMD64 boot code.ru2004-02-077-28/+13
| | | | Tested on: amd64 (sledge)
* First round of cleanups to sys/boot/ makefiles:ru2004-02-0612-249/+186
| | | | | | | | | | | | - 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-068-7/+2
|
* Only include ../Makefile.inc once in loader/Makefile.ru2004-02-062-5/+2
|
* MFi386: revision 1.33nyan2004-01-282-2/+2
| | | | PR: kern/62005
* Sync with Oxford Dictionary. Style (add missing full stops) while I'm here.schweikh2004-01-271-5/+5
|
* Rename the kern.vm.kmem.size tunable to the more logical vm.kmem_size. Todes2004-01-273-7/+7
| | | | | | | | | | | assure backward compatibility (conditional on !BURN_BRIDGES), look it up by its old name first, and log a warning (but accept the setting) if it was found. If both the old and new name are defined, the new name takes precedence. Also export vm.kmem_size as a read-only sysctl variable; I find it hard to tune a parameter when I don't know its default value, especially when that default value is computed at boot time.
* If a transfer to or from a floppy disk crosses a 64k boundary, we have tojhb2004-01-211-2/+2
| | | | | | | | | | | | | | | use a bounce buffer for the actual transfer to avoid crossing a 64k boundary. To do this, we malloc a buffer twice as big as we need and then find an aligned block within that buffer to do the transfer. The check to see which part of the block we use used the wrong variable for part of the condition meaning that in certain edge cases we would ask the BIOS to cross a 64k boundary. The BIOS request would then fail resulting in file transfers that just magically fail in the middle without any apparent reason. Specifically, my tests for the splitfs boot floppies managed to trigger this edge case. MFC after: 1 week X-MFC-info: along with fixes to libstand filesystems
OpenPOWER on IntegriCloud