Yoshihiro Takahashi
c224072d61
MFi386: r241300
...
i386 comconsole: don't loop forever if hardware doesn't respond
- clear capability flags when hw timeouts
- retire comc_started status variable and directly use c_flags to see
if comconsole is selected for use
2012-11-10 12:38:06 +00:00
Yoshihiro Takahashi
7361df284b
Reduce diffs against i386.
2012-08-05 14:48:55 +00:00
Andriy Gapon
76438db6a7
libpc98: unbreak after zfs-related changes in libi386 code
...
Pointyhat to: avg
MFC after: 1 month
2012-05-13 11:34:05 +00:00
Andriy Gapon
a45337f99f
i386 boot: consolidate MAXBDDEV definition
...
MFC after: 1 month
2012-05-09 08:05:50 +00:00
Yoshihiro Takahashi
a57b8b9e02
MFi386: revision 229435
...
Add special loader environment variables 'comconsole_port' and
'comconsole_pcidev'.
MFC after: 2 weeks
2012-01-04 03:54:30 +00:00
John Baldwin
4f88092408
Consolidate duplicate definitions of V86_CY() and V86_ZR() which check for
...
the carry and zero flags being set, respectively, in <btxv86.h> and use
them throughout the x86 boot code.
2011-10-25 19:45:12 +00:00
Yoshihiro Takahashi
906421ef20
Now there is no functional difference from i386 version.
...
So use i386 version.
2010-11-13 15:24:56 +00:00
Yoshihiro Takahashi
6925b4bda1
Add setting machine type support to the loader.
...
MFC after: 2 week
2009-12-31 12:05:48 +00:00
Yoshihiro Takahashi
ef7b7ac106
Fix debug messages of bd_io().
...
MFC after: 1 week
2009-12-17 13:14:11 +00:00
Yoshihiro Takahashi
1a800d321e
MFi386: revision 200219
...
Improve the algorithm the loader uses to choose a memory range for its
heap when using a range above 1MB.
MFC after: 1 week
2009-12-08 13:06:35 +00:00
Yoshihiro Takahashi
e61de1d24c
MFi386: revision 200216
...
Various small whitespace and style fixes.
2009-12-08 12:10:06 +00:00
Yoshihiro Takahashi
b5ca553462
Oops, fix the previous change.
2009-03-20 13:03:33 +00:00
Yoshihiro Takahashi
d0680af004
MFi386: r189749
...
Teach the BIOS CD driver to use bounce buffers when the destination
address is > 1 MB.
2009-03-20 12:26:42 +00:00
Yoshihiro Takahashi
e4cc6edfc1
Merge the missing changes from i386.
...
Teach the loader about the FAT partitions.
2009-03-20 05:33:58 +00:00
Yoshihiro Takahashi
43d1b8129c
MFi386: the part of r179825 to reduce diffs against i386.
2009-03-20 05:21:29 +00:00
Yoshihiro Takahashi
abadd1494d
Reduce diffs against i386.
2009-03-19 13:53:42 +00:00
Yoshihiro Takahashi
1214222676
Use the common PC98_MID_* defines instead of a magic number.
2009-03-19 12:33:37 +00:00
Yoshihiro Takahashi
b02402d39a
MFi386: revision 1.43
...
Do not attempt to make an NFS rpc call if using tftp
2008-02-29 05:06:06 +00:00
Yoshihiro Takahashi
8a35feb1e2
MFi386: revision 1.55.
...
Tweak the verbose disk printing a bit.
2008-02-29 04:56:51 +00:00
Yoshihiro Takahashi
34b1e3506c
MFi386: part of 1.52
...
Split the pc98_partition specific routine in bd_opendisk()
into bd_open_pc98().
2007-10-25 14:31:52 +00:00
Yoshihiro Takahashi
91dfd26985
MFi386: part of revision 1.51
...
Rework the read/write support in the bios disk driver some to cut down
on duplicated code.
- All of the bounce buffer and retry logic duplicated in bd_read() and
bd_write() are merged into a single bd_io() routine that takes an
extra direction argument. bd_read() and bd_write() are now simple
wrappers around bd_io().
2007-10-25 12:57:46 +00:00
Yoshihiro Takahashi
1c44b03ee9
MFi386: revision 1.50
...
Reindent the read/write code of bd_realstrategy() so it is more readable.
2007-10-24 12:03:48 +00:00
John Baldwin
5c5b5d4607
Slightly cleanup the 'bootdev' concept on x86 by changing the various
...
macros to treat the 'slice' field as a real part of the bootdev instead
of as hack that spans two other fields (adaptor (sic) and controller)
that are not used in any modern FreeBSD boot code.
MFC after: 1 week
2007-10-24 04:03:25 +00:00
Yoshihiro Takahashi
9c412a61a0
Add a stub of bios_addsmapdata(). PC98 does not have BIOS SMAP.
2006-11-09 08:28:02 +00:00
Marcel Moolenaar
932d8c46a2
Extend struct devdesc with a unit field, called d_unit. Promote the
...
device (kind) specific unit field to the common field. This change
allows a future version of libefi to work without requiring anything
more than what is defined in struct devdesc and as such makes it
possible to compile said version of libefi for different platforms
without requiring that those platforms have identical derivatives
of struct devdesc.
2006-11-02 01:23:18 +00:00
Yoshihiro Takahashi
33cf0c5194
Add a bootable CD support.
2006-05-14 07:26:02 +00:00
John Baldwin
31062da1b0
Drop the gateA20() function in the loader as it is unused. All the other
...
boot loaders that load the loader already handle A20. In fact, they are
required to do so in order to setup the environment that btxldr expects.
2006-04-11 20:11:30 +00:00
Yoshihiro Takahashi
8b891b8d17
MFi386: revision 1.8.
2005-12-21 06:09:47 +00:00
Yoshihiro Takahashi
2d908c8204
MFi386: revision 1.46.
2005-12-21 06:09:09 +00:00
Maxim Sobolev
90ec8e27c3
Unbreak pc98 after my last changes to i386.
2005-12-20 08:54:30 +00:00
Yoshihiro Takahashi
abf04270da
MFi386: revision 1.11.
2005-09-13 08:29:03 +00:00
Yoshihiro Takahashi
769f92857b
Remove ifdef PC98.
2005-05-08 14:17:28 +00:00
Yoshihiro Takahashi
d03f4aa4fe
Merged from libi386/biosdisk.c revisions 1.37 and 1.41.
2005-05-08 13:30:14 +00:00
Yoshihiro Takahashi
fa1650c0c8
MFi386: revision 1.20.
2005-04-14 14:12:54 +00:00
Ruslan Ermilov
a35d88931c
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
Poul-Henning Kamp
1400886b92
Fix another beak.
...
Seen by: pjd
2004-06-17 11:44:05 +00:00
Poul-Henning Kamp
ad165b6f6d
Unspam sys/boot, the dev_t commit should not have touched these.
...
Spotted by: peter
2004-06-16 18:21:22 +00:00
Poul-Henning Kamp
0e69b1a1c7
My new keyboard can't spell.
2004-06-16 17:03:18 +00:00
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
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
2b0292a5ae
Fix to support KANA and graphics characters which code are over 0x80.
2004-01-18 04:10:45 +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
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
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
bd7cefa085
MFi386: revision 1.30.
2003-06-07 08:23:42 +00:00
Yoshihiro Takahashi
492d54a592
Fix to build pc98 boot loader after support amd64.
2003-05-01 13:17:06 +00:00