summaryrefslogtreecommitdiff
path: root/sys/arch/vax/stand
AgeCommit message (Collapse)Author
2013-07-13Rework multiline string literal to appease gcc3.Miod Vallat
2013-07-05VAX ELF boot block bits, and version crank.Miod Vallat
2013-06-29Pass -D_LOCORE when building .S files.Miod Vallat
2012-08-21Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always bePascal Stumpf
built with -fno-pie. This gets the hairiest part of PIE out of the way ... ok deraadt@
2011-09-29Get size of struct disklabel for the sake of the assembly code with aMiod Vallat
genassym script, instead of relying upon <sys/disklabel.h> to provide them as proper .set statements if _LOCORE is defined. Requested by weingart@ long ago; ok jsing@ krw@
2011-09-19Try and clean system type constants a bit:Miod Vallat
- save the second byte of vax_siedata into a new variable, vax_cpustype, and use it instead of (vax_siedata >> 8) & 0xff or other similar constructs. - the VAX_SIE_KAxxx constants are duplicates of the VAX_STYP_xx constants. Standardize on the latter and kill the former. - only keep VAX_VTYP_xx constants for KA46 and KA47, those are the only systems which use these constants and are told apart by a different SIE byte. No functional change intended.
2011-07-06Remove support for non-microVAX, non-VAXstation, non-VXT hardware in theMiod Vallat
VAX port. This means, 11/7xx, VAX6000 and VAX8x00 systems, as well as SBI, CMI, BI, XMI and MASSBUS drivers. Most of these files were not being compiled or kept in compilable state over the years anyway.
2011-06-06Remove strcat and strncmp which are both unused, thereby slightly shrinking ↵Jasper Lievisse Adriaanse
the bootblocks. pointed out by mk@ ok miod@
2011-03-13Change daddr_t to daddr32_t. The bootblocks on our architectures onlyTheo de Raadt
do 32-bit block spanning. If later on we get some that can/should do 64-bit, that can be done now using daddr64_t (but of course, we are taking this step to finalize the daddr_t 64-bit conversion). ok miod krw
2008-08-26When using the not-documented-but-ought-to 'boot sd(...)file' syntax (e.g.Miod Vallat
when mopbooting the bootblocks because one trashed the ones on disk by accident), be sure to use the proper BDEV_SDx rpb device type value, depending on the type of onboard controller. Crank version.
2008-08-18Now that KA60 support is in, include the proper header files instead ofMiod Vallat
harcoding defines, and add rpb device type #39 (sii) boot information.
2008-08-12Figured out where the prom console routines are on KA60 and how to invokeMiod Vallat
them, thanks to old ultrix bootblocks lying around. Also, enable M-Bus clock on the I/O slot IOCSR, this unstucks the cpu clocks (which really are implemented on the SSC on the I/O module, but need to be controlled via the cpu's ``internal'' processor registers...)
2008-08-10Add support for the VAXstation 3[58][24]0 to the bootblocks, currentlyMiod Vallat
limited to serial console. This is enough for a 3520 to mopboot and download a kernel over NFS.
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-05-21ddb expects the kernel longjmp() to only take a single parameter and alwaysMiod Vallat
return 1 since 12+ years, it's about time to fix the offending ports. Reported by Pierre Riteau (firstname.lastname at gmail)
2008-03-30Switch bootloader code to loadfile, and enable a.out and ELF loaders within.Miod Vallat
Crank the second stage boot blocks version.
2007-11-25libkern, begone. Move to a new mechanism where config(8)'s "file"Theo de Raadt
directive can select between MI and MD versions of these files. At the same time, adjust the boot programs to pick exactly what they need, instead of the 7 or 8 mechanisms previously used. There will be some fallout from this, but testing it all by myself is a ridiculously slow process; it will be finished in-tree. Various developers were very nice and avoided making fun of me when I was gibbering in the corner..
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2006-08-30Horrible code to work around stupid VXT2000 rom getchar() behaviour, butMiod Vallat
at least this allows our boot blocks to work with glass console on these machines now. Caution: reading this code will hurt your eyes. ok deraadt@
2006-08-24Add a few printfs to slow down SGEC initialization - somehow this appearsMiod Vallat
to be necessary on VXT2000. While large SDELAY are not enough. Someone will probably find my lack of faith in the SGEC code disturbing.
2006-08-24Enable the appropriate serial transmitters in VXT2000 serial routines, thisMiod Vallat
makes output work when the VXT2000 is not configured for serial console.
2006-08-05A potpourri of unrelated changes:Miod Vallat
- remove the 11/750 pcs code, it is never called. - remove the list of kernels to try to boot in order; it is a good idea only if you can interrupt the process, which you can't due to quirks on some models, so enter interactive boot immediately if booting /bsd fails. - work around some PROM bugs in graphics mode which cause \h and \t not to behave as expected. Crank version to 1.10.
2006-07-04use empty INSTALL_STRIP instead of STRIPFLAG to indicate we don't want toMartin Reindl
strip xxboot on install
2005-12-10{en,re}trys -> {en,re}tries; eyeballed by jmc@Miod Vallat
2005-07-30Pull in moddi3.c and negdi2.c from libkern since libz needs them.Todd C. Miller
2005-06-12index() function is deprecated and shouldn't be used in new code,Xavier Santolaria
replace it with strchr(). tested and ok martin@, ok deraadt@.
2003-11-07adress -> address, and a few more; all from Jonathon Gray;Jason McIntyre
(mvme68k/mvme88k) vs.c and (vax) if_le.c ok miod@ isakmpd ones ok ho@
2003-08-15ansi and proto cleanup. one unused function goes awayTheo de Raadt
2003-08-10clean leftoversTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-08-11Restore support for loading elf boot:Hugh Graham
- compiles again - already tested - less to upgrade later
2002-08-09Get rid of remaining __P usage (except for imported code);Jason Peel
ok millert@, rogue ok pjanzen@
2002-07-31Temporarily comment ELF support in the bootblocks, until this port isMiod Vallat
really ELF; necessary for this to compile after the recent <sys/exec_elf.h> changes. ok deraadt@
2002-06-11Prune some more dead code.Hugh Graham
2002-06-11New boot code, mostly from ragge's work in NetBSD.Hugh Graham
Some header syncing and a couple network drivers came along for the ride. Assembly files have been renamed from .s to .S to facilitate diffs. Kernel is backwards compat - with manual interaction. OpenBSD features have been preserved.
2002-03-31Copy mac address from proper place on 4000 200. Spotted thanks to aHugh Graham
failed boot log from Jim Uhl.
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-10rdboot -> hdbootHugh Graham
2002-03-09Add case for BTYP_1305.Hugh Graham
2002-02-14put "boot" in /usr/mdec instead of /Theo de Raadt
2002-02-13use strncpy instead of strcpy (no strcpy in libsa); hugh okTheo de Raadt
2001-10-31Add boardtype 1301.Hugh Graham
2001-10-04UKC on vax.Miod Vallat
2001-09-10Change askname to volatile; this prevents it from being trashed byBrandon Creighton
the setjmp/longjmp hack in place for VAX_BTYP_4[689]. This solves the /boot problem which prevented automatic boots from happening when the timer ran down.
2001-08-25Playing with string.Hugh Graham
2001-08-25Bring in some useful stuff from NetBSD. Mostly work by Matt Thomas,Hugh Graham
and concerned with intvec counting. Also some ANSIfication.
2001-04-10Decrement open_count in netclose(); this fixes the bug which causedBrandon Creighton
boot to halt on boot attempts after a failed network boot attempt. Also, prototype netmountroot() and return 0 in netclose().
2001-04-01Pick up a change from NetBSD:Hugh Graham
: date: 2000/04/28 00:08:51; author: matt; state: Exp; lines: +2 -2 : Dump NRCV to 8 from 5. Note that a 8K NFS reply takes 6 full size : Ethernet packets so the chances are that if the server was fast enough : this driver would continuously lose one of the fragments. Eventually : causing the kernel load to fail. Add 2 extra for random ARP or other : packets that might be picked up.