martin
8ba340d655
Do the same as biosboot does.
...
This makes it possible to create serial console dosboot.com's via uncommenting
the appropriate Makefile options.
I needed this when testing the SMP test kernels at work.
2000-03-13 10:51:22 +00:00
dbj
ef5d25c147
use bios' idea of the basemem size and create the kernel stack
...
at the top of it instead of hard coding 0x90000
2000-02-22 07:45:04 +00:00
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +00:00
drochner
f41d426732
nuke this, there is no valuable information anymore
2000-01-26 18:50:18 +00:00
mycroft
f456106d03
Fix the symlink hack.
2000-01-23 16:45:54 +00:00
mycroft
295c3f303e
Fix the symlink hack.
2000-01-23 16:44:18 +00:00
christos
c6b70bdfe2
Use .PATH.c not .PATH otherwise builds without objdirs fail from biosboot_com0.
...
Reported by Tron.
2000-01-20 16:51:01 +00:00
drochner
8395a5e928
like com.c, raise DTR/RTS in console initialisation
2000-01-20 15:22:57 +00:00
tsutsui
e61f177ab1
STRIP -> STRIPPROG
2000-01-19 16:29:54 +00:00
christos
1b02e0a7db
Build biosboot_com0 too.
2000-01-15 01:17:12 +00:00
drochner
5d8a0c0ddd
add a function which prints out the memory descriptors (for debugging)
1999-12-21 14:22:54 +00:00
drochner
e5bc2ce76f
add support for 3c905b-Combo
1999-12-02 13:21:48 +00:00
drochner
262d9092fc
add media definition for 100baseTX
1999-12-02 13:20:56 +00:00
mycroft
6816b631ab
Nit: Make bootrealseg conforming.
1999-11-07 01:06:37 +00:00
drochner
db5d01fc72
back out the "ep"/"ex" guessing part of the previous - the check was
...
removed from the kernel and the device name is only informational now
1999-11-05 22:57:39 +00:00
mycroft
3c702c1d8d
Recognize the 3c595, and use `ex' for 3c90x now.
1999-11-03 12:38:54 +00:00
mycroft
dfc00b5b24
Back out the GDT changes in the previous. Didn't mean to commit that.
1999-11-03 09:55:32 +00:00
mycroft
1ee8f66dfe
Picking a few nits...
...
* The direction flag wasn't set right in the presence of ROMDEBUG.
* There were missing data32's.
* We weren't as careful as we should be with relocations.
1999-11-03 09:28:15 +00:00
drochner
e6d27a3a83
correct debug printf() to make it compile with DISK_DEBUG again,
...
closes PR kern/8718 by Takahiro Kambe
1999-11-02 16:52:25 +00:00
mycroft
093997a6f6
Remove totally gratuitous check on the unit number in dev2bios().
1999-10-28 05:20:05 +00:00
drochner
353a512c22
create "machine" symlink
1999-10-25 20:27:48 +00:00
drochner
2c0e7cf113
allow to set boot timeout and password, following PR port-i386/8196
...
by Stephan Thesing
1999-09-10 16:45:27 +00:00
drochner
3e60c834ed
install /boot -r-------- for security reasons
1999-09-10 16:41:10 +00:00
drochner
4486b15211
-make ustarfs optional (enabled per default) for cases where space is
...
scarce
-make the boot timeout patchable
-optionally, call checkpasswd() before the boot menu can be accessed
(The latter 2 follow PR port-i386/8196 by Stephan Thesing.)
1999-09-10 16:38:46 +00:00
drochner
5c48b9a115
improve awaitkey()'s printout for >9 seconds
1999-09-10 16:23:55 +00:00
drochner
2914ef7fd2
sync with changes to if_fxp header,
...
thanks to <ks@ub.uni-mainz.de> for testing
1999-09-10 09:12:44 +00:00
ross
9efd996351
spelling
1999-09-07 18:27:58 +00:00
kleink
5663256d0a
Unlike in an i386 a.out assembler, where in an .align n directive n is meant
...
to be the logarithm to base 2 of the alignment, in an ELF environment n is
the actual alignment boundary; thus, adjust the directives accordingly.
Albeit the wonderful i386 architecture doesn't mind the smaller alignment in
an obvious way, it is likely to have resulted in some performance penalty
during the a.out->ELF transition.
1999-08-23 08:24:36 +00:00
drochner
29a8d333b6
put biosdiskclose() inside LIBSA_NO_FS_CLOSE
1999-08-03 19:46:22 +00:00
drochner
7dab8cef61
fix logics in device recognition
1999-07-15 18:00:27 +00:00
kim
0dc60ae78c
Build bootblocks to always use COM0 for console.
1999-07-11 01:23:53 +00:00
kim
f93a90f888
Use same Makefile for biosboot_com0 too.
1999-07-11 01:22:45 +00:00
drochner
6211cd566c
fix creation of DOS / ROM images from ELF executables: use "objcopy"
1999-07-08 14:32:28 +00:00
christos
2f1646ea98
Remove -DDEBUG
1999-07-06 14:37:05 +00:00
kim
c867e93fae
Pickup changes from ../biosboot/Makefile and add .PATH so that source
...
files are found. Now this compiles ok (have yet to run the blocks).
1999-06-13 17:21:18 +00:00
drochner
19e64942a2
don't printf(NULL), not even in the DEBUG case
...
(It doesn't hurt the bootloader, but the junk output hangs my serial
console.)
1999-05-15 15:42:23 +00:00
drochner
998ac16bb7
add some casts for gcc -Wall, from David Rankin
...
<drankin@bohemians.lexington.ky.us> per PR port-i386/7554
1999-05-11 19:57:05 +00:00
drochner
6959d736df
make sure the ./machine link is created early enough for specific targets,
...
fixes PR port-i386/7553 by David Rankin <drankin@bohemians.lexington.ky.us>
1999-05-11 19:43:09 +00:00
drochner
fe310dd299
include <lib/libkern/libkern.h> for intoa()/inet_ntoa()
1999-05-07 16:19:27 +00:00
fvdl
4fbaa0b272
Restrict "out of CHS range" check to harddisks.
1999-05-04 17:14:55 +00:00
fvdl
ec559f688b
Be more careful with saving registers around the "out of CHS range" check.
1999-05-02 12:44:34 +00:00
christos
57e4b98787
- Use the proper multiply instructions so that we don't get truncated.
1999-04-30 15:31:17 +00:00
fvdl
48003b2c88
Only use int13 extensions if the sectors can not be read through the
...
older CHS interface. This works around stupid BIOSs who report that
int13 extensions are present and functional, but fail when you actually
use them. Like Adaptec SCSI BIOSs.
1999-04-28 23:24:42 +00:00
christos
c5ec77e01b
use new loadfile
1999-04-28 09:14:22 +00:00
christos
5317a4673a
Use new loadfile
1999-04-28 09:14:07 +00:00
christos
a030d021a7
Use new loadfile.c
1999-04-28 09:13:51 +00:00
drochner
ca053f4364
remove an "unmodified" so that the copyright notice will hopefully match
...
pk's "BSD-style (clauses: 2; no acknowledgements)" pattern
1999-04-22 10:27:16 +00:00
drochner
982c55e22c
another nit in error handling: don't try to print out a NULL filename
...
(which means "use default" and is dealt with properly by open())
1999-04-17 11:18:36 +00:00
christos
30ffed2123
remove bogus prototype for getopt
1999-04-14 15:22:46 +00:00
christos
c70b4ad2a1
Add prototype for getsecs
1999-04-14 15:22:07 +00:00