joerg
17f4d79daf
Use correct stack register as noticed by christos
2011-06-18 22:19:52 +00:00
joerg
7d48645456
Kill redundant ;
2011-06-18 21:24:51 +00:00
christos
4fc4fe2edf
PR/45069: Henning Petersen: Use prototypes from builtins.h .
2011-06-18 21:18:46 +00:00
rmind
e43016c1ed
pmap_page_remove: perform TLB shootdown, as it is not caller's responsibility
...
to perform pmap_update() according to the interface. Might want to revisit.
Should fix recently reported tmpfs problems. Thanks to enami@ and hannken@!
2011-06-18 21:18:20 +00:00
matt
dcbb41139e
Make a common genassym.cf (powerpc/genassym.cf) and then
...
only put specific stuff in foo/genassym.cf
2011-06-18 21:17:28 +00:00
rmind
7a15ad245d
- Move pre-check from uvm_obj_destroy() to ubc_purge(), keep it abstracted.
...
- Add comments noting the race between ubc_alloc() and ubc_purge().
2011-06-18 21:14:43 +00:00
rmind
10583b12ce
Clean up, sprinkle asserts, consify, use unsigned, use kmem_zalloc instead
...
of memset, reduce the scope of some variables, improve some comments.
No functional change intended.
2011-06-18 21:13:29 +00:00
rmind
1885100a7e
amap_add/amap_unadd: clean up slightly, use unsigned, add asserts.
2011-06-18 20:51:22 +00:00
joerg
658a2a5f07
Switch to SSE code, since our gas supports it now.
2011-06-18 20:49:26 +00:00
matt
b07f072bdb
Unconditionally build fixup.c
2011-06-18 20:35:05 +00:00
matt
36d0c0545b
Call cpu_fixup_stubs at the end of oea_machdep
2011-06-18 20:34:39 +00:00
rmind
223aec6f50
Add amap_adjref_anons() helper and simplify amap_ref()/amap_unref().
2011-06-18 20:29:56 +00:00
matt
e1a00dbd5b
Add things needed for __HAVE_FAST_SOFTINTRS
2011-06-18 20:28:48 +00:00
joerg
208082f32c
Try to initialize retval to something sensible.
2011-06-18 20:05:56 +00:00
joerg
2df16a8d62
input() isn't used
2011-06-18 20:05:28 +00:00
nakayama
eeee005d04
sparc64: Add fast softint(9) support.
2011-06-18 18:54:25 +00:00
nakayama
74bd9793c1
Add fast softint(9) support for sparc64.
...
Reviewed on port-sparc64.
2011-06-18 18:51:17 +00:00
plunky
b41529f23b
remove empty files
2011-06-18 18:43:41 +00:00
joerg
47980a5652
SSE2 registers are only used for float and double arguments, so update
...
comment to reflect reality. Add some accessor macros for long double
arguments for i386 and x86_64.
2011-06-18 18:16:40 +00:00
tsutsui
6e783dfc8e
- misc KNF and style fixes
...
- use device_t and cfdata_t
No binary change.
2011-06-18 17:47:20 +00:00
matt
b1991f6793
Move PVR definitions to <powerpc/ibm4xx/spr.h>
...
No need to include <powerpc/cpu.h> in <powerpc/ib4xx/cpu.h>
2011-06-18 17:06:52 +00:00
joerg
1eb45821a7
Include libgcc_s.so symlinks in /usr/lib, so that binaries in /usr
...
linked against it actually work.
2011-06-18 14:47:36 +00:00
nonaka
11318f3ebb
Added some I2C register definition.
2011-06-18 13:52:24 +00:00
matt
4f384b1a8f
Constify cputab.
2011-06-18 08:21:20 +00:00
matt
29945337ee
Use __builtin_clz instead of our own cntlzw
2011-06-18 08:17:58 +00:00
matt
05b09539a2
struct device * -> device_t
...
struct cfdata * -> cfdata_t
use device accessors, use device_private.
some softc/device_t splits (macppc needs a bunch more)
aprint*_dev used considerably more
2011-06-18 08:08:27 +00:00
matt
51a2be5067
split device/softc (CFATTACH_DECL_NEW)
...
struct device * -> device_t
struct cfdata * -> cfdata_t
Use <sys/foo.h> instead of <machine/foo.h> if <sys/foo.h> exists
Explicitly include <powerpc/ibm4xx/cpu.h> when needed.
2011-06-18 06:44:25 +00:00
matt
1fd2c684c9
Use <sys/foo.h> instead of <machine/foo.h> if such a file exists.
...
Don't assume <sys/cpu.h> includes <powerpc/subarch/cpu*.h>. Include it
explicitly.
2011-06-18 06:41:41 +00:00
matt
7cba41e9b1
Use FRAME_Rn (like ibm4xx and oea) instead of FRAME_n.
...
Include psl.h to get PSL_* values instead of getting them from assym.h
2011-06-18 06:37:38 +00:00
matt
96d8734b3b
Whitespace cleanup
2011-06-18 06:36:25 +00:00
nonaka
dbf511cf65
Build evbsh3-${MACHINE_ARCH}cd.iso on build.sh iso-image target as other ports.
2011-06-18 06:25:43 +00:00
mrg
2f0815a35d
remove some debugging output no longer necessary.
2011-06-18 02:05:08 +00:00
matt
3c8b0192f6
Use aprint_normal include sys/cpu.h
2011-06-18 02:02:50 +00:00
mrg
c1c3cc3782
avoid adding -m32 to various variables multiple times aka, multiple inclusions.
2011-06-18 01:22:34 +00:00
matt
870f6bfbe0
Part of the interrupt rototill. Use <powerpc/intr.h> and just override
...
a few things (like imask_t).
2011-06-17 23:37:38 +00:00
matt
e2a71f6c7b
intr.h must not include cpu due to deadly embrace with SOFTINT_COUNT.
...
Cleanup intr.h so MD definitions can overload common definitions.
Rototill pic/intr.c. Virtual IRQs can now be reclaimed. separate virq
from hwirq from picirq. Redo intr mask calculations.
tested on pmppc and macppc (MP).
2011-06-17 23:36:17 +00:00
matt
0e792f2725
Add IPL_HIGH and IPL_SCHED so locore.S can use them.
2011-06-17 23:15:09 +00:00
matt
4c1d74ef3c
Call splraise(IPL_HIGH) instead splhigh. Easier to a nasty problem.
2011-06-17 23:14:40 +00:00
matt
b62cfa8943
Fix curlwp check for fpreg/vecreg to acknowledge that the PCU is either
...
for the current lwp or that PCU is not owned on any cpu.
2011-06-17 23:12:40 +00:00
matt
3a0f273eba
If dbsym fails, not fail the command, remove the target too so that the
...
next invokation will try to remake it.
2011-06-17 21:19:42 +00:00
matt
050725fdee
Bump up SYMTAB_SPACE
2011-06-17 21:18:57 +00:00
matt
a5b7432590
struct device * -> device_t
2011-06-17 19:04:00 +00:00
matt
036ca983e1
struct device * -> device_t
...
struct cfdata * -> cfdata_t
split device/softc (CFATTACH_DECL_NEW)
use device_accessors and device_private
constify
2011-06-17 19:03:00 +00:00
matt
168c99375b
ofppc doesn't have PMAP_MAP_POOLPAGE so make the cpu_uareas do nothing.
2011-06-17 18:59:33 +00:00
tsutsui
a15cc0d718
Sync with pmax/cons.h (i.e. remove clause 3 and 4).
2011-06-17 18:40:46 +00:00
wiz
d7b84b20f6
New sentence, new line. Fix some typos and an xref. Bump date.
2011-06-17 18:20:40 +00:00
wiz
ddcaed45e1
This is installed in section 1, so make internal section the same.
...
Also use name under which it is installed as main internal name.
Comment out reference to extattr(2) which doesn't exist on NetBSD
(a reference to extattr(3) still remains).
2011-06-17 18:19:58 +00:00
wiz
225e0233f3
Remove trailing whitespace. Bump date for previous.
2011-06-17 18:13:49 +00:00
wiz
6da344d4e1
New sentence, new line; fix wording; bump date.
2011-06-17 18:13:14 +00:00
wiz
a7a30c8237
Fix wording (if I understand the sentence correctly).
2011-06-17 18:12:32 +00:00