simonb
cc85b518f1
Remove unused ppc4xx_tlb_unpin() function.
2006-07-12 06:22:17 +00:00
thorpej
55e8bbeb6e
Put appropriate prefixes on property names to reduce chances of name
...
collisions.
2006-07-10 16:28:44 +00:00
freza
75998ff7ee
Fix recent ibm4xx/intr.c rework:
...
- Recalculate masks _after_ new interrupt handler is enqueued, otherwise
the very last one won't ever be enabled (from hannken@)
- We can't use splhigh() to protect intr_calculatemasks() since it would
use soon-to-be-invalid mask. Instead, fiddle PSL_EE directly as we do
in other places.
Reviewed and tested (evbppc/explora) by hannken@
2006-07-10 12:52:13 +00:00
ross
dd8ab8abc4
add new split personality for ELF64
2006-07-08 06:36:42 +00:00
ross
c389a93699
Add _LP64 version of _mcount for ppc64
2006-07-07 21:28:03 +00:00
ross
d08a822069
Add stmd and lmd macros.
2006-07-07 21:26:54 +00:00
ross
96cf233754
more refinements for ppc64 PIC/PLT/TOC issues
2006-07-06 15:26:51 +00:00
scw
5914c06c4c
Fix the entries for SPR_DC_ADR and SPR_DC_DAT.
2006-07-06 15:09:54 +00:00
simonb
78877867ee
Remove some unused variables.
2006-07-04 06:25:50 +00:00
ross
db9b461644
Add ppc64 ENTRY() macro that defines the descriptor and the dot symbol.
2006-07-01 20:34:49 +00:00
freza
78037d3f6d
Bring ibm4xx interrupt code up to date:
...
- generic soft interrupts (ie. use powerpc/softintr.c)
- interrupt event counters (using the ones from powerpc/cpu.h:cpu_info
where appropriate)
- cleanup ibm4xx_intr.h, move implementation details to intr.c
Convert all affected evbppc platforms.
OK by simonb@, some points discussed with matt@
2006-06-30 17:54:50 +00:00
drochner
a3464e1d27
use the "i2cbus" interface attribute rather than putting a string name
...
into the i2cbus attach args
2006-06-26 18:21:38 +00:00
freza
dc25af75d0
Merge multiple definitions of cntlzw() ("count leading zeros")
...
instruction-wrapper to <powerpc/cpu.h>.
OK by briggs@
2006-06-13 18:24:37 +00:00
mrg
77b9fb02b9
undef memset before calling it with a destination address of 0.
...
GCC4.1 complains about this when using the builtin, so force
this to call the real function normally.
2006-06-04 07:32:20 +00:00
freza
fbb6d5fc9e
Remove duplicate definitions of mfdcr()/mtdcr() in favor of a single one
...
in cpu.h
OK Matt Thomas
2006-05-30 22:44:13 +00:00
shige
b920e23d24
Move cpu_configure to evbppc/*.c.
...
(Remove ibm4xxgpx_autoconf.c)
I'm sorry for my wrong thinking.
2006-05-15 15:56:54 +00:00
yamt
d73ce018b0
include kauth.h for kauth_cred_geteuid.
2006-05-15 09:26:18 +00:00
yamt
069692b8ed
include kauth.h for kauth_cred_geteuid.
2006-05-15 09:21:21 +00:00
elad
8ccb6c9341
integrate kauth.
2006-05-14 21:55:09 +00:00
matt
0e504287d7
Fix a problem when an exec page is mapped, modified, and then unmapped.
...
Make sure to either clear the execness or sync the page to the icache.
This fixes gdb testsuite failures. Thanks for nathanw for testing.
2006-05-13 04:04:45 +00:00
nathanw
a255fcef8d
Fix a typo in a comment.
2006-05-12 16:01:05 +00:00
simonb
5b933f2a90
Unwrap not-too-long long.
2006-05-07 04:45:03 +00:00
thorpej
fb44a8574b
Remove the devprop API and switch everthing over to the new proplib. Add
...
a new device_properties() accessor for device_t that returns the device's
property dictionary.
2006-05-05 18:04:41 +00:00
simonb
02119658ff
Add a NetBSD RCS id.
2006-04-12 12:30:50 +00:00
cherry
dc0898b362
closes kern/32359
2006-04-01 15:44:59 +00:00
shige
f9232cd159
Move pci_intr_map and pci_conf_interrupt functions to MD codes.
...
Change Max PCI devices from 5 to 31.
2006-03-29 17:50:33 +00:00
thorpej
11c16d3717
Use opb_instance instead of dv->dv_unit when checking if we should set
...
the mac-addr property.
2006-03-28 17:22:15 +00:00
shige
205ee851c8
Make cpu_setmcontext() fix up the passed-in MSR value.
2006-03-26 16:15:57 +00:00
drochner
47fbb9d86b
adapt to uvm_fault() interface cleanup: kill the useless 3rd argument
2006-03-15 18:12:02 +00:00
shige
61e6e07d5b
IBM4xx on-chip GPIO controller applying MI GPIO framework.
2006-03-13 16:17:57 +00:00
shige
17629c725d
IBM4xx on-chip GPIO controller apllying MI GPIO framework.
2006-03-13 15:31:11 +00:00
yamt
04ff17cc06
fix mistakes in yamt-uio_vmspace changes.
2006-03-12 22:44:27 +00:00
lukem
a1f606d3fd
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
...
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
thorpej
61dd49d3bc
Syscall debug tracing is handled by trace_enter() / trace_exit(). Change
...
trace_is_enabled() to return TRUE if SYSCALL_DEBUG is defined, and g/c
all of the SYSCALL_DEBUG handling from individual system call dispatch
routines.
2006-03-07 07:21:50 +00:00
thorpej
be8b235384
Clean up fallout proc_is_traced_p() change:
...
- proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and
trace_exit().
- trace_is_enabled() becomes a real function.
- Remove unnecessary include files from various files that used to care
about KTRACE and SYSTRACE, but do no more.
2006-03-07 03:32:04 +00:00
he
53c5776a46
syscall_fancy is only defined if either KTRACE or SYSTRACE is set,
...
so enclose its use in the same set of conditionals.
2006-03-06 08:05:06 +00:00
rjs
15f20d6c5b
Always define syscall_fancy.
2006-03-05 22:34:34 +00:00
christos
beea4fc3fa
Add a proc_is_traced_p() macro and use it, instead of copying the same code
...
in many places. Idea from thorpej.
2006-03-05 19:08:38 +00:00
christos
a4495f4cec
implement PT_SYSCALL
2006-03-05 07:21:37 +00:00
yamt
ec5a93183a
merge yamt-uio_vmspace branch.
...
- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
2006-03-01 12:38:10 +00:00
simonb
5034f87d7b
Fix fallout from obviously untested device_is_a() rototill.
2006-02-28 01:16:59 +00:00
thorpej
132ce1f07f
Use device_is_a()
2006-02-26 05:24:52 +00:00
thorpej
458b3e43f7
Use device_parent().
2006-02-23 05:37:46 +00:00
thorpej
b636d4910e
Add an "instance" member to opb_attach_args and use it when fetching
...
the mac-address property from board_info. port-powerpc/32862
2006-02-21 04:25:29 +00:00
thorpej
3ddf26777f
Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
...
directly.
2006-02-20 16:50:36 +00:00
thorpej
680d9eea68
- Don't expose dev_propdb directly -- provide devprop_*() wrappers instead.
...
- Rework the ARMADILLO / epe device properties interaction so that it actually
associates the MAC address property with the epe device instance.
2006-02-18 05:04:11 +00:00
perry
fbae48b901
Change "inline" back to "__inline" in .h files -- C99 is still too
...
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
2006-02-16 20:17:12 +00:00
gdamore
8430838831
PCI_NETBSD_CONFIGURE should allocate (but not map) address space expansion
...
ROMS by default. Full discussion at
http://mail-index.netbsd.org/tech-kern/2005/12/16/0023.html
Closes PR kern/32467
Reviewed by briggs@
2006-02-10 20:52:56 +00:00
dsl
498e318d85
This file only needs to #include sys/bswap.h
2006-01-31 07:51:41 +00:00
ross
3039e0bce8
Work around a PIBS bug: OF_write() doesn't get a returned count.
2006-01-22 22:53:56 +00:00