summaryrefslogtreecommitdiffstats
path: root/sys/boot/alpha
Commit message (Collapse)AuthorAgeFilesLines
* Remove advertising clause from University of California Regent's license,imp2004-04-051-4/+0
| | | | | | per letter dated July 22, 1999. Approved by: core
* Enable splitfs in the Alpha boot loaders.jhb2004-03-251-0/+1
|
* Overhaul makefiles.ru2004-02-117-115/+61
|
* Convert to __FBSDID.obrien2004-01-0415-31/+48
|
* Enable the i386 loader to load and run an amd64 kernel. If this putspeter2003-05-011-3/+3
| | | | | | | | | | | | | | | things over floppy size limits, I can exclude it for release builds or something like that. Most of the changes are to get the load_elf.c file into a seperate elf32_ or elf64_ namespace so that you can have two ELF loaders present at once. Note that for 64 bit kernels, it actually starts up the kernel already in 64 bit mode with paging enabled. This is really easy because we have a known minimum feature set. Of note is that for amd64, we have to pass in the bios int 15 0xe821 memory map because once in long mode, you absolutely cannot make VM86 calls. amd64 does not use 'struct bootinfo' at all. It is a pure loader metadata startup, just like sparc64 and powerpc. Much of the infrastructure to support this was adapted from sparc64.
* Cut&Paste considered far too easy:phk2003-04-161-1/+0
| | | | Don't include <sys/disklabel.h>
* Libdisk does not need to include <sys/diskslice.h> any more.phk2003-04-042-2/+0
| | | | | | | | | Move the remaining bits of <sys/diskslice.h> to <i386/include/bootinfo.h> Move i386/pc98 specific bits from <sys/reboot.h> to <i386/include/bootinfo.h> as well. Adjust includes in sys/boot accordingly.
* Consistently use NOFORTH to control the usage of ficl.obrien2003-02-261-1/+3
|
* Link /boot/boot1 to the name /boot/boot to avoid per-arch naming of thephk2003-01-261-0/+1
| | | | bootstrap code for disklabel using architectures.
* Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c.jake2002-12-191-1/+1
|
* Enable UFS2 support in boot1. Just as with sparc64 the same boot1 worksjhb2002-11-271-1/+0
| | | | | | great with both UFS1 and UFS2 filesystems. Approved by: re
* Ups, forgot to tell cvs commit about this file.phk2002-10-071-0/+1
| | | | | | Move UFS1_ONLY to Makefiles instead of common/ufsread.c Sponsored by: DARPA & NAI Labs
* Remove a couple of __P() stragglers.peter2002-06-292-7/+7
|
* #include <sys/disklabel.h> to get BBSIZE.phk2002-06-111-0/+1
|
* Make the alpha architecture use the common ufsread().phk2002-06-113-279/+44
| | | | Submitted by: ticso
* More s/file system/filesystem/gtrhodes2002-05-161-1/+1
|
* Even more BBSIZE related breakage.ru2002-05-141-0/+1
|
* Major cleanup of bsd.lib.mk.ru2002-05-131-4/+0
| | | | | | | Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB. INTERNALLIB now means to build static library only and don't install anything. Added a NOINSTALLLIB knob for libpam/modules. To not build any library at all, just do not set LIB.
* Back out last commit. I expect our bsd.*.mk gods to remove the need forobrien2002-05-121-0/+2
| | | | | defining so many extra things in addition to INTERNALLIB. We don't like repetitive C code and we shouldn't for make code either.
* NOPIC, NOPROFILE, NOMAN, and INTERNALSTATICLIB are redundant when usingobrien2002-05-111-2/+0
| | | | INTERNALLIB now.
* -ffreestanding is the word.obrien2002-05-105-11/+12
| | | | | (also resort some CFLAGS such that the more "important" value are first so they are easier to see)
* Cut more than 500 bytes off the size of the alpha boot1 by addingiedowse2002-01-181-0/+10
| | | | | | | | | a simple version of bcopy() so we avoid picking up the overly-complex implementation in libc (via libstand). This is not necessary on -current, but RELENG_4 has apparently just exceeded the 15-sector limit for boot1. Reviewed by: wilko
* Make the alpha boot1 work on filesystems that have a block sizeiedowse2002-01-111-24/+41
| | | | | | | | | | | larger than 8k. We now use 4k buffers regardless of the filesystem block size, so there is no longer a static limit. Simply increasing the buffer size from 8k to 16k as done on the i386 doesn't work on the alpha, probably because it causes us to overshoot boot1's 48k runtime memory limit. Tested by: naddy
* Catch the netboot version up to the main loader. This is pretty bogus.jhb2002-01-111-0/+5
| | | | | | | | All the alpha loaders should use the same version file. Also, we might should merge the various loaders (cdboot, loader, netboot) into one loader that can boot off of disks, CD's, and network devices. The version bump is needed so the FICL scripts won't bomb out thinking that the netboot binary is too old.
* - Add 'fwrite' and 'fseek' words for writing to and seeking on files.jhb2001-12-112-0/+2
| | | | | | | | | | | | | - Change the 'fopen' keyword to accept a mode parameter. Note that this will break existing 4th scripts that use fopen. Thus, the loader version has been bumped and loader.4th has been changed to check for a sufficient version on i386 and alpha. Be sure that you either do a full world build or install or full build and install of sys/boot after this since loader.old won't work with the new 4th files and vice versa. PR: kern/32389 Submitted by: Jonathan Mini <mini@haikugeek.com> Sponsored by: ClickArray, Inc.
* Bump the CD boot loader up to 1.1 so that the FICL upgrade a while backjhb2001-11-211-0/+1
| | | | | will not fail thinking that the loader version is stale. This lets us use the Forth code on the CD now.
* Create backup copies using install(1).ru2001-09-121-3/+1
|
* Don't clobber the default for CFLAGS.bde2001-08-311-1/+1
| | | | Reviewed by: dfr
* Style cleanup.obrien2001-08-101-2/+2
|
* Work around what looks like a bad make(1) bug. For some reason,peter2001-06-161-5/+3
| | | | | | | | | | | | | | | | | | make(1) wants to build loader.sym *before* the .o files. Eliminating one seeminly intermediate step avoids the problem. Somehow, it seems that variables are not getting expanded at the right time. Any explanations would be appreciated... Changing: ${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o ${LD} ... To: BASEOBJS= ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o ${BASE}.sym: ${BASEOBJS} echo ${BASEOBJS} ${LD} ... .. the echo only shows LIBFICL, CRT and vers.o. ${OBJS} is not included.
* Nuke old gensetdefs based linker sets with extreme prejudicepeter2001-06-141-11/+2
|
* Revert the ugly band-aide[tm] hack of rev 1.12.obrien2001-05-291-6/+2
| | | | The offending loader.4th commit (rev 1.20) has been backed out.
* One needs to introduce things with a `.file' directive before trying toobrien2001-05-281-1/+2
| | | | | do a .loc on it. BTW, the .loc needs to be in a .text section. gas 2.11.0 catches these oversights where previous versions did not.
* grep -v offending lines from loader.4th until the master version of itobrien2001-05-281-2/+6
| | | | is fixed.
* Add the generated help files to CLEANDIRS.obrien2001-05-281-0/+1
| | | | Found by: rm -rf /usr/obj/usr/src/sys/boot ; make ; make clean ; cvs -q up
* no longer needed now that we are able to build cdboot from sources againgallatin2001-04-081-1554/+0
|
* build cdboot from sources now that the cd9660 fs support worksgallatin2001-04-071-5/+4
| | | | MFC candidate
* Don't call prom_open() multiple times. This confuses some versions of SRMdfr2001-04-051-8/+22
| | | | | | | and makes it impossible to boot from floppy and CD on some AlphaServer platforms. Detective work by: Michael Richards <michael@fastmail.ca>
* Fix whitespace.obrien2001-03-041-2/+2
|
* Preceed/preceeding are not english words. Use precede or preceding.asmodai2001-02-181-1/+1
|
* `cdboot' is broken as it cannot load a kernel.obrien2000-11-272-4/+1559
| | | | | | The release engineer keeps using the wrong /boot/cdboot when creating the ISO images. So we'll add the 4.0-RELEASE cdboot to the tree until someone bothers to fix the source so a working `cdboot' is built.
* init booted_kernel from environment kernelname (if there)mjacob2000-11-141-0/+6
|
* move init of booted_kernel to bootinfo.cmjacob2000-11-141-4/+2
|
* Backout revision 1.7 which was a bad idea since it would force peopledfr2000-10-271-1/+1
| | | | | | | | | | to reinstall boot1 after a 'make world'. Unfortunately this means that people who have already installed a new boot1 from a 'make world' after 2000/09/18 *must* reinstall it after their next build using something like: # disklabel -B /dev/da0c
* Install the loader manpages.obrien2000-10-261-1/+0
|
* Move the call to extend_heap() from main to start so that if our BSSdfr2000-10-252-3/+6
| | | | | | expands beyond the limit we will extend the address space before trying to zero the BSS. This should give us plenty of headroom for modest expansion of the loader.
* Don't build start.S as part of libalpha.a - its built specially.dfr2000-10-251-1/+1
|
* Make a few functions inline to save space.dfr2000-10-251-3/+3
|
* Steal 512KB more from system memory for heap instead of 256KB. We diedmjacob2000-09-181-9/+11
| | | | without the extra space. What a pity.
* Run SECONDARY_LOAD_ADDRESS down to 0x2000a000- this still leavesmjacob2000-09-181-1/+1
| | | | | (barely) enough room for boot1 and gives us 8KB more to play with in the loader.
OpenPOWER on IntegriCloud