summaryrefslogtreecommitdiffstats
path: root/usr.sbin/boot98cfg/boot98cfg.c
Commit message (Collapse)AuthorAgeFilesLines
* Change <sys/diskpc98.h> to not redefine the same symbols that aremarcel2013-08-071-1/+1
| | | | | | | | | | | | | | | | being defined in <sys/diskmbr.h>. Instead give the symbols here a "PC98_" prefix. This way, both <sys/diskmbr.h> and <sys/diskpc98.h> can be included in the same C source file. The renaming is trivial. The only gotcha is that DOSBBSECTOR is also redefined from 0 to 1. This because DOSBBSECTOR was always used in conjunction with an addition of 1. The PC98_BBSECTOR symbol is defined as 1 and the expression is simplified. Note: it is not believed that ports are seriously impacted; or at all for that matter. Approved by: nyan@
* Correct typo in usage message.imp2007-12-191-1/+1
|
* Merged from boot0cfg.nyan2005-07-151-13/+30
| | | | | - Update the mkrdev function. - Attempt gctl verb "write MBR" when updating.
* Reduce diffs from boot0cfg.c (no functional change).nyan2005-07-151-86/+93
|
* Use ascii null char ('\0') instead of NULL.nyan2004-03-051-2/+2
| | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
* s/DIOCGPC98/DIOCSPC98/nyan2003-05-021-2/+2
|
* Use DIOCGPC98 ioctl to write boot block.nyan2003-02-111-22/+62
|
* Constify and set WARNS=2.dd2001-06-241-1/+1
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
* Added PC-98 boot manager installation and configuration utility.kato2000-08-021-0/+255
OpenPOWER on IntegriCloud