nathanw
28b2a20fb9
Add bit definitions for the MPC750 thermal management registers.
2002-03-03 04:31:53 +00:00
kleink
4a513728e8
Add end-of-comment missing in previous.
2002-03-02 21:36:27 +00:00
kleink
a34187bca3
Also reset segment register 0 on kernel entry: there may not always be
...
a fixed BAT entry covering segment 0, or not completely covering it,
and we do restore it on return to user level already.
2002-03-02 15:19:56 +00:00
kleink
dc0a08feaa
Note that Guarded bit is not implemented on the 601.
2002-03-02 15:07:35 +00:00
matt
4b948be2fc
Disable BTIC on rev 2.0 or earlier MPC7450s as Motorola Errata #31 for the
...
MPC7450.
2002-03-02 02:18:38 +00:00
simonb
4324f37586
Use "#define<tab>".
2002-02-28 03:17:23 +00:00
kleink
39a685458d
Fix pastos & typoe.
2002-02-27 04:13:10 +00:00
matt
178af24f65
Add a comment to where we increment intr_depth to show that intstk+INTSTK
...
== intr_depth. (gag)
2002-02-27 03:27:14 +00:00
christos
e8116a8f5b
- Use DEV_ constants, instead of documenting the numbers!
...
- Delete cdev_decl(mm); where appropriate, and other hand-crufting [hi powerpc!]
2002-02-27 01:20:51 +00:00
kleink
f7a55f56d3
PIR is the same on 601.
2002-02-26 00:48:58 +00:00
kleink
67678b7c54
Handle the 601's Run Mode/Trace Exception.
2002-02-22 18:50:45 +00:00
kleink
543f1e7a2d
Handle the 601's Run Mode/Trace Exception as well.
2002-02-22 13:51:40 +00:00
simonb
2d8577fb83
Clean up some rampant code duplication wrt ieee number handling:
...
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
2002-02-19 13:08:12 +00:00
chs
b744097a5f
allow writing to write-only mappings. fixes PR 3493.
2002-02-14 07:08:02 +00:00
kleink
11402be7a5
Header for the 601's I/O Controller Interface Address Translation
...
segment register format.
2002-02-09 17:44:40 +00:00
briggs
9827f27b9f
Update from thorpej:
...
* Define type and size of _mcount stub to make PIC code happy.
* Rename mcount to __mcount to get it out of the user namespace.
2002-02-07 05:13:35 +00:00
kleink
3b7a9506f7
Printf the 601's HID0.
2002-02-06 20:00:48 +00:00
kleink
69e30815cf
Add a printf bitmask for HID0.
2002-02-06 19:59:30 +00:00
kleink
cd6a8bc27c
Add MPC601 MQ and RTCU/RTCL SPRs.
2002-02-05 19:49:17 +00:00
dbj
ecf4398451
increment uvmexp.traps on entry to trap()
2002-02-02 22:02:00 +00:00
dbj
0ac4681659
add support for kgdb over zs
2002-01-06 00:35:10 +00:00
jhawk
d77edb248a
Print negative SIMM operands correctly; previously, negative numbers
...
were bogus.
2002-01-05 22:07:26 +00:00
jhawk
a0dca6bb1d
Remove gratuitous ", " after the last opcode for SIMM and UIMM opcodes.
2002-01-05 20:22:52 +00:00
jhawk
c7996c4a47
Print addresses symbolicly using the new ddb helper function, db_symstr().
...
This disassembler still needs a fair chunk of work.
2002-01-05 20:21:37 +00:00
dbj
86e773e9fd
change apparent typo of MS_SFILES to MD_SFILES
...
This fixes some dependency problems with locore.S
2002-01-05 17:58:48 +00:00
jhawk
ac054a2787
Support
...
t/t PID
on the powerpc. (remember to use 0tPID if pid is in decimal...)
2002-01-03 22:15:06 +00:00
chs
9451559ef4
pmap_page_protect(VM_PROT_NONE) must remove all mappings in the PV list,
...
even if they are wired. we need to be able to remove all mappings to
pages that are being freed due to (eg.) file truncation.
2002-01-02 00:51:33 +00:00
dbj
98cbceb382
handle have_address=TRUE
2001-12-31 18:29:07 +00:00
dbj
f03e8813e0
allow ddb access to lr, ctr, cr and xer registers when not on PPC_IBM4XX
2001-12-30 20:53:04 +00:00
dbj
98d1a18067
remove unused variable in kgdb_acc
2001-12-30 20:50:53 +00:00
dbj
1b65d8fd30
fix single stepping and continuing from breakpoints in ddb
2001-12-27 10:32:23 +00:00
dbj
2bea447d60
sync the instruction cache even when only writing 2 or 4 bytes
2001-12-27 10:25:41 +00:00
dbj
d91a86f994
revert revision 1.13
...
this turns single stepping back off since it doesn't correctly work
note that without single stepping, several things do not work as
expected, including continuing from interrupts
2001-12-24 16:57:40 +00:00
dbj
ce516e4e69
add declaration of ipkdb_trap_glue
2001-12-23 08:25:27 +00:00
dbj
3ff5d761b8
restore msr on return from ddb, this allows single stepping
2001-12-23 08:19:44 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
briggs
25e9f1f519
Provide basic bus_space_mmap(). Noted by self and in PR port-powerpc/14873.
...
This at least allows the compile to complete. There are still Issues with
vga_pci.c's assumptions about a PC-ish environment.
2001-12-10 20:30:21 +00:00
thorpej
51535d4bf5
Add support for dumping ELF-cormat core files.
2001-12-09 23:05:56 +00:00
atatat
b45c51b1fc
Roll the rest of the ports over to the new MI kernel build machinery.
...
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
2001-12-09 05:00:40 +00:00
bjh21
20d6672fda
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
2001-12-07 12:58:43 +00:00
chs
5e5ab17808
fix the sense of a MULTIPROCESSOR conditional, cpus after the first are
...
not configured if MULTIPROCESSOR is *not defined.
2001-12-05 05:13:50 +00:00
chs
f0d9c43220
fix macppc MULTIPROCESSOR compilation.
2001-12-05 05:02:10 +00:00
thorpej
fbd78c8e3c
Add PVR processor type fields for IBM 405GP and IBM 405L.
2001-12-02 20:11:49 +00:00
tsutsui
163114ab3c
Implement pmap_kenter_pa() and pmap_kremove() properly.
...
This should fix `kernel diagnostic assertion "rv" failed' panic
and the problem was tracked down by tsubai.
Also add small optimization in pmap_enter() and pmap_remove(), from tsubai.
2001-12-01 23:34:52 +00:00
chs
bf5f058642
don't depend on other headers to include sys/proc.h for us.
2001-11-30 07:53:13 +00:00
mjl
90acd67a3c
Need CACHELINESIZE for libkern memset.
2001-11-29 00:16:35 +00:00
lukem
ecb81c3f6d
- convert usage of "defopt" to "defflag" where the relevant option does
...
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
thorpej
9235283af1
Rename NOCACHE -> PPC_4XX_NOCACHE to avoid conflict with the namei
...
flag of the same name.
From Frank van der Linden <fvdl@wasabisystems.com>.
2001-11-26 23:26:33 +00:00
thorpej
77fdde7f2c
Reset the unused RPN bits in a TLBLO to 0, as specified by the PPC401B3
...
user's manual, page 8-40.
From Frank van der Linden <fvdl@wasabisystems.com>.
2001-11-26 23:24:20 +00:00
lukem
0fa231134c
- replace "defopt" with "defparam" for options which must take a value,
...
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00