aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/alpha
Commit message (Collapse)AuthorAgeFilesLines
* First pass at removing Alpha kernel support.John Baldwin2006-05-1136-3726/+0
| | | | Notes: svn path=/head/; revision=158458
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-03-171-1/+3
| | | | | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine) Notes: svn path=/head/; revision=156813
* Fix getsecs(). It was not counting the seconds right. The immediateMarcel Moolenaar2005-06-041-19/+46
| | | | | | | | | | | | | and visible effect of the bug what that autoboot would boot a kernel after only a couple of seconds had passed instead of waiting the full 10 seconds it's supposed to wait by default. Add my copyright notice, since one was missing and I reimplemented the one and only function in this file. MFC after: 1 week Notes: svn path=/head/; revision=146976
* Fix delay(). The processor cycle counter is a 32-bit wrapping counter.Marcel Moolenaar2005-06-041-5/+8
| | | | | | | | | Hence, mask off the upper 32 bits and deal with wrap-arounds. MFC after: 1 week Notes: svn path=/head/; revision=146973
* Add a missing const to alpha_setcurrdev() to quiet a warning.John Baldwin2005-05-312-2/+2
| | | | Notes: svn path=/head/; revision=146844
* Change the type the buf arg to the strategy routines from void * to char *John Baldwin2005-05-311-4/+4
| | | | | | | to quiet some warnings. Notes: svn path=/head/; revision=146843
* Whitespace.John Baldwin2005-05-311-1/+1
| | | | Notes: svn path=/head/; revision=146842
* NOFORTH -> NO_FORTHRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139123
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-213-3/+3
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Document MD commands.Ruslan Ermilov2004-10-011-0/+25
| | | | Notes: svn path=/head/; revision=136036
* Part 2 of fixing the boot code: gcc 3.4 fixes.Marcel Moolenaar2004-08-221-1/+1
| | | | | | | | | | | | The whole problem seems to be size. Which is odd, because it is said that size doesn't matter. Anyway... Add -Os to strategic places in the makefile to have the final loader be as mall as possible. This seems to be enough to make it work. For now... I think something is more fundamentally wrong; or something more fundamental is wrong. Potato, potaato. Notes: svn path=/head/; revision=134148
* Part 1 of fixing the boot code: binutils 2.15 fixes.Marcel Moolenaar2004-08-222-1/+202
| | | | | | | | | | | | | | | The binutils 2.15 assembler now automaticly and non-optionally adds the .eh_frame section for unwind information. This section appears to wreck havoc to the final boot code. Fix this by using a special linker script that discards the .eh_frame sections, but is otherwise identical to the linker internal script used for -N. Compiler used: gcc 3.3.5 Verified with: binutils 2.14 & binutils 2.15 (stock and in-tree) Tested with: /boot/loader & /boot/netboot Notes: svn path=/head/; revision=134140
* Remove advertising clause from University of California Regent's license,Warner Losh2004-04-051-4/+0
| | | | | | | | | per letter dated July 22, 1999. Approved by: core Notes: svn path=/head/; revision=127919
* Enable splitfs in the Alpha boot loaders.John Baldwin2004-03-251-0/+1
| | | | Notes: svn path=/head/; revision=127417
* Overhaul makefiles.Ruslan Ermilov2004-02-117-115/+61
| | | | Notes: svn path=/head/; revision=125719
* Convert to __FBSDID.David E. O'Brien2004-01-0415-31/+48
| | | | Notes: svn path=/head/; revision=124139
* Enable the i386 loader to load and run an amd64 kernel. If this putsPeter Wemm2003-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. Notes: svn path=/head/; revision=114379
* Cut&Paste considered far too easy:Poul-Henning Kamp2003-04-161-1/+0
| | | | | | | Don't include <sys/disklabel.h> Notes: svn path=/head/; revision=113583
* Libdisk does not need to include <sys/diskslice.h> any more.Poul-Henning Kamp2003-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. Notes: svn path=/head/; revision=113083
* Consistently use NOFORTH to control the usage of ficl.David E. O'Brien2003-02-261-1/+3
| | | | Notes: svn path=/head/; revision=111536
* Link /boot/boot1 to the name /boot/boot to avoid per-arch naming of thePoul-Henning Kamp2003-01-261-0/+1
| | | | | | | bootstrap code for disklabel using architectures. Notes: svn path=/head/; revision=109888
* Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c.Jake Burkholder2002-12-191-1/+1
| | | | Notes: svn path=/head/; revision=108100
* Enable UFS2 support in boot1. Just as with sparc64 the same boot1 worksJohn Baldwin2002-11-271-1/+0
| | | | | | | | | great with both UFS1 and UFS2 filesystems. Approved by: re Notes: svn path=/head/; revision=107352
* Ups, forgot to tell cvs commit about this file.Poul-Henning Kamp2002-10-071-0/+1
| | | | | | | | | Move UFS1_ONLY to Makefiles instead of common/ufsread.c Sponsored by: DARPA & NAI Labs Notes: svn path=/head/; revision=104613
* Remove a couple of __P() stragglers.Peter Wemm2002-06-292-7/+7
| | | | Notes: svn path=/head/; revision=99013
* #include <sys/disklabel.h> to get BBSIZE.Poul-Henning Kamp2002-06-111-0/+1
| | | | Notes: svn path=/head/; revision=98113
* Make the alpha architecture use the common ufsread().Poul-Henning Kamp2002-06-113-279/+44
| | | | | | | Submitted by: ticso Notes: svn path=/head/; revision=98110
* More s/file system/filesystem/gTom Rhodes2002-05-161-1/+1
| | | | Notes: svn path=/head/; revision=96755
* Even more BBSIZE related breakage.Ruslan Ermilov2002-05-141-0/+1
| | | | Notes: svn path=/head/; revision=96583
* Major cleanup of bsd.lib.mk.Ruslan Ermilov2002-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. Notes: svn path=/head/; revision=96512
* Back out last commit. I expect our bsd.*.mk gods to remove the need forDavid E. O'Brien2002-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. Notes: svn path=/head/; revision=96455
* NOPIC, NOPROFILE, NOMAN, and INTERNALSTATICLIB are redundant when usingDavid E. O'Brien2002-05-111-2/+0
| | | | | | | INTERNALLIB now. Notes: svn path=/head/; revision=96415
* -ffreestanding is the word.David E. O'Brien2002-05-105-11/+12
| | | | | | | | (also resort some CFLAGS such that the more "important" value are first so they are easier to see) Notes: svn path=/head/; revision=96342
* Cut more than 500 bytes off the size of the alpha boot1 by addingIan Dowse2002-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 Notes: svn path=/head/; revision=89519
* Make the alpha boot1 work on filesystems that have a block sizeIan Dowse2002-01-111-23/+40
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=89265
* Catch the netboot version up to the main loader. This is pretty bogus.John Baldwin2002-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. Notes: svn path=/head/; revision=89242
* - Add 'fwrite' and 'fseek' words for writing to and seeking on files.John Baldwin2001-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. Notes: svn path=/head/; revision=87636
* Bump the CD boot loader up to 1.1 so that the FICL upgrade a while backJohn Baldwin2001-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. Notes: svn path=/head/; revision=86753
* Create backup copies using install(1).Ruslan Ermilov2001-09-121-3/+1
| | | | Notes: svn path=/head/; revision=83368
* Don't clobber the default for CFLAGS.Bruce Evans2001-08-311-1/+1
| | | | | | | Reviewed by: dfr Notes: svn path=/head/; revision=82645
* Style cleanup.David E. O'Brien2001-08-101-2/+2
| | | | Notes: svn path=/head/; revision=81488
* Work around what looks like a bad make(1) bug. For some reason,Peter Wemm2001-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. Notes: svn path=/head/; revision=78335
* Nuke old gensetdefs based linker sets with extreme prejudicePeter Wemm2001-06-141-11/+2
| | | | Notes: svn path=/head/; revision=78195
* Revert the ugly band-aide[tm] hack of rev 1.12.David E. O'Brien2001-05-291-6/+2
| | | | | | | The offending loader.4th commit (rev 1.20) has been backed out. Notes: svn path=/head/; revision=77377
* One needs to introduce things with a `.file' directive before trying toDavid E. O'Brien2001-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. Notes: svn path=/head/; revision=77327
* grep -v offending lines from loader.4th until the master version of itDavid E. O'Brien2001-05-281-2/+6
| | | | | | | is fixed. Notes: svn path=/head/; revision=77297
* Add the generated help files to CLEANDIRS.David E. O'Brien2001-05-281-0/+1
| | | | | | | Found by: rm -rf /usr/obj/usr/src/sys/boot ; make ; make clean ; cvs -q up Notes: svn path=/head/; revision=77295
* no longer needed now that we are able to build cdboot from sources againAndrew Gallatin2001-04-081-1554/+0
| | | | Notes: svn path=/head/; revision=75300
* build cdboot from sources now that the cd9660 fs support worksAndrew Gallatin2001-04-071-5/+4
| | | | | | | MFC candidate Notes: svn path=/head/; revision=75299