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
drochner
1ecbaaabf8
this is now sys/lib/libsa/ufs_ls.c
1999-04-14 13:31:49 +00:00
hpeyerl
6cde76c6fe
fix some copyright foo.
1999-04-14 12:56:33 +00:00
drochner
e4841b3edf
add prototypes, use ufs_ls() from mi libsa,
...
compile with -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
1999-04-14 11:53:43 +00:00
drochner
312eae2bf4
add prototypes, use ufs_ls() from mi libsa, revert to "void main()",
...
compile with -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
1999-04-14 11:45:39 +00:00
drochner
dd0ed4267b
add prototype
1999-04-14 11:19:23 +00:00
drochner
2d1e6a1f5a
add prototypes, slight formatting changes
1999-04-14 11:17:04 +00:00
drochner
ffd8d7c6d0
add prototypes
...
being here, format ala KNF
1999-04-14 10:57:59 +00:00
drochner
7d5e1f9211
fix error handling: almost all errors were ignored
1999-04-09 20:12:57 +00:00
drochner
552f55e726
Call bi_getbiosgeom() after loadfile() returned successfully. This avoids
...
a memory leak if loadfile() gets an error.
1999-04-08 18:21:15 +00:00
drochner
0ead10436a
define VERSIONFILE, from John Darrow <John.P.Darrow@wheaton.edu>
...
per PR port-i386/7336
1999-04-08 10:23:23 +00:00
drochner
5d86b86370
#ifdef out the last change for the branch
1999-04-01 19:36:09 +00:00
drochner
3497f157fd
On serious boot errors, dont lock the machine. Instead, wait 3 seconds
...
and call the ROM BASIC vector. This might behave differently on different
machines, but normally it allows to reboot without power-cycling.
1999-04-01 17:07:54 +00:00
drochner
99a84ef740
sync to changed biosdisk interface again
1999-04-01 16:09:49 +00:00
fvdl
fb1b0e7a0b
Shifting ecx without explicit prefix in real mode won't work.
1999-03-30 22:35:21 +00:00
drochner
17de7b2576
adapt to set_geometry change: we don't have to correct the geometry
...
anymore
1999-03-30 17:58:05 +00:00
drochner
62031ff978
fix some disk handling problems introduced in the last commits:
...
-read retries were botched, use the right sector count
-read-ahead buffer was effectively unused
-concentrate the handling of the weird BIOS geometry report at one place
-fallback for old floppies left cylinder count uninitialized
1999-03-30 17:55:48 +00:00
drochner
4feae58ec1
sync to changed geometry handling in the standalone code
1999-03-30 11:51:35 +00:00
fvdl
b815df141c
Only use the total number of sectors information field from the EDD if
...
the bit is set that declares the geometry valid. The spec itself says
that this field isn't covered by the "geometry valid" bit, but at
least one BIOS implements it that way.
1999-03-28 19:41:27 +00:00
sommerfe
82f8a7dee9
Turn off biosboot_ser until makefile issues get worked out..
1999-03-14 05:50:38 +00:00
fvdl
35d517b9f1
Hack to make biosboot_ser work.
...
XXX The makefile structure in src/sys/arch/i386/stand is very bad.
1999-03-14 00:04:06 +00:00
tron
32e0182e15
$(OBJS) -> ${OBJS}
1999-03-13 20:58:25 +00:00