summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/stand
AgeCommit message (Collapse)Author
2009-10-31A chunk from my WIP bootblocks tree went in by mistake in previous commit;Miod Vallat
spotted by deraadt@
2009-10-31Do not override AS and LD, to be cross compilation friendly; noticed by syuu@Miod Vallat
2009-07-22libsa printf doesn't support sizes in %s specifiers; fix format stringsMiod Vallat
accordingly.
2009-07-15missing va_end in bios_printf & dioopen. ok miod@Martynas Venckus
2009-06-19Make the 64 bit bootblocks compile again after the <machine/mnode.h> changes.Miod Vallat
2009-06-04More fallback from struct disklabel changes, yawnMiod Vallat
2009-05-30When booting in `install software' mode from the SGI boot menu, do not try toMiod Vallat
load bsd.rd but bsd.rd.IP## matching the IP code of the machine.
2009-05-14In addition to the existing IP32 boot block, build a real 64 bit boot blockMiod Vallat
as a relocatable object, suitable for IP27/IP30/IP35. Boot blocks are now found is /usr/mdec/boot{32,64}, with boot-IP## being hard links to them for easy boot block pick.
2009-05-14Remove unused local.Miod Vallat
2009-05-09Promote types in ARCBios function prototypes from int to long wheneverMiod Vallat
necessary, to allow the same C code to be used against 32 bit ARCBios, when compiled in 32 bit mode, or against 64 bit ARCBios, when compiled in native mode. Soon to be used by the boot blocks; this commit doesn't introduce any functional change yet.
2009-02-10Unbreak sgivol. When writing to the raw device use the native blocksize.Joel Sing
Whilst here, check the return value of fread() and improve error messages. ok krw@ miod@
2008-08-25Make sgivol(8) use the device sector size for reads and writes. This allowsJoel Sing
us to use sgivol on devices which have a sector size != DEV_BSIZE, such as a CD drive. ok miod@ krw@
2008-08-08Wrap long lines and remove useless comment.Joel Sing
2008-08-08Make sgivol use the sgilabel struct from machine/disklabel.h, rather thanJoel Sing
declaring another. ok miod@
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-20Change the OpenBSD/sgi boot loader so that we use libsa loadfile(), ratherJoel Sing
than rolling our own load functions. tested jasper@, feedback and ok miod@
2008-03-28If we fail to load the kernel, drop the user into interactive mode of ARCS,Joel Sing
rather than just rebooting. ok deraadt@, miod@, jasper@
2008-03-27Remove unwanted code and sync with mips64/arcbios.c.Joel Sing
ok miod@
2008-03-08Cleanup/style(9) code and comments.Joel Sing
2008-02-19Remove duplicate strcmp().Joel Sing
From Iruata Souza <iru.muzgo@gmail.com>
2008-02-18Cleanup sgivol(8) and make it behave more appropriately. Remove the '-f'Joel Sing
option - if we ask sgivol(8) to manipulate the volume header we really mean it. Also, use a single mode variable rather than a bunch of nutty opt_* variables. Improve the man page and usage() whilst we're here. Aside from the removal of '-f' there should be no functional changes. ok miod@ jmc@.
2007-11-30Unbreak build. Also tested by jasper@.Joel Sing
2007-11-29needs at least S definedTheo de Raadt
2007-11-26few more dribbles of LIBKERN cleanupTheo de Raadt
2007-11-26More LIBKERN bits that go awayTheo de Raadt
2007-11-26Remove libkern.Joel Sing
ok deraadt@
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-05-31convert to new .Dd format;Jason McIntyre
2007-05-11simple misspell, miod@ okJanne Johansson
2005-12-30Now that errno.h and sys/errno.h are separate header files there is noTodd C. Miller
need to use the -Derrno=errno workaround added when __errno() was introduced. OK deraadt@
2005-08-01Create installation media that is recognized as such by the PROM.Mark Kettenis
ok deraadt@
2005-08-01put -l into the right place...Jason McIntyre
2005-08-01Add support for "hard links" in volume header.Mark Kettenis
ok miod@
2005-07-21need moddi3 tooTheo de Raadt
2005-07-21put libkern after libzTheo de Raadt
2005-04-28- sort optionsJason McIntyre
- sync usage() - other minor tweaks
2005-04-27simple man page for sgivolTheo de Raadt
2005-04-27spacingTheo de Raadt
2005-04-27spacingTheo de Raadt
2005-04-27if SystemPartition contains a cdrom boot specifier, whack theTheo de Raadt
OSLoadPartition variable to point to partition 0 of the same unit.
2005-04-27avoid the o{open,read,lseek} interfaces, and use the regular ones, becauseTheo de Raadt
we want to be able to handle gzip files
2004-11-08Simple cleaning of sgivol, with no functional change (yet):Miod Vallat
- remove hardcoded constants - use strtol() and check for errors instead of using atoi() - use err()/errx()/warnx() when applicable - use bounded string operations whenever possible - use strncpy() instead of a home-grown construct Plus you get the "/usr/mdec/sgivol -p" instant coredump fixed for free.
2004-10-20Fix some 64 bit address problems.Per Fogelstrom
Some function names made more unique. Other changes for the upcoming Origin 200 support.
2004-09-23use .c versions of certain functions. 32 bit modePer Fogelstrom
2004-09-22Bring in libsa code for proper %llx printf display; necessary for /boot.Miod Vallat
ok deraadt@
2004-09-16Only one script text is necessary...Miod Vallat
2004-09-16ld.script for boot. cvs add is ok according to deraadt@Per Fogelstrom
2004-09-16Update boot with miods ELF64 symtab fixes and my 32 bit compilesPer Fogelstrom
2004-09-09Kernel moves to 64 bit. A few more tweaks when binutils is updated.Per Fogelstrom
2004-08-25Minor tweaks to make things work in install.Per Fogelstrom