Commit Graph

9 Commits

Author SHA1 Message Date
marcel
9f2f2e171a Change <sys/diskpc98.h> to not redefine the same symbols that are
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@
2013-08-07 00:00:48 +00:00
imp
762d861405 Correct typo in usage message. 2007-12-19 03:31:44 +00:00
nyan
aa37760f80 Merged from boot0cfg.
- Update the mkrdev function.
  - Attempt gctl verb "write MBR" when updating.
2005-07-15 15:32:52 +00:00
nyan
0ed914305c Reduce diffs from boot0cfg.c (no functional change). 2005-07-15 14:37:40 +00:00
nyan
6856d159e8 Use ascii null char ('\0') instead of NULL.
Submitted by:	Stefan Farfeleder <stefan@fafoe.narf.at>
2004-03-05 13:58:40 +00:00
nyan
5a81fa192a s/DIOCGPC98/DIOCSPC98/ 2003-05-02 14:55:42 +00:00
nyan
f03fd6d774 Use DIOCGPC98 ioctl to write boot block. 2003-02-11 07:29:14 +00:00
dd
65ad0f0162 Constify and set WARNS=2.
Submitted by:	Mike Barcroft <mike@q9media.com>
Reviewed by:	md5(1)
2001-06-24 18:51:40 +00:00
kato
afafe94c65 Added PC-98 boot manager installation and configuration utility. 2000-08-02 10:11:08 +00:00