gmcgarry
5382848ec7
Recognise md as a valid root device. And since md disks don't get
...
device_register()'d, don't go looking on our device list for them.
Ramdisk kernel now boot.
2002-02-23 21:52:25 +00:00
gmcgarry
42abedb038
Trim down to 1.2MB ramdisk for booting on 4MB machines.
2002-02-23 21:48:08 +00:00
gmcgarry
19f1fd96ca
Don't need printer support during installation.
2002-02-23 21:47:07 +00:00
gmcgarry
6a45dcbe5d
Cleanup options for binary compatibility. HPUX and SUNOS are known to work.
2002-02-23 21:46:24 +00:00
gmcgarry
feb0773e27
Support two-stage netboot. Is known to work on maxine, but problems
...
have been reported on 3min.
2002-02-23 21:43:57 +00:00
gmcgarry
1635c6c690
Handle being built as a host tool.
2002-02-23 21:34:06 +00:00
gmcgarry
0d9e66cda7
Add elf2ecoff as a build tool for mips ports.
2002-02-23 21:32:27 +00:00
matt
c7ce362189
Teach old (a.out) vax gas about register prefixes.
2002-02-23 21:16:41 +00:00
matt
9fe6d7dc5a
Dump a few comments that don't apply anymore. Remove dead code that is no
...
longer used. Add register prefix support. It's always on for ELF and
optional for a.out (it's recognize register names with or without the %
prefix).
2002-02-23 21:07:29 +00:00
matt
572f2bb969
Teach gcc to emit register prefixes (though unless its ELF, the register
...
prefix is NULL).
2002-02-23 21:02:49 +00:00
thorpej
0780eaaa32
Use bcopy() and bzero(), since the rest of libsa does. This means
...
we don't have to pull in memset() and memcpy() from libsa.
2002-02-23 20:48:14 +00:00
leo
c3de71f0bf
Fixup icu-code. It now works for both ISA and PCI.
2002-02-23 20:44:45 +00:00
thorpej
59f1dfe1c2
Don't need to provide zcalloc() and zcfree(); there are such routines
...
in libz.
2002-02-23 20:34:41 +00:00
thorpej
524d248b59
Fix the -DRELOC=... CPP flag. Add -DDYNAMIC_CRC_TABLE to shrink
...
the text (and, thus, the space taken up in flash) a bit.
2002-02-23 20:19:52 +00:00
briggs
caaef6d0d0
Implement obio_bs_rr_1.
2002-02-23 19:55:34 +00:00
he
2328e1f7fb
Replace a tab with 8 spaces inside a .(disp to get more sane formatting.
2002-02-23 19:36:16 +00:00
thorpej
a91d5a1a99
Example Makefile and linker script for building a run-from-flash
...
gzboot image for the IQ80310 with room for 2M of compressed data.
2002-02-23 19:16:54 +00:00
matt
bc49a6eede
Fix long time codegen bug. Only the COMPARE, ADD, MINUS operations actually
...
set the C(arry) bit appropriately. All other leave it in an indeterminate
(to GCC) state. Mark that by setting CC_NO_OVERFLOW. Change vax.md emission
of branches that use the C bit to use OUTPUT_JUMP so that if CC_NO_OVERFLOW is
set, branches that would normally use the C bit use opcodes that don't use the
C bit (jgtru -> jneq && jlssu -> jeql). Delete the cmpdi pattern.
2002-02-23 18:36:52 +00:00
thorpej
c39065eb62
Add support for running directly out of flash:
...
* Require that the builder Makefile provide a linker script.
* After making sure the MMU is disabled, check to see if
_etext == __data_start. If not, then copy the .data contents
into RAM.
* Put the stack in .bss.
2002-02-23 18:19:09 +00:00
chs
7b2a130dc8
make this work in the new build system.
2002-02-23 17:27:42 +00:00
thorpej
87de164ab4
Fix a silly bug in the propellor spinning code.
2002-02-23 17:25:32 +00:00
scw
c4dbe1a160
Allow MD code to provide functions for reading/writing NVRAM/RTC
...
locations. If passed NULL, the old behaviour using bus_space_{read,write}_1()
is used. Otherwise, all access to the chip goes via the MD functions.
This is necessary for mvmeppc boards where the mk48txx NVRAM/RTC is not
directly addressable.
2002-02-23 17:18:54 +00:00
wiz
0f4520b538
Typo and grammar fixes.
2002-02-23 17:06:24 +00:00
wiz
56e0213dd1
Whitespace nits and a typo fix.
2002-02-23 17:03:18 +00:00
wiz
4da241dfa0
Whitespace nits.
2002-02-23 17:01:20 +00:00
fvdl
99d2b6e3ef
Add linux_sysctl.c
2002-02-23 16:46:03 +00:00
ad
b13d5cf210
Fix typo in previous.
2002-02-23 14:05:02 +00:00
toshii
3676484136
Make KERNEL_VM_SIZE a little larger so that ubc_init doesn't fail from
...
ENOMEM.
2002-02-23 14:02:48 +00:00
toshii
5e0f2080c8
Remove a bogus pmap_map_entry call.
2002-02-23 13:58:10 +00:00
pooka
5079cbce00
libstdc++, not libstc++
2002-02-23 11:06:53 +00:00
dbj
c467951c58
turn on polling using cnpollc
2002-02-23 10:51:50 +00:00
dbj
b97918f553
In adb_soft_intr, remove the packet from the queue before calling the
...
completion routine so that the completion routine can reentrantly
process the queue. This happens, for example. when polling is turned
on by entering the debugger by keystroke.
2002-02-23 10:47:16 +00:00
martin
a290138790
Add more examples.
2002-02-23 08:11:22 +00:00
thorpej
d114b32f24
Add some nops after we enable the MMU, for good measure (enough for
...
the nops to be the prefetch'd insns when the MMU switch occurs).
2002-02-23 05:58:46 +00:00
thorpej
f31f6affa9
Make sure the MMU is enabled after we switch to the new kernel
...
page tables (gzboot disables the MMU before it does its work).
2002-02-23 05:55:26 +00:00
thorpej
0b91bc440f
Move files[] from open.c to globals.c, so that it's possible to
...
use libsa in an application where there are no file systems or
devices.
2002-02-23 05:44:24 +00:00
thorpej
0fac1c42e9
gzboot -- boot a gzip'd kernel image. This is useful for booting
...
compressed kernel images from flash.
This needs more work, but is a good first-pass.
2002-02-23 05:41:14 +00:00
thorpej
1152fa21da
Add some simple standalone device drivers for IOP310-based boards.
2002-02-23 05:12:01 +00:00
thorpej
2365d7ec78
Add a '-s' option which will cause mdsetimage to write back the
...
actual image size copied back into the kernel.
2002-02-23 02:30:37 +00:00
enami
c4f3ebe67c
Make flag bit to character conversion table driven.
2002-02-23 01:06:41 +00:00
martin
8af2b425a2
Add a missing call to isapnp_config().
...
Do not hardcode IST_EDGE, use the type from the attach args.
Noticed by Christos Zoulas.
2002-02-22 21:26:47 +00:00
christos
510f6a45d4
A simple utmpx implementation. Nothing uses it yet.
...
TODO: write the lastlog*() stuff.
2002-02-22 20:11:44 +00:00
christos
4ac6388b63
A utmpx implementation.
2002-02-22 20:09:01 +00:00
uch
43eee13717
fix comment.
2002-02-22 19:56:27 +00:00
uch
b1b1f1117b
NetBSD/sh3 common part of clock routine.
2002-02-22 19:55:33 +00:00
uch
f3b1882035
print MMU infomation.
2002-02-22 19:46:34 +00:00
uch
45407e955f
setjmp,longjmp are moved to sh3/locore_subr.S
2002-02-22 19:45:31 +00:00
uch
f694c9fdd7
New NetBSD/sh3 clock framework.
...
+ hardclock source is moved from TMU1 to TMU0.
+ SH3/SH4 common kernel support.
+ PCLOCK estimation.
+ remove duplicated code.
2002-02-22 19:43:58 +00:00
kleink
67678b7c54
Handle the 601's Run Mode/Trace Exception.
2002-02-22 18:50:45 +00:00
thorpej
9d157337f4
Fix the "va" argument to pmap_map_entry() when mapping kernel_ptpt.
2002-02-22 18:25:08 +00:00