Poul-Henning Kamp
89c9c53da0
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
Poul-Henning Kamp
4ee9ad6b13
Premptively fix GCC3.4 issue: add break; after empty default: clauses.
...
PR: 65493
Submitted by: Pawel Worach <sajd@telia.com>
2004-06-16 08:12:06 +00:00
Yoshihiro Takahashi
dd4d0b14e8
MFi386: revisions from 1.15 to 1.17.
2004-04-29 08:24:57 +00:00
Yoshihiro Takahashi
798f9e7fa0
MFi386: revisions from 1.16 to 1.18.
2004-04-29 08:24:30 +00:00
Ruslan Ermilov
1e104f00e7
MFi386: Use C (and CPP) style comments for assembler-with-cpp
...
sources, for lines that start with a comment.
2004-04-28 10:15:31 +00:00
Warner Losh
9e127f523c
Remove advertising clause from University of California Regent's license,
...
per letter dated July 22, 1999.
Approved by: core
2004-04-05 23:41:29 +00:00
Yoshihiro Takahashi
f213e50a57
MFi386: revision 1.29.
2004-03-14 09:43:15 +00:00
Yoshihiro Takahashi
3136cf2d73
MFi386: revision 1.76.
2004-03-14 09:41:57 +00:00
Yoshihiro Takahashi
1a413640ac
MFi386: Get rid of unnecessary use of m4(1) by using cpp(1) instead.
...
Repocopied by: joe
2004-02-13 15:39:59 +00:00
Yoshihiro Takahashi
32efe8e4b4
MFi386: revisions 1.74 and 1.75.
...
- kzip(8) is long dead.
- Clean CLEANFILES.
2004-02-13 15:26:22 +00:00
Yoshihiro Takahashi
4dcf467f93
MFi386: revision 1.20 (don't strip kgzldr.o)
2004-02-13 15:24:25 +00:00
Yoshihiro Takahashi
5e0eb6243d
MFi386: Factor out -nostdlib and use PROG.
2004-02-09 16:01:45 +00:00
Ruslan Ermilov
6ed6b4ab71
MFi386: Removed -elf and duplicate -ffreestanding.
2004-02-07 14:35:33 +00:00
Yoshihiro Takahashi
cc78dccee9
MFi386: Cleanups to sys/boot makefiles.
2004-02-07 12:19:44 +00:00
Yoshihiro Takahashi
6bef25432c
MFi386: revision 1.33
...
PR: kern/62005
2004-01-28 04:15:31 +00:00
Yoshihiro Takahashi
2b0292a5ae
Fix to support KANA and graphics characters which code are over 0x80.
2004-01-18 04:10:45 +00:00
Yoshihiro Takahashi
a5a39deba2
MFi386: revision 1.13.
2003-11-15 12:25:47 +00:00
Bruce Evans
bb44220efa
Don't repeat selected defines from ns16550.h or sioreg.h. Just
...
include ns16550.h. The missing installation of ns16550.h was fixed
long ago and the misplaced defines in sioreg.h were fixed recently.
2003-09-16 11:24:23 +00:00
David E. O'Brien
7d4724590e
Use __FBSDID().
...
Also some minor style cleanups.
2003-09-08 09:11:32 +00:00
Yoshihiro Takahashi
943be5d359
Fixed build error with GCC 3.3.1
2003-07-13 08:13:52 +00:00
Ruslan Ermilov
ae0c4c928a
Revert non-style part of the recent two deltas that dealt with
...
using as(1) to compile plain assembler source files; bsd.lib.mk
has been fixed (in revision 1.147).
2003-07-02 12:45:45 +00:00
Ruslan Ermilov
6c874d4fa8
Switch to using bsd.prog.mk; this gives us back the standard
...
.s.o transformation rule.
2003-06-30 14:10:58 +00:00
Ruslan Ermilov
c173771625
MFi386: revision 1.16.
2003-06-30 00:20:28 +00:00
Yoshihiro Takahashi
3889b283ef
Add help file for pc98.
2003-06-08 03:34:49 +00:00
Yoshihiro Takahashi
c7fd521917
Enable new boot menu.
2003-06-08 03:20:35 +00:00
Yoshihiro Takahashi
b16ea1159d
Don't load the acpi module.
2003-06-08 03:16:59 +00:00
David E. O'Brien
9b8d527fef
Add ${AFLAGS} to 'as' invocation.
2003-06-07 17:42:26 +00:00
Yoshihiro Takahashi
d83e355c40
MFi386: revisions 1.13 and 1.14.
2003-06-07 08:36:41 +00:00
Yoshihiro Takahashi
bd7cefa085
MFi386: revision 1.30.
2003-06-07 08:23:42 +00:00
KATO Takenori
f5a84cb224
IPLware support. The `IPLware' program assumes boot menu program
...
begins with the `jmp 0x2d4' near jump.
2003-05-02 09:33:12 +00:00
Yoshihiro Takahashi
492d54a592
Fix to build pc98 boot loader after support amd64.
2003-05-01 13:17:06 +00:00
Poul-Henning Kamp
197e5e73ef
Libdisk does not need to include <sys/diskslice.h> any more.
...
Move the remaining bits of <sys/diskslice.h> to <i386/include/bootinfo.h>
Move i386/pc98 specific bits from <sys/reboot.h> to
<i386/include/bootinfo.h> as well.
Adjust includes in sys/boot accordingly.
2003-04-04 16:35:16 +00:00
Ruslan Ermilov
73f643b411
Fixed sys/boot/pc98/boot2/Makefile to use kern.mk and
...
get rid of bsd.kern.mk completely.
OK'ed by: bde
2003-03-02 21:18:40 +00:00
Yoshihiro Takahashi
271aee47ec
MFi386: Install the "boot" image which is boot1 + boot2.
2003-01-30 14:50:25 +00:00
Yoshihiro Takahashi
dc5cb962f7
Use NDOSPART instead of NEXTDOSPART.
2003-01-21 13:59:53 +00:00
Yoshihiro Takahashi
5aca100a9e
MFi386: revision 1.63.
2003-01-21 13:57:43 +00:00
Poul-Henning Kamp
63fc86da6f
Use NEXTDOSPART instead of MAX_SLICES.
2003-01-20 11:15:12 +00:00
Yoshihiro Takahashi
97a45538e4
Add SCSI MO device support.
...
Submitted by: Kawanobe Koh <kawanobe@st.rim.or.jp>
2003-01-06 13:43:15 +00:00
Yoshihiro Takahashi
404a379e4a
Rename the dos_partition structure for pc98 to pc98_partition.
2003-01-04 08:50:48 +00:00
Yoshihiro Takahashi
46ae965fca
Remove '-DUFS1_ONLY' from CFLAGS. It is not needed.
2002-10-10 14:03:00 +00:00
Yoshihiro Takahashi
8b16930349
Added '#include <sys/diskpc98.h>'.
...
Submitted by: kawanobe@st.rim.or.jp (Kawanobe Koh)
2002-10-07 15:26:10 +00:00
Poul-Henning Kamp
5765b4ef72
Move the definition of UFS1_ONLY into the Makefiles where it belongs.
...
Sponsored by: DARPA & NAI Labs.
2002-10-07 08:09:20 +00:00
Yoshihiro Takahashi
64316569f5
Connected boot2.
2002-10-03 16:21:40 +00:00
Yoshihiro Takahashi
af64a99c32
Added some header files from -stable and fixed the boot[12] programs.
2002-10-03 16:20:14 +00:00
Peter Wemm
425f8660a7
Use as's --defsym switch to compensate for the loss of the M4 substitution
...
of SIOPRT which broke kgzldr and therefore make release.
Pointed out by: murray
2002-09-30 20:37:58 +00:00
Yoshihiro Takahashi
60c2f19bc5
Fixed to build after removing a.out suppot.
2002-09-24 02:17:13 +00:00
Alfred Perlstein
4f492bfab5
use __packed.
2002-09-23 18:54:32 +00:00
Yoshihiro Takahashi
5438009281
MFi386: Remove a.out support.
2002-09-19 13:47:18 +00:00
Yoshihiro Takahashi
209238dc3c
Remove -elf option.
2002-09-19 13:43:02 +00:00
Peter Wemm
66422f5b7a
Initiate deorbit burn for the i386-only a.out related support. Moves are
...
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.
Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.
Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
Peter Wemm
e581f644a4
Initiate deorbit burn of i386 a.out kld "support" in loader. Note that
...
this was quite broken, it never was updated for metadata support.
The a.out kld file support was never really used, as it wasn't necessary.
You could always load elf kld's, even in an a.out kernel.
2002-08-29 02:02:28 +00:00
Ruslan Ermilov
d2893b161b
Drop support for COPY, -c has been the default mode of install(1)
...
for a long time now.
Approved by: bde
2002-07-29 09:40:17 +00:00
Yoshihiro Takahashi
cc3526f4d4
Remove boot2 temporarily.
2002-07-18 14:50:41 +00:00
Yoshihiro Takahashi
a79f8552fb
Change include order.
2002-07-16 14:39:52 +00:00
Nick Hibma
44b279e2f6
Cosmetic change (align with other boot blocks):
...
CONSPEED -> COMSPEED
Approved by: nyan
2002-05-26 10:11:17 +00:00
Yoshihiro Takahashi
93bb160832
Fixed to conflict labels.
...
Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
2002-05-21 12:53:48 +00:00
Yoshihiro Takahashi
b827692436
MFi386: revision 1.22
2002-05-21 09:44:52 +00:00
Yoshihiro Takahashi
8b20c954cb
Fixed to build for GCC 3.1
2002-05-14 12:34:03 +00:00
Yoshihiro Takahashi
348df1aa25
Add -ffreestanding to CFLAGS.
2002-05-14 12:32:59 +00:00
Ruslan Ermilov
26aace39ab
Fixed CLEANFILES after bsd.lib.mk sweep.
2002-05-13 15:48:05 +00:00
Ruslan Ermilov
46f8fdc34e
Removed now unused INTERNALSTATICLIB.
...
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00
Ruslan Ermilov
2a53f3fb35
Major cleanup of bsd.lib.mk.
...
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything. Added a NOINSTALLLIB knob for libpam/modules. To not
build any library at all, just do not set LIB.
2002-05-13 10:53:24 +00:00
David E. O'Brien
95cfc25d0d
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
David E. O'Brien
3bf8b9cee3
NOPIC, NOPROFILE, NOMAN, and INTERNALSTATICLIB are redundant when using
...
INTERNALLIB now.
2002-05-11 18:02:33 +00:00
David E. O'Brien
d1bdfb40fd
-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
Yoshihiro Takahashi
27ecba3177
MFi386: revision 1.56
2002-04-25 13:31:27 +00:00
Yoshihiro Takahashi
f9ef610bd0
MFi386: revision 1.8
2002-04-25 13:28:10 +00:00
Yoshihiro Takahashi
0f8af5c368
MFi386: revision 1.7.
2002-04-15 13:44:00 +00:00
Yoshihiro Takahashi
bd30f72967
MFi386: revision 1.55
2002-03-30 11:18:30 +00:00
Yoshihiro Takahashi
28a90658c4
Add -D_KERNEL to CFLAGS for ntohl().
2002-02-28 10:08:23 +00:00
Yoshihiro Takahashi
3b8a3187c8
Expand COMBRD(x) macro.
2002-02-01 14:48:44 +00:00
Yoshihiro Takahashi
8df8626ebd
Added kgzldr for pc98.
...
crt.s is based on btx.s.
2002-01-18 09:00:38 +00:00
Yoshihiro Takahashi
c47b0cd2c6
MFi386: revision 1.35 (Add support for writing to BIOS disks)
2001-12-12 13:47:04 +00:00
David E. O'Brien
6e551fb628
Update to C99, s/__FUNCTION__/__func__/,
...
also don't use ANSI string concatenation.
2001-12-10 08:09:49 +00:00
Yoshihiro Takahashi
608f31f640
MFi386: revisions from 1.26 to 1.30.
2001-11-17 13:58:04 +00:00
Yoshihiro Takahashi
b9c5c179c3
MFi386: revision 1.12
2001-11-17 13:57:32 +00:00
Yoshihiro Takahashi
5cb7d2f699
MFi386: sys/boot/i386/loader/main.c revision 1.25
2001-11-06 12:31:56 +00:00
Yoshihiro Takahashi
748c552f0e
MFi386: sys/boot/i386/libi386/Makefile revision 1.21
2001-11-06 12:31:05 +00:00
Yoshihiro Takahashi
716d0f6c04
Fixed sioreg.h path.
2001-11-02 15:15:09 +00:00
Yoshihiro Takahashi
aa0abed214
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
Yoshihiro Takahashi
f49ccfe990
Merged from sys/boot/i386/libi386/vidconsole.c revisions 1.16, 1.17 and 1.18.
2001-10-17 14:41:50 +00:00
Yoshihiro Takahashi
2967d8485e
fix style(9)
2001-10-17 14:17:11 +00:00
Yoshihiro Takahashi
60e0796757
Merged from sys/boot/i386/loader/Makefile revision 1.54.
2001-10-17 14:13:36 +00:00
Yoshihiro Takahashi
8017b4dceb
MFi386: sys/boot/i386/loader/main.c revision 1.24.
2001-09-16 05:22:51 +00:00
Yoshihiro Takahashi
cd8b058539
MFi386: sys/boot/i386/libi386/Makefile revision 1.20.
2001-09-16 05:22:27 +00:00
Ruslan Ermilov
188cdfac56
Create backup copies using install(1).
2001-09-12 10:25:50 +00:00
Kris Kennaway
56bded8a29
s/adress/address/
...
Inspired by: OpenBSD
MFC After: 1 week
2001-07-23 12:05:27 +00:00
KATO Takenori
b6da22604e
Merged from sys/boot/i386/btx/btx/btx.s revision 1.25.
2001-06-23 08:04:14 +00:00
Peter Wemm
47f1082c4f
Remove -DNEW_LINKERSET, it is not used here anymore. This is now native.
2001-06-21 00:08:23 +00:00
Yoshihiro Takahashi
d8b08f1591
(Re-)enabled boot2.
2001-05-24 11:19:43 +00:00
Yoshihiro Takahashi
f040ac4cec
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
Yoshihiro Takahashi
a93f8c6e6e
Merged from sys/boot/i386/btx/btx/btx.s revision 1.24.
2001-05-21 11:49:21 +00:00
KATO Takenori
dfec8c70fa
Disabled boot2 for the moment, because it needs aout tools.
2000-12-24 14:54:34 +00:00
KATO Takenori
db53335483
Merged from sys/boot/i386/loader/Makefile revision 1.49.
2000-12-16 03:15:48 +00:00
Yoshihiro Takahashi
64ee4b5b08
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
Yoshihiro Takahashi
54bb2a24af
Merged from sys/boot/i386/loader/main.c revision 1.21.
2000-10-15 02:56:48 +00:00
KATO Takenori
6473734288
Merged from sys/boot/i386/loader/main.c revision 1.23.
2000-09-22 12:51:22 +00:00
KATO Takenori
87eae000dd
Merged from sys/boot/i386/libi386/Makefile revision 1.19.
2000-09-22 12:49:15 +00:00
KATO Takenori
87beee9c90
Merged from sys/boot/i386/loader/Makefile revision 1.47.
2000-09-08 11:18:40 +00:00
KATO Takenori
8b6a5e91bb
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