matt
d58fd45326
On mipsNN use the trap instruction to panic or pop into ddb instead of
...
looping forever in the PARANOIA chunks.
2015-06-06 20:55:45 +00:00
matt
841b78119f
Add support for NMI exception (which don't use the cause register).
2015-06-06 20:53:38 +00:00
matt
847a18937e
Add wdog support
...
cleanup IPI and MP support
Add NMI support.
2015-06-06 20:52:16 +00:00
matt
29ebd0ba65
Add CIU_BASE
2015-06-06 20:15:35 +00:00
macallan
4efe1f19ef
use PRIxCPUSET
...
now this builds again on o32
2015-06-06 17:46:47 +00:00
macallan
700e4e855d
introduce PRIxCPUSET to deal with 32bit __cpuset_t on o32
2015-06-06 17:45:49 +00:00
msaitoh
225ac59368
Fix the output of the option ROM version.
2015-06-06 17:36:50 +00:00
joerg
8cd9de5e58
Linking against libutil is not appropiate for tools.
2015-06-06 15:45:47 +00:00
joerg
3eb04a3615
Use an explicit body for a "until not EINTR" loop.
2015-06-06 15:22:58 +00:00
christos
006ade20cc
add missing options
2015-06-06 15:16:28 +00:00
joerg
6a61adcb14
The opposite of new[] is delete[], not delete.
2015-06-06 14:40:29 +00:00
jmcneill
c39a576f5e
enable trng driver
2015-06-06 14:00:52 +00:00
jmcneill
1a286b4698
Add driver for AM335x TRNG module.
2015-06-06 14:00:32 +00:00
joerg
fc207b9190
Format-string related warnings work fine now with both GCC 4.8 and
...
Clang.
2015-06-06 13:48:37 +00:00
joerg
810e0f52bb
Don't pass uninitialized variables by value.
2015-06-06 13:14:06 +00:00
joerg
d88f290a56
Drop assignment from uninitialized and otherwise unused variable.
2015-06-06 13:08:31 +00:00
msaitoh
72b7d58205
Cleanup.
2015-06-06 07:44:22 +00:00
matt
58e36827ad
Add a KDASSERT to make sure interrupts are still enabled.
2015-06-06 04:43:41 +00:00
matt
f847872456
If mipsNN and kernel has DDB, trap on bogus IPL values passed to splraise.
2015-06-06 04:40:19 +00:00
msaitoh
762e3152b5
- Add workaround for I210 Errata 25 and I211 Errata 10.
...
- Add wm_gmii_gs40g_{read|write}reg() and use it to access non-standatrd
page.
- Add wm_pll_workaround_i210() and call it when
chip is i211
chip is i210 and it use INVM
chip is i210 and NVM image version < 3.25
- Add comment
- Rename macros.
2015-06-06 04:39:12 +00:00
matt
99bd0c3950
Add octeon mach commands nmi and reset. Teach DDB about Cavium BBIT branch
...
instructions.
2015-06-06 04:38:52 +00:00
matt
b80b83d425
Backout last change.
2015-06-06 04:36:15 +00:00
matt
4aed5bc269
Add IPI_WDOG
2015-06-06 04:34:57 +00:00
matt
047792e8e8
Add a wdog for octeon
2015-06-06 04:34:23 +00:00
matt
bfd74ed96c
Fix CUI_MBOX_{SET,CLR}1 values
2015-06-06 04:33:45 +00:00
matt
26acb1613d
Fix disassembly of trap-immediate instructions
2015-06-06 04:32:47 +00:00
matt
8d2429aa5f
Add a IPI for watchdogs.
2015-06-06 04:31:52 +00:00
matt
dd67674367
Add missing but now defined trap types. (use define<tab> consistently)
2015-06-06 04:31:10 +00:00
msaitoh
86fd0298c3
Print NVM image version.
2015-06-06 03:38:40 +00:00
msaitoh
f5088cc0cd
Revert previos. Sorry, I committed in another working directory...
2015-06-06 03:37:01 +00:00
msaitoh
529e969f1d
Print NVM image version.
2015-06-06 03:33:37 +00:00
joerg
db24f15492
Fix sentence.
2015-06-05 20:41:46 +00:00
joerg
69c9584f48
Switch .Nm to match file name.
2015-06-05 20:35:10 +00:00
christos
1c03a0ccd5
Make the cpp protection macro name consistent with other headers.
...
Fix problems caused by the new macros introduced for gnu gettext compatibility.
XXX: Must be a better way...
2015-06-05 20:12:56 +00:00
matt
0bde4e4d00
Only need KX/SX if _LP64 && MULTIPROCESSOR since cpu_info's are always in KSEG0
2015-06-05 19:58:01 +00:00
joerg
483a37a806
Fix operator precedence to allocate enough memory.
2015-06-05 16:44:56 +00:00
matt
639910d34a
Make sure KX/UX stay on in 64-bit kernels so deferencing the lwp to get
...
the cpu_info doesn't cause a fault.
2015-06-05 16:16:18 +00:00
martin
e743a584de
Close the file descriptor used for loading before jumping to the kernel.
...
Pointed out by Felix Deichmann on port-vax.
2015-06-05 16:01:55 +00:00
roy
9d47679b07
Use %m in syslog(3) instead of %s strerror(3).
2015-06-05 15:41:59 +00:00
roy
54f3dcbf97
Set the hoplimit of 255 as specified in RFC 4861 section 4.2
...
using the IPV6_MULTICAST_HOPS socket option rather than using CMSG
when constructing each message.
2015-06-05 14:15:41 +00:00
roy
76ec1114d0
Use clock_gettime(2) instead of gettimeofday(2) so we can use a monotonic
...
clock rather than the wall clock.
Use timespec rather than timeval structs to make this transition easier.
Kill custom timeval comparison functions in favor of timespeccmp(3).
2015-06-05 14:09:20 +00:00
mlelstv
182e6e3b91
Can't use getfsspecname (and thus wedge names) while building tools.
2015-06-05 07:44:39 +00:00
wiz
b96dc7bfa6
Drop trailing whitespace.
2015-06-05 07:33:40 +00:00
skrll
5050384f2b
Print the Revision ID regster (verbose)
2015-06-05 07:04:46 +00:00
skrll
13ff928423
Add an define for spurious interrupt number 1022
2015-06-05 06:46:00 +00:00
sjg
fab1dc5098
Document .OBJDIR target.
2015-06-05 05:37:42 +00:00
mlelstv
18bcb9c15b
Support wedge names.
2015-06-05 05:03:21 +00:00
mlelstv
bddb934a67
Compute bootloader checksum correctly also on little endian systems.
2015-06-05 05:02:48 +00:00
matt
dacb809fc1
Move callout_init to wdog_preinit
2015-06-05 00:53:47 +00:00
matt
4c01c2dcd9
Don't compile the mips64 stuff if we being compiled as mips32
2015-06-04 22:44:43 +00:00