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
matt
526f2aee72
Add PMAP_TLB_FLUSH_ASID_ON_RESET define
2014-04-03 13:55:34 +00:00
christos
e58a356cba
make pci_intr_string and eisa_intr_string take a buffer and a length
...
instead of relying in local static storage.
2014-03-29 19:28:24 +00:00
christos
e691d98f97
use cpu_{g,s}etmodel
2014-03-24 19:29:59 +00:00
riastradh
6cb10275d0
Merge riastradh-drm2 to HEAD.
2014-03-18 18:20:35 +00:00
matt
9f9d956c40
same typo
2014-03-10 00:04:04 +00:00
matt
49aac98b50
Typo
2014-03-10 00:03:14 +00:00
matt
53dc265000
Make sure to clear PSL_SE before going to usermode on BOOKE
...
Revert back to testing PSL_SE in the trapframe and not mdlwp md_flags
2014-03-09 23:09:32 +00:00
matt
e267b088d4
Don't test for PSL_SE in tf_srr1 since will be cleared on the next exception.
...
Keep a copy of it in l_md.md_flags which will be preserved.
2014-03-09 22:31:25 +00:00
matt
6358bf0e36
Don't define ARCH_ELFSIZE if it's already defined.
2014-03-07 04:11:07 +00:00
matt
1de63f393f
Add PowerPC64 DTs
2014-03-06 19:30:39 +00:00
matt
9ee040b36e
Add _XENTRY which doesn't set the section to .text
2014-03-06 19:05:24 +00:00
matt
10432e099e
More comments.
...
rest of powerpc64 relocs
2014-03-06 07:48:25 +00:00
macallan
b01d00d945
support ppc601
...
from scole_mail, ok matt@
2014-03-03 15:36:36 +00:00
matt
d4182252d5
Make this 64-bit aware.
2014-02-28 05:33:53 +00:00
matt
2d773d76bf
Add pmap_ste_spill
2014-02-28 05:32:01 +00:00
matt
648cd98c19
Make this work.
2014-02-28 05:31:38 +00:00
matt
d7c76f4df3
Add trapframe32 for COMPAT_NETBSD32
2014-02-28 05:30:24 +00:00
matt
c4eb371e6c
Add ALIGNBYTES32 for COMPAT_NETBSD32
2014-02-28 05:29:57 +00:00
matt
7f94f535b0
Use uintptr_t for bus_size_t, bus_addr_t, bus_space_handler_t since uint32_t
...
doesn't really work too 64-bit platforms.
2014-02-28 05:28:40 +00:00
matt
523fe23684
support PPC_OEA64
2014-02-28 05:27:38 +00:00
matt
2568724ec2
Add mcontext32_t
2014-02-28 05:27:05 +00:00
matt
0020224196
Add cmp{ptr,long,reg}{,l}{,i}
2014-02-28 05:26:23 +00:00
matt
8c93c0eb27
Use ## for concatenation
2014-02-27 18:12:28 +00:00
matt
2b39b08a8f
Add P2SZREG to be usign with .p2align
2014-02-27 15:58:03 +00:00
christos
b07f3fe235
delete VM_DEFAULT_ADDRESS; some of those should be GC'ed because they match
...
the default definition.
2014-01-25 15:16:49 +00:00
alnsn
7ca7224ef5
Use __syncicache() in sljit on powerpc.
2013-11-25 23:53:44 +00:00
kiyohara
964b567a32
Support Synopsys DesigneWave OTG on PowerPC 405EX.
2013-11-21 13:33:15 +00:00
alnsn
5345f80ec7
Enable sljit and bpfjit on powerpc.
2013-11-17 14:34:11 +00:00
nisimura
77418f57bd
resort the sys/cpu.h way for unused cii iterator in !MULTIPROCESSOR case.
2013-11-08 03:59:35 +00:00
matt
73bf23c080
Define HID1_{SYNCBE,ABE} for the 7450
2013-09-22 17:51:31 +00:00
joerg
4d12bfcd15
Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
...
vs big PIC mode. Retire -DPIC and -DBIGPIC.
2013-09-12 15:36:14 +00:00
matt
3835e94cd4
struct cpu_info;
2013-08-24 15:42:29 +00:00
matt
b183b3ef97
Get rid of MDLWP_USED{FPU,VEC}
2013-08-23 06:19:46 +00:00
matt
ba182b7aab
Fix kern_softint.c errors (tested with WALNUT & EV64260)
2013-08-23 06:18:14 +00:00
drochner
69aeb16c07
-extend the pcu(9) API by a function which saves all context on the
...
current CPU, and use it if a CPU is taken offline
-add a bool argument to pcu_discard which tells whether the internal
"LWP has used the coprocessor" flag should be set or reset. The flag
is reported by pcu_used_p(). If set, future accesses should use the
state stored in the PCB. If reset, it should be reset to default.
The former case is useful for setmcontext().
With that, it should not be necessary anymore to manage the "FPU used"
state by an additional MD variable.
approved by matt
2013-08-22 19:50:54 +00:00
matt
9b2362ab06
kcpuset_t changes for the pmap and removal of __cpuset_t
2013-07-17 23:27:02 +00:00