Commit Graph

2277 Commits

Author SHA1 Message Date
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
martin
9fad0528ec Mark a temporary as __USEd 2014-02-25 14:16:25 +00:00
martin
c4a0cfaf05 Remove unused variable 2014-02-25 14:09:13 +00:00
macallan
a5d06cef1b when looking for SCSI disks in canonicalize_bootpath() also match 'disk@'
since that's what at least some Adaptec firmware uses
2014-02-18 12:27:15 +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
mrg
2141bdc7f5 make this look more like the latest elf32ppc.x. tested on pegasosII. 2014-01-19 02:32:21 +00:00
mrg
03a295b74f convert a failure to call OF for a reboot call into a panic() instead
of a hard hang.
2014-01-17 09:09:40 +00:00
dsl
95739e63cd Remove __HAVE_PROCESS_XFPREGS and add the extra parameter for the size
of the fp save area to all the process_read_fpregs() and
  process_write_fpregs() functions.
None of the functions have been modified to use the new parameters.
The size is set for all the writes, but some of the arch-specific reads
  just pass NULL.
The amd64 (and i386) need variable sized fp register save areas in order
  to support AVX and other enhanced register areas.
These functions are rarely called - so the extra argument won't matter.
2014-01-04 00:10:02 +00:00
dsl
be74e0a9c9 Change the type of the 'cookie' that holds the state of the core dump file
from 'void *' to the actual type 'struct coredump_iostate *'.
In most of the code the contents of the structure are still unknown.
This just stops the wrong type of pointer being passed to the 'void *'
parameter.
I hope I've found everything, amd64 GENERIC and i386 GENERIC & ALL compile.
2014-01-01 18:57:15 +00:00
wiz
d860f590d4 Fix typo ("then" instead of "than") 2013-12-09 09:35:16 +00:00
alnsn
7ca7224ef5 Use __syncicache() in sljit on powerpc. 2013-11-25 23:53:44 +00:00
kiyohara
a1cb7359eb Move the parameters for obs600 to obs600_autoconf.c. This parameters was set from u-boot. 2013-11-21 13:52:27 +00:00
kiyohara
964b567a32 Support Synopsys DesigneWave OTG on PowerPC 405EX. 2013-11-21 13:33:15 +00:00
kiyohara
725fdb27e9 Fix IPL for cascading pic to HIGH. 2013-11-19 12:46:43 +00:00
alnsn
5345f80ec7 Enable sljit and bpfjit on powerpc. 2013-11-17 14:34:11 +00:00
mrg
c3e6c00ce6 make sure that .text.startup and .text.unlikely end up in the
text section.  GCC 4.8 ofppc kernels now boot, though they are
unable to load the symbol table correctly.

also tested with GCC 4.5 and ofppc (pegasosII.)
2013-11-16 12:00:21 +00:00
nisimura
5818b5f944 use __diagused for KASSERT only variable. 2013-11-08 04:32:58 +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
nisimura
5c6968285a move DIAGNOSTIC only variable inside #ifdef 2013-11-07 15:26:36 +00:00
mrg
1ee28a1fe7 - remove set but unused variables
- move some variables inside their relevant use #ifdef
2013-11-03 22:27:27 +00:00
mrg
c4746a16b5 - remove set but unused variables 2013-11-03 22:22:03 +00:00
mrg
44f61bfe42 gcc 4.8.1 wants:
- remove some set but unused variables
- move some variables inside their usage #ifdef's
- cast to (void) instead of using a dummy return variable

(there are more to come, but this one is now tested with gcc 4.5)
2013-11-03 22:15:57 +00:00
matt
699311e835 Fix c&p bug. 2013-09-22 18:56:11 +00:00
matt
328ab199e6 Disable XBSEN for the 7450. 2013-09-22 18:49:10 +00:00
matt
7f12d72195 Make sure ABE/SYNCBE are enabled in HID1 for the 7450 CPUs
Enable XBSEN for the 7450.
2013-09-22 18:05:16 +00:00
matt
73bf23c080 Define HID1_{SYNCBE,ABE} for the 7450 2013-09-22 17:51:31 +00:00
christos
f324b62750 remove unused OPENPIC flags. 2013-09-19 23:29:25 +00:00
christos
a8260c61a3 use ci_index. 2013-09-19 23:28:52 +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
78620830e1 convert rfid to rfi in exception handlers. 2013-08-31 15:01:08 +00:00
matt
310fbebba0 Move the pmap_setup to the start oea_init (no non-OFW ports can use it).
If PPC_OEA64_BRIDGE is defined, add code so that when OEACPU_64_BRIDGE is not
present, it replaces the rfid with rfi and mfmsr/rldicl/mtmsrd sequence
with NOPs.  This allows plain OEA kernels to work.  (tested on PMPPC with
PPC_OEA64_BRIDGE option added).
2013-08-31 07:33:15 +00:00
matt
378cec5a74 Add CACHE_INFO_DCACHE_LINE_SIZE to assym.h 2013-08-30 21:29:29 +00:00
matt
3835e94cd4 struct cpu_info; 2013-08-24 15:42:29 +00:00
matt
24c580b056 Add a SYSTEM_DEP for the ramdisk on INSTALL kernels. 2013-08-23 06:25:02 +00:00
matt
ba0705f794 Avoid a few instructions since we know CURLWP is in %r13 2013-08-23 06:24:21 +00:00
matt
66cb4c16d4 Simplify since we know curlwp is in %r13 2013-08-23 06:22:32 +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
c83a49fc04 cpuset_info is no longer volatile 2013-07-19 06:43:20 +00:00
matt
9b2362ab06 kcpuset_t changes for the pmap and removal of __cpuset_t 2013-07-17 23:27:02 +00:00
matt
b89cdb0e53 Fix typo (pa instead of va). 2013-07-09 20:33:03 +00:00
joerg
f48ee015ba Don't depend on libz.a for the tools build, /usr/lib/libz.a might not
exist.
2013-07-09 13:10:55 +00:00
joerg
bd970e74fe Fix format string. 2013-07-09 13:10:33 +00:00
joerg
31ed74d31c Set pc_intr_map only once. 2013-07-05 02:18:37 +00:00
joerg
3ce4c44911 Fix header guard. 2013-07-05 02:11:59 +00:00