nonaka
|
c78b078a2a
|
Replace if_attach with if_initialize and if_register.
|
2015-01-16 05:50:15 +00:00 |
|
nonaka
|
1296cd7938
|
Use IFQ_* macro instead of IF_*.
|
2015-01-16 05:36:47 +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
|
a95671af9d
|
Use correct register for next cacheline address.
|
2015-01-09 11:45:11 +00:00 |
|
nonaka
|
836f08a84d
|
Remove non-printable character.
|
2015-01-07 01:11:47 +00:00 |
|
nonaka
|
44e8d61c08
|
Initialize lock objects.
|
2015-01-05 07:40:05 +00:00 |
|
nonaka
|
cb608a466d
|
include "opt_ppcparam.h" for VERBOSE_INITPPC.
|
2014-12-28 14:13:56 +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
|
e9f8801340
|
fix typo.
|
2014-12-26 11:13:05 +00:00 |
|
nonaka
|
f3b7cf62dc
|
Revert previous accidental commit.
|
2014-12-20 18:03:17 +00:00 |
|
nonaka
|
9244f503f6
|
Revert previous commit.
|
2014-12-20 17:55:07 +00:00 |
|
nonaka
|
d5f6d8b188
|
Added P1023/P1017.
|
2014-12-20 16:34:47 +00:00 |
|
nonaka
|
e1001c1600
|
Pass ci->ci_cpuid as irq of IST_IPI.
Avoid "panic: e500_intr_cpu_hatch: failed to establish ipi interrupt!" on cpu1.
|
2014-12-19 04:00:35 +00:00 |
|
nonaka
|
d88bc795d4
|
Added missing mutex_exit() at error path.
|
2014-12-19 03:51:38 +00:00 |
|
nonaka
|
5e72dd2c82
|
Set correct stack pointer.
Please handle %r0 with care.
|
2014-12-19 03:46:23 +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 |
|
uebayasi
|
104daad189
|
Use LINKSCRIPT.
|
2014-11-15 12:36:42 +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 |
|
snj
|
ddfb6175c6
|
fix typo in comment
|
2014-10-16 19:11:38 +00:00 |
|
matt
|
aa7b422e15
|
Change insn mask to properly match instructions (bctr/blr)
|
2014-09-22 21:35:15 +00:00 |
|
joerg
|
501b7c86f0
|
Typo
|
2014-09-18 23:37:51 +00:00 |
|
skrll
|
58bae7ccc1
|
Use IPL_SCHED for dwctwo(4) - no need for the KERNEL_LOCK.
|
2014-09-02 14:55:56 +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
|
5692aa1c7e
|
Skip .machine when building with clang.
|
2014-08-10 18:08:33 +00:00 |
|
joerg
|
7c0cdb9457
|
Update conditions on mfsrin definition to match use.
|
2014-08-10 17:49:04 +00:00 |
|
joerg
|
4ca7de0cb3
|
Put GCC/GAS specific options under ACTIVE_CC == "gcc".
|
2014-08-10 17:44:26 +00:00 |
|
joerg
|
0c7d9d4853
|
Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
|
2014-08-08 16:56:30 +00:00 |
|
joerg
|
26a08d1efc
|
Panic after openfirm, it is not supposed to return.
|
2014-08-07 09:08:09 +00:00 |
|
joerg
|
39a11df3d1
|
The argument of stwu is displacement(register), but GAS translates the
%rX mnemonic very early into plain X, so it seemingly accepts
%register(displacement) as well. Be consistent in the formatting for
human consumption.
|
2014-08-05 16:28:39 +00:00 |
|
apb
|
71da667fc9
|
Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.
This will pass -nT instead of just -n if the gzip program is
actually pigz.
|
2014-08-05 15:40:58 +00:00 |
|
joerg
|
dd3ec2c8c6
|
Fix !DIAGNOSTIC build.
|
2014-08-02 15:58:04 +00:00 |
|
matt
|
1aabba0f46
|
Deal with the code LLVM generates for stubs.
|
2014-08-01 21:57:22 +00:00 |
|
matt
|
e42cde720d
|
Add OPC31_OR
|
2014-08-01 21:56:36 +00:00 |
|
joerg
|
a86549a1aa
|
Fix macro spelling.
|
2014-07-31 12:11:37 +00:00 |
|
matt
|
4423977ff5
|
Use symbolic constant for SPR. Fix comment.
|
2014-07-31 01:04:00 +00:00 |
|
matt
|
bf50eedd07
|
Don't use numeric constants for SPR. Use the symbolic name (SPR_PIR).
Add DBSR_BRT to KASSERT
|
2014-07-31 01:01:55 +00:00 |
|
joerg
|
76da57e7f2
|
Replace mfpir with mfspr r, 286. The Power ISA and GAS disagree on the
semantics of this instruction, so prefer the well defined replacement.
|
2014-07-30 23:56:01 +00:00 |
|
matt
|
e2c2dd7510
|
Fix diagnostic trap to be correct. PSL_EE@l would be sign-extended and this
could never match the result of the andi. before it.
|
2014-07-30 23:27:55 +00:00 |
|
joerg
|
d335762e53
|
Correct last, ha+l uses lis+addi, so use h+l.
|
2014-07-30 23:15:23 +00:00 |
|
joerg
|
efa045c031
|
Build 32bit constant with lis+ori, not lis+addi. The instructions
differ on the sign extension handling of the immediate.
|
2014-07-30 22:45:21 +00:00 |
|
joerg
|
edb8772400
|
pq3pci_config_addr_read is only used in a #if 0 block, so hide it under
the same condition.
|
2014-07-30 10:50:54 +00:00 |
|