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
christos
3ffa241fcd
Add a STRONG_ALIAS macro
2006-01-20 22:02:40 +00:00
hannken
3bb1c71f4a
Fix a typo introduced in revision 1.8:
...
- #define splraiseipl(x) splraise(x)
+ #define splraiseipl(x) splraise(imask[x])
Approved by: YAMAMOTO Takashi <yamt@netbsd.org>
2005-12-31 14:07:32 +00:00
perry
2d542ba1f8
inline -> __inline
2005-12-28 19:09:29 +00:00
ross
0d8bcff6f5
Fix typo inside PPC_OEA64
2005-12-27 02:19:27 +00:00
perry
50a256a3a0
__asm__ -> __asm
...
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
perry
2d65de2479
bare asm -> __asm
2005-12-24 22:45:33 +00:00
perry
5f1c88d70d
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:06:46 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
yamt
6bba73019a
use VM_PAGE_TO_PHYS macro.
2005-12-08 22:41:44 +00:00
yamt
ba38016298
implement splraiseipl() for the following ports.
...
evbppc, evbmips, evbsh3, hp700, mac68k, vax, x68k.
2005-11-27 14:01:45 +00:00
yamt
bc21da4cfb
bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
...
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.
we have too many copies!
2005-11-24 13:08:32 +00:00