wdk
7495cd76b1
Since we don't have a lseek function in the PROM firmware standalone libs
...
we have to poke the data structures directly to force the offset we need.
The open() function returns with the address of the IO control block in
register t0 so we take a copy of it for our brute-force lseek function.
This should be reasonably portable since the firmware writers closely
follow UNIX semantics and the open stubs should recompile and use the
same registers. May break on the rebadged clones -- buyer beware.
The alternative is to use dummy reads to go forwards and reopen followed
by dummy reads to go backwards. It takes around 60 seconds to boot
using this method if we use a clean filesystem.
Tested with firmware versions 5.40 and 5.43
2000-09-26 09:32:25 +00:00
wdk
9b4e50f624
Second stage bootstrap:
...
- Rename from boot.mipsco -> boot to be consistant with other ports
- use ELF format
2000-09-26 09:11:04 +00:00
wdk
1eec339f4b
First stage bootstrap is stored on boot sectors in ECOFF format. Ensure
...
entire file fits within the imposed limit.
2000-09-26 09:06:50 +00:00
itojun
8a9f93dc37
update ip compression algorithm lookup.
...
attach sadb_comb for IP compression (not in RFC2367;
discussed on pf_key@inner.net ). sync with kame
2000-09-26 08:40:23 +00:00
itojun
78f9775c35
do not hardcode maximum IV length.
2000-09-26 08:37:38 +00:00
kleink
26c512aade
Make these idempotent as far as the FPU register stack is concerned.
2000-09-26 07:28:23 +00:00
simonb
215a3a5491
Add support for booting off RAIDframe RAID1 mirrors.
...
Check the first partition type in devopen(), and if it is of type
FS_RAID, add 64 to blkdev_part_offset.
NOTE: This brings the size of the alpha first-stage bootblocks up to
close to the maximum. RAID1 support is controlled by the
BOOTXX_RAID1_SUPPORT define, and is easy to disable if size
becomes an issue.
2000-09-26 05:13:36 +00:00
itojun
9ebff4b328
remove merge error from kame.
2000-09-25 23:37:55 +00:00
itojun
a931ac8209
off-by-1 error in string length validation.
...
From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>
2000-09-25 23:07:28 +00:00
pk
2e79bfed2d
Missing `#if defined(MULTIPROCESSOR) || defined(LOCKDEBUG)'
2000-09-25 21:02:38 +00:00
jsm
5fd015d6f6
In cypher(), don't attempt to make sense of words other than VERBs or
...
KNIFE when a verb is required. Add AUXVERB for "make", "move",
"climb" (as in "make love", "climb up") and ignore AUXVERB as a verb,
going on to the next word, instead of treating these words as
adjectives. When creating new verbs from "put on", "put down", "take
off", mark them as type VERB. Mostly from Paul Janzen
<pjanzen@foatdi.harvard.edu>.
2000-09-25 19:37:58 +00:00
eeh
b555818569
Add _rtld_debug_state to the list of symbols where GDB may stop the
...
dynamic linker.
2000-09-25 17:10:28 +00:00
itojun
2c8b266751
make ip6_ext available for non-IPv6 compilation
...
(needed for header chain parsing). (redo of 1.25 -> 1.26)
2000-09-25 15:00:08 +00:00
jsm
ca0c4d77e3
Add new flags OBJ_PERSON and OBJ_NONOBJ to the objflags array.
2000-09-25 14:44:59 +00:00
jsm
e2872de219
Add OBJ_AN flag to objflags so as to use "a" or "an" appropriately in
...
messages; avoids "a amulet", "a Elf". Define and use macros to use
"a", "an", "the", "is", "are" appropriately. Partly based on OpenBSD.
2000-09-25 14:08:08 +00:00
jsm
293597460a
Remove excess blank lines. From OpenBSD.
2000-09-25 14:06:20 +00:00
jsm
4cf0caf4ef
Fix loving already loved goddess; avoid fallthrough after loving
...
goddess; give error on "love amulet". From OpenBSD.
2000-09-25 14:05:52 +00:00
simonb
ea0dd8a5fb
Reenable VNODE_OP_NOINLINE, and some white space nits.
2000-09-25 14:05:32 +00:00
abs
3ef92f0bdb
Use "options<SPACE><TAB>" not "options<TAB>" - noted by simonb.
...
Move VNODE_OP_NOINLINE and NFS_V2_ONLY into '# Filesystem options' section.
Consistently label '# Filesystem options' and '#File systems' sections.
2000-09-25 13:54:50 +00:00
simonb
2dfc419b59
Add rsh-spx and amanda from the IANA list.
2000-09-25 12:42:57 +00:00
martin
4e675359ad
Make kernels with IPSec but without IPv6 compile again.
...
This may break IPPROTO_AH - someone with a clue should double-check
this, please.
2000-09-25 12:35:53 +00:00
abs
ccf1c822a6
Ensure all INSTALL config files have (at least) COPTS="-Os", cincluding bebox
...
based on it working already for macppc.
Also add commented out:
#options VNODE_OP_NOINLINE # Don't inline vnode op calls
#options NFS_V2_ONLY # Exclude NFS3 and NQNFS code
as suggestions for additional savings
2000-09-25 11:46:37 +00:00
sato
eb2da98d92
#include <sys/reboot.h> would probably suffice for those.
2000-09-25 09:03:32 +00:00
sato
67afa9cfe2
- when PMUINT_BATT or PMUINT_BATTINTR interrupts occured,
...
send CONFIG_HOOK_PMEVENT_SUSPENDREQ event.
2000-09-25 03:51:28 +00:00
sato
1efb55d0b4
- add debug/verbose functions.
2000-09-25 03:47:37 +00:00
sato
5125b04184
- can compile these files.
...
#include <sys/boot_flag.h>
2000-09-25 01:56:56 +00:00
enami
d52ba1b85f
Fix merge lossage in disabled code.
2000-09-25 01:07:25 +00:00
jsm
9cffc34578
Use defined constant FINAL instead of hardcoded 275. From OpenBSD.
2000-09-25 00:33:18 +00:00
jsm
f97a3c82c3
Fix logic error in use of n and wordnumber in murder() when using
...
laser. From OpenBSD.
2000-09-25 00:28:54 +00:00
itohy
dd5d3287ec
Use "etext" instead of "_etext" like db_trace.c,
...
which makes it be linked by a.out ld.
2000-09-24 23:46:37 +00:00
itohy
c3202405d5
Support half-duplex mode (use only one DRQ).
...
Fix PR #10308 .
2000-09-24 23:40:12 +00:00
jdolecek
f9f2c92422
this file was oversight at first (pointed out by is):
...
Add new boot flags -v, -q, which switch on AB_VERBOSE or AB_QUIET
respectively. This follows recent bootverbose/bootquiet changes.
2000-09-24 20:56:04 +00:00
is
8bb7233144
also distribute the amiga/boot.8 manual source.
2000-09-24 20:05:05 +00:00
is
7d779f5512
Add amiga/boot.8 manual page to the list.
2000-09-24 19:57:21 +00:00
jdolecek
5c369e4610
defopt SHMMAXPGS, SEMMNI, SEMMNS, SEMUME and SEMMNU
2000-09-24 18:45:37 +00:00
jdolecek
5eb24d5dd0
am7990[0]_intr(): only print the "entering with isr=XX" debug message
...
if compiled with LEDEBUG > 1
2000-09-24 18:37:22 +00:00
jdolecek
2308091f66
update usage message (new flags -v, -q)
2000-09-24 18:28:18 +00:00
jdolecek
b135d5504a
netbsd_opts.c was removed as part of bootverbose/bootquiet changes
...
Pointed out by Lennart Augustsson in private e-mail.
2000-09-24 18:13:54 +00:00
augustss
a5f7c1b8fd
Document the USB event API..
2000-09-24 17:22:08 +00:00
jdolecek
b333be3980
document new -v, -q flags
2000-09-24 17:03:27 +00:00
jdolecek
cce88ce6ac
also process boot.8
2000-09-24 16:39:54 +00:00
tsubai
5836de14e4
Fix a bug introduced in BOOT_FLAG change.
2000-09-24 16:16:37 +00:00
jdolecek
b1f94e26ab
don't specify number of ptys if >= 16 (current default initial number)
...
pty comments: normalize and g/c what is no longer relevant
2000-09-24 15:59:26 +00:00
tsubai
4833accce2
In mem_regions(), remove zero sized entry returned from OF.
...
Since this function uses size == 0 to delimiter, valid entries must not
contain 0 in size field.
G4 Cube should boot now. :-)
2000-09-24 15:57:03 +00:00
jsm
572a824811
Discard any part of a line of input that goes beyond our buffer rather
...
than treating it as our next line of input. From OpenBSD.
2000-09-24 15:51:40 +00:00
tsubai
4317291e1a
Make HTABSIZE calculation work with >1GB RAM.
2000-09-24 15:26:34 +00:00
jsm
96232c1c4d
Give less cryptic messages than "-1%" when WEIGHT or CUMBER are zero.
2000-09-24 14:42:18 +00:00
jsm
ad9cea40fa
Add explicit no-ops to empty loops following the NetBSD style guide.
2000-09-24 14:20:23 +00:00
martin
70c8ada2ad
Add calls to ether_addmulti and ether_delmulti. This code looks a bit
...
different than other drivers due to the way ti_setmulti manages the
filters. Patch from Keijiro Ehara.
2000-09-24 14:19:52 +00:00
jsm
579d7e283b
Make hash table static in parse.c.
2000-09-24 14:11:09 +00:00