scw
aba39b410c
Don't forget to initialise 'sc' on entry to the attach function ...
2002-08-26 10:45:55 +00:00
scw
a1ed033a09
Hardcode FEMI base and top addresses, at least until I figure out
...
how to interpet VCR.MB_TOP and VCR.MB_BOT in some reasonable way.
2002-08-26 10:43:44 +00:00
scw
3ad3b8c856
Add MD ddb(4) files.
2002-08-26 10:39:43 +00:00
scw
a57d38854c
Save SSR and SPC while in the critical section of an exception. The
...
previous behaviour of storing them with SR.BL clear was in breach
of the SH5 documentation.
Make an effort to catch PANIC traps and dump machine state to the console.
2002-08-26 10:38:52 +00:00
scw
40f78dcc13
Use pmap_map_device() to map device registers.
2002-08-26 10:35:40 +00:00
scw
8bd3eb387d
Don't block exceptions in the initial SR value.
2002-08-26 10:34:43 +00:00
scw
10ce1fc51b
s/pmap_bootstrap_mapping/pmap_map_device/
2002-08-26 10:33:33 +00:00
scw
abc568b5e1
In cpu_fork(), if p1 == curproc, call sh5_savectx() to ensure the
...
pcb contains valid state before copying it to p2's pcb.
Previously, we just lazy-sync the fpu state. This wasn't quite good
enough if p1 had not previously slept.
2002-08-26 10:32:55 +00:00
scw
0a00df79a0
Initialise to zero the memory allocated for interrupt handles.
2002-08-26 10:26:28 +00:00
scw
d2c90421b8
Enable h/w interrupts before returning from cpu_configure().
2002-08-26 10:24:57 +00:00
scw
bc8042954a
- Add a debug check for SR.BL being set on entry to cpu_switch().
...
- Add sh5_savectx()
- Fix a branch target register botch in sh5_fpsave() and sh5_fprestore().
2002-08-26 10:23:56 +00:00
scw
7bd8b94a66
Wrap dump_kipt() in #ifdef DDB.
2002-08-26 10:21:54 +00:00
scw
d8f6a57b15
Re-work pmap_bootstrap_mapping() to pmap_map_device() to provide a
...
way for bus_space(9) to efficiently map device memory. (Although at
the moment, it doesn't quite work as efficiently as it will down
the line ...)
Fix a pool_init() botch.
Add a debug aid: dump_kipt(). This can be called from ddb(4) in order
to (partially) dump the contents of the kernel IPT.
2002-08-26 10:21:04 +00:00
scw
2774f9d77b
Basic ddb(4) support.
...
Still to do:
- disassembly
- breakpoints
- single-step
- stack trace
2002-08-26 10:16:44 +00:00
scw
16ba45622a
- Drop to ddb(4) on kernel traps.
...
- Dump more machine state on kernel traps (for when ddb isn't an option).
- Add rudimentary support for PANIC exceptions.
2002-08-26 10:14:02 +00:00
scw
d454acf190
Disable the checks for unsupported hz values for now. At least until I
...
can fix the peripheral bridge's PLL1 clock ratio.
2002-08-26 10:10:22 +00:00
scw
b5273356dc
- Invalidate insn/operand caches before setting up the mmu for the first time.
...
- Clear SR.FD to enable the FPU. Seems like it starts up disabled. If the
core has no FPU, this is a nop.
- Preserve the debug bits (step/watch) in an attempt to appease the debugger.
2002-08-26 10:08:02 +00:00
scw
911776caaf
Impose a limit on the time we spin waiting for the DTF host to ack
...
our packet. Seems like the ack for the initial posix console "open"
packet never arrives, even though it completes successfully.
2002-08-26 10:04:05 +00:00
lukem
844f13b164
oops; typo. (thanks enami!)
2002-08-26 09:02:45 +00:00
lukem
cd906151fd
don't install -sh as a link to sh. use ARGVLN to support -sh, -csh, and -ksh
2002-08-26 08:57:29 +00:00
ragge
9ed570274c
Remove old dmf/dmz definitions.
2002-08-26 08:14:53 +00:00
ragge
217df25ecc
Include DMF32/DMZ32 files. The actual device drivers will be checked in when
...
the licensing of the 4.4BSD encumbered files are solved.
2002-08-26 08:08:06 +00:00
itojun
9287c3fbb9
need to set wantinit variable
2002-08-26 07:38:34 +00:00
itojun
3931bcf3a3
suppress some of debugging output (IFF_DEBUG will re-enable it). PR 18069
2002-08-26 07:37:26 +00:00
petrov
a413e88543
Accept WDTR from device(based on John Heasley patch for SCSI3 drive).
...
Do not define NCR53C9X_DEBUG.
2002-08-26 06:23:32 +00:00
petrov
3a67429963
Start SYNC/WIDE renegotiating in controller reset, rearrange debug output.
2002-08-26 05:17:48 +00:00
petrov
584ece2d73
Dispose unused tinfo flags.
2002-08-26 05:14:47 +00:00
lukem
0cedce33e5
add "do-ld.elf_so" target, which builds & installs libexec/ld.elf_so.
...
call after do-gnu-lib but before do-build.
2002-08-26 04:40:20 +00:00
thorpej
83b3b86fd6
Fix a signed/unsigned comparison warning from GCC 3.3.
2002-08-26 01:42:28 +00:00
thorpej
f3420f21a5
Fix some signed/unsigned comparison warnings from GCC 3.3.
2002-08-26 01:39:39 +00:00
thorpej
2371f92317
Fix signed/unsigned comparison warnings from GCC 3.3.
2002-08-26 01:36:37 +00:00
thorpej
3767580d1a
Fix a signed/unsigned comparison warning from GCC 3.3.
2002-08-26 01:26:29 +00:00
thorpej
79111bb802
Fix signed/unsigned comparison warnings from GCC 3.3.
2002-08-26 01:21:58 +00:00
thorpej
d2f6f092f9
Avoid signed/unsigned comparison warnings from GCC 3.3.
2002-08-26 01:17:18 +00:00
thorpej
c92f7f0abb
Force CBSIZE to act like an "int" by casting the sizeof() used
...
within the expression.
2002-08-26 01:16:43 +00:00
thorpej
fde1164ef5
Fix some signed/unsigned comparison warnings from GCC 3.3.
2002-08-25 23:23:22 +00:00
thorpej
88e741999d
Fix signed/unsigned comparison warnings from GCC 3.3.
2002-08-25 23:16:39 +00:00
thorpej
4d94adc849
Fix some signed/unsigned comparison warnings from GCC 3.3.
2002-08-25 23:15:21 +00:00
thorpej
4bec56201d
Fix signed/unsigned comparison warnings from GCC 3.3.
2002-08-25 22:51:05 +00:00
thorpej
556e3c90c4
Fix a signed/unsigned comparison warning from GCC 3.3.
2002-08-25 22:32:02 +00:00
thorpej
cc1d5833ef
uiomove()'s second argument is now a size_t.
2002-08-25 22:29:11 +00:00
thorpej
c57c6b52cb
Make uiomove()'s count argument a size_t rather than an int.
2002-08-25 22:28:40 +00:00
thorpej
f1e8d159b0
Fix signed/unsigned conditional expression warning from GCC 3.3.
2002-08-25 21:47:50 +00:00
thorpej
cc84cfd836
Fix signed/unsigned comparison warning from GCC 3.3.
2002-08-25 21:44:13 +00:00
thorpej
7055457a98
Fix some signed/unsigned comparison warnings from GCC 3.3.
2002-08-25 21:30:40 +00:00
thorpej
5f7ccd1634
Fix a signed/unsigned comparison warning from GCC 3.3.
2002-08-25 21:19:41 +00:00
thorpej
cf013daeb3
Fix some signed/unsigned comparison warnings from GCC 3.3.
2002-08-25 21:18:15 +00:00
thorpej
181f0a9b54
Tweak the previous change so that a prototype is always provided.
2002-08-25 21:09:45 +00:00
thorpej
139cdc3125
Make nbuf, nswbuf, and bufpages unsigned. Make all operations on these
...
variables unsigned, and update places where their values are printed.
2002-08-25 20:21:33 +00:00
fredette
94791afd65
No longer use BTLB entries to map the entire address spaces of I/O subsystems,
...
since BTLB entries can be scarce and very little of an I/O subsystem normally
needs to be mapped.
Instead, the pmap now allows mappings of I/O space to be entered with
pmap_kenter_pa. bus_space mappings for small amounts of I/O space (as for
virtually all devices) are made this way, with BTLB entries still used for
large mappings for things like framebuffers.
This has led to more and cleaned-up uses of bus_space(9) and has caused
some autoconf cleanup. Also, kgdb is now attached and connected before
autoconfiguration, which is much earlier than before.
2002-08-25 20:19:59 +00:00