obrien
1b23a3102e
Back out last commit. I expect our bsd.*.mk gods to remove the need for
...
defining so many extra things in addition to INTERNALLIB. We don't like
repetitive C code and we shouldn't for make code either.
2002-05-12 13:54:42 +00:00
obrien
4da1be0803
NOPIC, NOPROFILE, NOMAN, and INTERNALSTATICLIB are redundant when using
...
INTERNALLIB now.
2002-05-11 18:02:33 +00:00
obrien
ce04447cdf
-ffreestanding is the word.
...
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
2002-05-10 09:26:35 +00:00
nyan
2d4219d383
MFi386: revision 1.56
2002-04-25 13:31:27 +00:00
nyan
f51b511837
MFi386: revision 1.8
2002-04-25 13:28:10 +00:00
nyan
c911a2cbdc
MFi386: revision 1.7.
2002-04-15 13:44:00 +00:00
nyan
cbfb12da8c
MFi386: revision 1.55
2002-03-30 11:18:30 +00:00
nyan
dce4f706b7
Add -D_KERNEL to CFLAGS for ntohl().
2002-02-28 10:08:23 +00:00
nyan
71445fd2e0
Expand COMBRD(x) macro.
2002-02-01 14:48:44 +00:00
nyan
677e0da5fb
Added kgzldr for pc98.
...
crt.s is based on btx.s.
2002-01-18 09:00:38 +00:00
nyan
a59db7704d
MFi386: revision 1.35 (Add support for writing to BIOS disks)
2001-12-12 13:47:04 +00:00
obrien
7fd9a6a23a
Update to C99, s/__FUNCTION__/__func__/,
...
also don't use ANSI string concatenation.
2001-12-10 08:09:49 +00:00
nyan
82943ba683
MFi386: revisions from 1.26 to 1.30.
2001-11-17 13:58:04 +00:00
nyan
d482b20b09
MFi386: revision 1.12
2001-11-17 13:57:32 +00:00
nyan
f6200bb4f8
MFi386: sys/boot/i386/loader/main.c revision 1.25
2001-11-06 12:31:56 +00:00
nyan
0975bb0246
MFi386: sys/boot/i386/libi386/Makefile revision 1.21
2001-11-06 12:31:05 +00:00
nyan
40808c1936
Fixed sioreg.h path.
2001-11-02 15:15:09 +00:00
nyan
4bff7137a2
Use a array to convert from a attribute for AT to one for PC98.
...
(merged from sys/pc98/pc98/scvtbpc98.c)
2001-10-17 15:15:01 +00:00
nyan
ee5a768271
Merged from sys/boot/i386/libi386/vidconsole.c revisions 1.16, 1.17 and 1.18.
2001-10-17 14:41:50 +00:00
nyan
bc3aadffa1
fix style(9)
2001-10-17 14:17:11 +00:00
nyan
097a07c676
Merged from sys/boot/i386/loader/Makefile revision 1.54.
2001-10-17 14:13:36 +00:00
nyan
352dfc76e4
MFi386: sys/boot/i386/loader/main.c revision 1.24.
2001-09-16 05:22:51 +00:00
nyan
4e578f4f40
MFi386: sys/boot/i386/libi386/Makefile revision 1.20.
2001-09-16 05:22:27 +00:00
ru
62afc35080
Create backup copies using install(1).
2001-09-12 10:25:50 +00:00
kris
6fde30d182
s/adress/address/
...
Inspired by: OpenBSD
MFC After: 1 week
2001-07-23 12:05:27 +00:00
kato
cd99feb371
Merged from sys/boot/i386/btx/btx/btx.s revision 1.25.
2001-06-23 08:04:14 +00:00
peter
2bbbdbe189
Remove -DNEW_LINKERSET, it is not used here anymore. This is now native.
2001-06-21 00:08:23 +00:00
nyan
e55c47c3e7
(Re-)enabled boot2.
2001-05-24 11:19:43 +00:00
nyan
38300a1c46
Update boot[12] program to compile ELF binary.
...
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> and
kawanobe@st.rim.or.jp (Kawanobe Koh)
2001-05-24 11:18:32 +00:00
nyan
9fa80b3cce
Merged from sys/boot/i386/btx/btx/btx.s revision 1.24.
2001-05-21 11:49:21 +00:00
kato
c02a1810a6
Disabled boot2 for the moment, because it needs aout tools.
2000-12-24 14:54:34 +00:00
kato
b1e4886a37
Merged from sys/boot/i386/loader/Makefile revision 1.49.
2000-12-16 03:15:48 +00:00
nyan
48503b7c5c
Merged from the following changes.
...
sys/boot/i386/btx/btx/Makefile 1.9
sys/boot/i386/btx/btx/btx.s 1.23
sys/boot/i386/libi386/biosdisk.c 1.32 and 1.33
sys/boot/i386/libi386/biosmem.c 1.5
sys/boot/i386/libi386/comconsole.c 1.8
sys/boot/i386/libi386/gatea20.c 1.3
sys/boot/i386/libi386/time.c 1.4
sys/boot/i386/libi386/vidconsole.c 1.13
sys/boot/i386/loader/Makefile 1.48
sys/boot/i386/loader/main.c 1.22
2000-11-05 12:35:41 +00:00
nyan
3a05390ac2
Merged from sys/boot/i386/loader/main.c revision 1.21.
2000-10-15 02:56:48 +00:00
kato
f5ba1f6568
Merged from sys/boot/i386/loader/main.c revision 1.23.
2000-09-22 12:51:22 +00:00
kato
acbb8f63f1
Merged from sys/boot/i386/libi386/Makefile revision 1.19.
2000-09-22 12:49:15 +00:00
kato
cefd56cea5
Merged from sys/boot/i386/loader/Makefile revision 1.47.
2000-09-08 11:18:40 +00:00
kato
c7d77e4693
The INT 1B BIOS call is used to obtain geometries of SASI/IDE hard
...
drives. Some IDE cards don't set propler information into BIOS work
are and their sector size were always recognized as 256 bytes/sector.
Pointed out by: jagarl@creator.club.ne.jp
2000-08-31 10:24:06 +00:00
kato
44996f9118
Fixed determination method for sector size of the 2nd IDE HDD.
2000-08-15 08:17:03 +00:00
kato
249914291a
Merged from sys/boot/i386/Makefile.inc revision 1.2.
2000-08-12 07:37:19 +00:00
kato
0353c0fbd4
- Fixed missing initialization of current device number.
...
- Fixed comment.
Pointed out by: nyan
2000-08-06 14:35:37 +00:00
kato
e773ca51d9
- Fixed %si (offset to partition table) in boot.
...
- Fixed comment.
2000-08-03 13:01:45 +00:00
kato
003617e886
- Fixed pointer to the partition table in the buffer.
...
- Use shift by %cl instead of five shifts by 1.
2000-08-03 09:00:19 +00:00
kato
719b29e2f0
Added PC-98 HDD boot manager. The boot0 is the `IPL' which occupies
...
sector 0 of a disk and boot0.5 is the `boot selector' which starts
from address 0x400. The IPL loads boot0.5 and boot0.5 loads bootblock
of a slice.
The boot manager stuff was developed by me (kato) with Borland C++,
and then, translated into bcc in the ports collection by Nokubi-san.
After that, boot0 has been translated into gas with the .code16
directive by Takahashi-san (nyan) and boot0.5 has been rewritten in
gas by me.
2000-08-02 08:46:08 +00:00
nyan
f772c8fd80
Merged from sys/boot/i386/btx/btx/btx.s revisions from 1.18 to 1.22.
2000-07-30 07:45:02 +00:00
nyan
9563771e2e
Merged from sys/boot/i386/libi386/biosdisk.c revision 1.31.
2000-07-14 04:23:45 +00:00
nyan
892ccf7da3
Sync with the following changes.
...
sys/boot/i386/btx/btx/Makefile 1.8
sys/boot/i386/btx/btx/btx.s 1.16 and 1.17
sys/boot/i386/btx/btxldr/btxldr.s 1.10
sys/boot/i386/loader/Makefile 1.45
2000-05-29 11:58:01 +00:00
hoek
025d68f847
Make this compile in case anyone ever wants to use the PC98 booter
...
on an IBM machine. This fix matches i386/boot2/boot.c.
PR: kern/7903
2000-05-21 05:27:56 +00:00
dcs
8435cba2f5
Move man page directives to common/Makefile.inc.
2000-05-19 08:41:45 +00:00
nyan
058748cefb
- Removed hi-resolution mode supports.
...
- Added a dummy partition table.
2000-05-03 04:35:25 +00:00
peter
22f6069a2a
Add $FreeBSD$
2000-05-01 20:32:07 +00:00
nyan
ec3992b59d
Sync with sys/boot/i386/libi386/biosdisk.c revision 1.30.
2000-04-30 08:24:36 +00:00
nyan
26cbedd66b
Sync with the following changes.
...
sys/boot/i386/libi386/Makefile 1.16 and 1.17
sys/boot/i386/loader/Makefile 1.44
sys/boot/i386/loader/main.c 1.20
2000-04-23 09:33:31 +00:00
nyan
41a5f6cba7
The printf function of boot2 can't recognize "%lx" format.
...
Submitted by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
2000-04-14 14:25:13 +00:00
nyan
241fa1a8d5
Merged from sys/boot/i386/loader/Makefile revision 1.43.
2000-04-14 13:51:14 +00:00
kato
da90280d53
Merged from sys/boot/i386/loader/main.c rev 1.19.
2000-04-12 11:17:08 +00:00
kato
f6d236e3a2
Synced with following files:
...
src/sys/boot/i386/Makefile.inc 1.1
src/sys/boot/i386/btx/btx/btx.s 1.15
src/sys/boot/i386/btx/btxldr/Makefile 1.8
src/sys/boot/i386/btx/btxldr/btxldr.s 1.9
src/sys/boot/i386/libi386/biosdisk.c 1.29
src/sys/boot/i386/loader/Makefile 1.42
src/sys/boot/i386/loader/main.c 1.18
(entry point address of loader was not changed.)
Reviewed by: nyan
2000-03-31 16:03:02 +00:00
kato
1f650b7e9c
Separated serial boot block interface routine into NS16550 stuff and
...
i8251 stuff.
2000-03-30 09:25:03 +00:00
nyan
f64cb112ed
Sync with sys/boot/i386/libi386/biosdisk.c revision 1.27 and 1.28.
...
Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
2000-03-17 12:38:36 +00:00
kato
1ed4e27f18
Synced with sys/boot/i386/loader/Makefile rev 1.41.
2000-02-05 02:21:31 +00:00
kato
ac9d6cb3b4
Synced with sys/boot/i386/btx/btx/btx.s rev 1.14.
2000-01-29 13:48:36 +00:00
nyan
09fefd34d0
Merge from the following changes.
...
sys/boot/i386/libi386/biosmem.c Rev 1.4
sys/boot/i386/libi386/time.c Rev 1.3
sys/boot/i386/loader/main.c Rev 1.16
2000-01-03 15:43:52 +00:00
nyan
1d91115edd
Fixed to get the BIOS geometry.
2000-01-03 15:28:05 +00:00
nyan
73b600cb26
- Supported the bd_getbigeom function and use this function to get BIOS
...
geometry.
- Use i386/libi386/bootinfo.c instead of pc98/libpc98/bootinfo.c.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-12-19 14:05:46 +00:00
phk
551bfa2f51
Remove BAD144 support, it has already been disabled for some time.
1999-12-08 09:33:00 +00:00
nyan
e5fba3d478
Supported to sound beep.
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
1999-12-03 13:20:55 +00:00
nyan
79489665c7
Sync with sys/boot/i386/loader/Makefile revision 1.37.
1999-11-25 12:46:16 +00:00
nyan
c4b721b43b
Fixed warnings.
1999-11-16 11:59:19 +00:00
nyan
29d6e6d9a7
Remove -mno-486 option and add -mpreferred-stack-boundary=2 option.
1999-11-16 11:56:38 +00:00
nyan
08b896067d
Cosmetic changes.
1999-11-16 00:42:18 +00:00
nyan
e7d8efeeda
Install loader.rc.
1999-11-16 00:38:20 +00:00
nyan
3415a19e36
Sync with sys/boot/i386/btx/btx/btx.s revision 1.13.
1999-11-03 08:32:03 +00:00
nyan
e9b6ffaaf2
Sync with sys/boot/i386/libi386/Makefile revision 1.15.
1999-11-03 08:23:57 +00:00
kato
eef5cc208d
Sync with sys/boot/i386/btx/btx/Makefile and btx.s revisions 1.7 and
...
1.12, respectively.
1999-10-13 10:55:56 +00:00
brian
58eae5b556
Blank out the twiddly thing when outputting the ``BTX loader'' message.
1999-10-12 06:57:26 +00:00
kato
a0968f988f
- Fixed DMA 64k boundary problem.
...
- Test the processor flag to detect disk I/O BIOS errors.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-09-23 03:57:16 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
kato
5d961b3389
Merge from sys/boot/i386/libi386/bootinfo.c revision 1.21.
1999-08-13 02:05:07 +00:00
kato
775a45e1a2
- Don't assume that SCSI ID numbers of HDD units are contiguous. That
...
is, don't assume that SCSI ID corresponds to a unit number of da
device. Unit number of da device is provided by 2nd stage loader
and 3rd stage loader now use it.
- Fix drive letter to display.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-08-05 03:19:37 +00:00
kato
0a6997ccc9
Provides discontinuous unit number support to make external FDD
...
bootable on 1 FDD PC98 machines. (When an external FDD unit is
installed, unit numbers become discontinuous.)
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-08-05 03:12:20 +00:00
peter
8fd8236771
Reconcile all the loader newvers.sh's into one common one.
1999-06-29 21:23:26 +00:00
kato
9f9cc79ee9
Sync with sys/boot/i386/libi386/bootinfo.c revision 1.19.
1999-06-06 12:46:40 +00:00
kato
9afe0bdc01
Sync with sys/boot/i386/btx/Makefile revision 1.5.
1999-05-20 08:00:08 +00:00
kato
773fedc1c8
Sync with sys/boot/i386/loader/Makefile revision 1.34.
1999-04-25 03:56:44 +00:00
kato
f0dd940a69
Optimize better for space.
...
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-04-24 04:29:13 +00:00
jdp
43e60106b0
Update #include statements to reflect the new location of "sioreg.h".
...
With these changes plus the egcs fix I committed a few minutes ago,
"make -DWANT_AOUT world" works again. Most likely, "make upgrade"
is fixed too, though I haven't tested that.
1999-04-22 21:02:44 +00:00
kato
5e79bb76b5
Sync with sys/boot/i386/loader/Makefile revision 1.32.
1999-04-19 11:02:19 +00:00
kato
628a94f6e5
Use files under sys/boot/i386 instead of copying under sys/boot/pc98.
...
Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-04-02 08:59:11 +00:00
kato
6d2e2542e4
Sync with sys/boot/i386/loader/version revision 1.4.
1999-03-19 15:59:56 +00:00
kato
abcc07c5f4
Sync with sys/boot/i386/libi386/bootinfo.c revision 1.18.
1999-03-19 15:58:05 +00:00
kato
00ae7114ac
Install the manual page in sys/boot/i386/loader.
...
Sumbmitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-03-18 13:42:21 +00:00
kato
d340b23048
Sync with sys/boot/i386/loader/Makefile revision 1.30.
1999-03-10 13:41:44 +00:00
kato
58b7c74807
Sync with sys/boot/i386/libi386/bootinfo.c revision 1.17.
1999-03-10 13:40:29 +00:00
kato
f14d10621f
Make loader be able to load 1.2MB fd on machines w/ 1.44MB fdd.
...
Sumbmitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 16:38:12 +00:00
kato
6edc8e8149
Added an entry for 1.44MB fd.
...
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 16:34:52 +00:00
kato
f7d44adef4
Oops, forgot to read boot.config file.
...
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 16:31:55 +00:00
kato
ee59945a67
When SCSI IDs are not contiguous, the loader could not find correct
...
unit number for da device. This commit fixes this problem.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 10:48:14 +00:00
kato
1c22dee1f8
boot2 doesn't need to say 'Can't find file boot.config.'
...
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 10:45:06 +00:00
kato
f87c1161fe
Fix character code of backslash. PC98 should use 0xfc instead of 0x5c.
...
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 10:44:01 +00:00
kato
c7f6e24ca8
Sync with sys/boot/i386/btx/btx/btx.s revision 1.10.
1999-03-01 10:02:45 +00:00
kato
c5a1921180
Sync with sys/boot/i386/loader/Makefile revision 1.29.
1999-02-25 11:01:54 +00:00
kato
6dbbed98d7
Sync with sys/boot/i386/loader/version revision 1.3.
1999-02-08 09:59:38 +00:00
kato
c40db6cc73
PC98 version of new boot loader. Because boot2 has not yet ported,
...
files in boot2 directory are copies from legacy biosboot.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-02-03 08:39:09 +00:00