cherry
2e9cf2b5f9
Tell mpc85xx about uvm_hotplug(9)
...
Should fix the evbppc build breakage.
2016-12-24 18:34:31 +00:00
nonaka
e4a54b4193
Added MSI/MSI-X and interrupt_distribute(9) support for powerpc.
2016-10-19 00:08:41 +00:00
matt
fc444195b0
Adapt to common pmap changes.
2016-07-11 16:06:52 +00:00
christos
2f34b929f6
use __register_t
2016-01-24 20:02:38 +00:00
christos
2b7829fe47
expose __register32_t for frame.h
2016-01-24 19:49:35 +00:00
christos
d84c286204
expose the kernel types for standalone code.
2016-01-23 22:31:19 +00:00
christos
4d497c90e6
Hide {p,v}{addr,size}_t and register_t (and a couple more types that
...
are machine-specific) from userland unless _KERNEL/_KMEMUSER and a
new _KERNTYPES variables is defined. The _KERNTYPES should be fixed
for many subsystems that should not be using it (rump)...
2016-01-23 21:22:13 +00:00
christos
522db2ab36
move fenv inside ifdef
2015-12-25 06:02:10 +00:00
christos
408e0ea0a3
remove dup definitions from fenv.h
2015-12-22 05:28:46 +00:00
christos
257ef94e95
Add mips fenv.h (From FreeBSD)
2015-12-21 17:02:32 +00:00
christos
ec195e5a37
Add fenv.h for powerpc (from FreeBSD)
2015-12-20 16:23:14 +00:00
christos
5020ab68d5
Provide access to pc/sp/syscall-return registers like we have for mcontext
2015-09-15 15:49:02 +00:00
pooka
01d7ebdd80
Fix PTHREAD_FOO_INITIALIZER for C++ by not using volatile in the relevant
...
pthread types in C++ builds, attempt 2.
The problem with attempt 1 was making assumptions of what the MD
__cpu_simple_lock_t (declared volatile) looks like. To get a same type
except non-volatile, we change the MD type to __cpu_simple_lock_nv_t
and typedef __cpu_simple_lock_t as a volatile __cpu_simple_lock_nv_t.
IMO, __cpu_simple_lock_t should not be volatile at all, but changing it
now is too risky.
Fixes at least Rumprun w/ gcc 5.1/5.2. Furthermore, the mpd application
(and possibly others) will no longer require NetBSD-specific patches.
Tested: build.sh for i386, Rumprun for x86_64 w/ gcc 5.2.
Based on the patch from Christos in lib/49989.
2015-08-27 12:30:50 +00:00
macallan
65192539f3
add instruction cache throttling SPR found on 750
2015-07-07 15:41:46 +00:00
matt
39f572033f
Don't clear PSL_FP/PSL_VEC
2015-07-06 05:55:37 +00:00
matt
c1ada760b2
Remove PSL_SPV from BOOKE PSL_USERMOD
2015-07-06 05:36:26 +00:00
matt
0b2dfc7366
Add a check to make sure that if PSL_FP is set, we own the FPU.
2015-07-06 02:30:22 +00:00
matt
7be314e397
Make _BSD_CLOCK_T_ unsigned int so it's the same for IPL32 and LP64
...
environments. We don't really have a powerpc64 native userland
and the mips64 native userland is IPL32 so this shouldn't affect anything.
2015-06-17 13:52:51 +00:00
matt
d8c167db5e
This needs to define PRIxPTE too.
2015-06-16 06:51:16 +00:00
matt
a74e1552fa
Add PRIxPTE and pte_value(pt_entry_t) for printing the value of a PTE.
...
Add pte_zero_p(pt_entry_t) to check that a PTE has been zeroed.
2015-06-11 08:01:50 +00:00
matt
a0e8cd6797
forgot to commit this when I updated netbsd64 in gcc.
...
Remove LP64 specific change and use the same types
when possible for IPL32 and LP64.
2015-04-01 23:31:37 +00:00
nonaka
a5303a68a6
Added some register definitions for multi-queue.
2015-02-26 02:27:40 +00:00
nonaka
2f9de799ff
fix offset value of RBASEn.
2015-02-26 02:21:38 +00:00
joerg
9642a6c30f
Use default PAGER_MAP_DEFAULT_SIZE for ARM and PowerPC, exception
...
acorn26. This bumps the KVA reservation from 4MB to 16MB and avoids
long hangs on my Cubietruck under IO. acorn26 is kept as it does have a
ridiculous low 32MB KVA limit.
2015-02-23 20:34:37 +00:00
nonaka
6e15a820ba
Added Interrupt coalescing support.
2015-02-17 01:53:21 +00:00
nonaka
3012a05a13
Avoid race condition between PTE update and TLB miss walk.
2015-01-26 04:47:53 +00:00
nonaka
ef2e796f06
ddb MP support
2015-01-23 07:27:05 +00:00
dennis
54a863e31a
Name the offsets to the remaining fields in the ppc64
...
stack frame header. Add a stack frame alignment macro
to avoid hard-coding that.
2015-01-12 02:32:33 +00:00
nonaka
58e7278559
Added SPI register definitions.
2014-12-27 17:58:21 +00:00
nonaka
217677d4fc
Preliminary support for P1023.
2014-12-27 16:19:33 +00:00
nonaka
31a92299ef
Added MMUv2 define.
2014-12-27 12:36:48 +00:00
nonaka
d5f6d8b188
Added P1023/P1017.
2014-12-20 16:34:47 +00:00
chs
a60c43758e
fix powerpc TLS problems by removing the hacks for PPC EABI.
...
the kernel no longer treats R2 specially and its use as
the TLS register is now handled entirely in userland.
2014-12-14 23:49:17 +00:00
joerg
6602b2dcba
Support copysignl on PowerPC.
2014-10-22 10:32:50 +00:00
snj
f0a7346d21
src is too big these days to tolerate superfluous apostrophes. It's
...
"its", people!
2014-10-18 08:33:23 +00:00
matt
794ed9d503
Fix cmpptr/cmpreq/etc to use right mnemonics
2014-08-23 02:21:44 +00:00
matt
82a12988ef
Include <sys/common_int_types.h> if __UINTPTR_TYPE__ is defined.
2014-08-13 22:56:56 +00:00
matt
0b2cac531b
Include <sys/common_int_const.h> if __INTMAX_C_SUFFIX__ is defined.
2014-08-13 22:51:58 +00:00
matt
7c5094c243
Include <sys/common_init_limits.h> if __SIG_ATOMIC_MAX__ is defined.
2014-08-13 22:31:06 +00:00
matt
2534797f07
include <sys/common_int_mwgwtypes.h> if __UINT_FAST64_TYPE__ is defined.
2014-08-13 22:25:39 +00:00
matt
efe99ca41d
include <sys/common_int_fmtio.h> if __INTPTR_FMTd__ is defined
2014-08-13 19:48:17 +00:00
joerg
691c317038
Avoid unncessary use of double in the kernel. With this change,
...
a LLVM build kernel fully works on TWRP1025.
2014-08-12 20:27:10 +00:00
joerg
4ca7de0cb3
Put GCC/GAS specific options under ACTIVE_CC == "gcc".
2014-08-10 17:44:26 +00:00
matt
e42cde720d
Add OPC31_OR
2014-08-01 21:56:36 +00:00
joerg
4dda201196
Let the assembler bail out if the immediate is too large instead of
...
truncating it.
2014-07-24 18:19:13 +00:00
alnsn
582402eab5
Rename sljitarch.h to sljit_machdep.h.
2014-07-23 18:19:43 +00:00
alnsn
8bf6e438cb
Cast to __syncicache() argument types.
2014-07-22 20:38:55 +00:00
mrg
c496beb132
make sure struct bat is aligned to 8 bytes as we shift them 3 bits.
...
fixes PReP lossage as reported on port-powerpc and port-prep.
thanks to makoto@ki.nu and kiyohara@netbsd.
2014-07-06 08:06:03 +00:00
rmind
8011b285c0
Implement MI IPI interface with cross-call support.
2014-05-19 22:47:53 +00:00
matt
8ed9a6d892
Since all our compilers support __DBL_* and __FLT_*, use them to define
...
{DBL,FLT}_{DIG,MIN,MAX}
2014-04-21 10:53:47 +00:00