Commit Graph

226599 Commits

Author SHA1 Message Date
pooka
540fe34fd1 add necessary -I for /dev/pci* creation 2014-04-14 21:36:22 +00:00
pooka
fcfbee3413 be even more explicit about handling only bus 0 2014-04-14 21:34:08 +00:00
pooka
5ce7a9bfb7 Add a vacookie to busdma_segment, for potential help with bus_dmamem_map() 2014-04-14 21:31:00 +00:00
reinoud
4ff24160d3 Implement sscom interrupt masking and acknowledgement routines 2014-04-14 21:16:15 +00:00
joerg
68aeaa009b Use correct library path for -m32 on sparc64. 2014-04-14 21:09:02 +00:00
matt
36d3623386 Add hook to set L2 cache to write-through 2014-04-14 20:53:28 +00:00
matt
7550e9f8cc Support (untested) SHEEVA_L2_CACHE and SHEEVA_L2_CACHE_WT options.
Move prototypes out to <arm/cpufunc.h> to their own file.
Add sdcache routines to cpufunc_asm_sheeva.S
Add code sheeve_setup to init the sdcache and sdcache info.
2014-04-14 20:50:46 +00:00
reinoud
18444ed2d1 For Exynos4 platforms, re-implement PoP detection so we can detect 1Gb
systems.
2014-04-14 19:45:40 +00:00
joerg
a33c368664 Using bcopy/memcpy with NULL arguments is valid as long as the size is
also 0.
2014-04-14 18:18:58 +00:00
joerg
4b91d83710 Some architectures like SPARC need to apply a fixed offset to the return
address. Introduce such a constant.
2014-04-14 18:15:17 +00:00
uebayasi
e9a654c6e7 Use ldscript. Identical output confirmed. 2014-04-14 15:05:19 +00:00
pooka
a81a378780 Remove extraneous sysctl setup calls now done as part of regular attach. 2014-04-14 14:30:24 +00:00
isaki
17f708ab43 Remove -mc68000 asm option for GCC4.8 (or new binutils?).
With this option, new gcc complains that "boot_ustar.S:21: Error:
selected processor does not have all features of selected architecture".
I'm not sure about the essence of this error, but this option maybe
not needed because there is no need to consider about 68000 here.
2014-04-14 14:24:27 +00:00
uebayasi
3d725db397 copyinargs: Redo previous; if given fakearg is longer than arg buf (which is
very unlikely to happen), there's no point to continue with truncated arg.
Just give up and return E2BIG.
2014-04-14 13:14:38 +00:00
uebayasi
3645dc518b Other boot loaders name ELF *.sym, not *.syms. Follow that convention. 2014-04-14 13:04:44 +00:00
martin
719b3cdc66 The sparc64 port switched to TOPDOWN_VM finally. 2014-04-14 10:57:46 +00:00
martin
9c098a4b96 Implement and enable TOPDOWN_VM. From Chuck Silvers. 2014-04-14 10:54:08 +00:00
uebayasi
dd3e806542 copyinargs: Replace a hand-written string copy loop with strlcpy(3). Carefully
reuse return value of strlcpy(3) to iterate.
2014-04-14 05:39:19 +00:00
jakllsch
89097d7fef don't run off the end of the source resource buffer 2014-04-14 01:56:18 +00:00
joerg
728ced6ed6 Bail out if backtrace(3) failed. 2014-04-13 20:58:26 +00:00
reinoud
d8b6e743da Remove old trustzone headerfile inclusion 2014-04-13 20:53:35 +00:00
reinoud
3e82afb24f Remove unused code snippet 2014-04-13 20:52:29 +00:00
reinoud
cf9ae6b4ff Remove old trustzone headerfile inclusion 2014-04-13 20:49:36 +00:00
reinoud
92a7b0930f Split off Odroid-U* kernel from combined config file 2014-04-13 20:47:20 +00:00
reinoud
5062dc67f8 Remove trustzone firmware indirect calls by explicit calling the exynos
routines in exynos_soc.c

While here, also remove unused variable conaddr
2014-04-13 20:45:25 +00:00
joerg
44e617ea85 Move definition of what the native register layout is into
Registers.hpp.
2014-04-13 19:04:01 +00:00
skrll
85857b7e96 The ctf tools are controlled by MKCTF now. Mark the debug files
accordingly.
2014-04-13 17:13:27 +00:00
reinoud
17b664f2de Redefine IS_EXYNOS4_P() to check for the product family instead of summing up
variants
2014-04-13 17:06:02 +00:00
tsutsui
c6dcfa5a19 Add sti(4) at sgc screen console support. From (the late) OpenBSD/hp300.
Tested on HP9000/425e, which was sent from Miod Vallat and
demonstrated at Open Source unConference 2014 Kagawa.
2014-04-13 15:45:26 +00:00
pooka
360bbc64e4 add some sort of bus_space_barrier() 2014-04-13 15:43:26 +00:00
pgoyette
aa1b1c5be2 If we pmf_register on attach, we should pmf_deregister on detach. 2014-04-13 13:19:50 +00:00
christos
645afb65f7 Fix use after free:
https://rt.openssl.org/Ticket/Display.html?id=2167&user=guest&pass=guest
https://rt.openssl.org/Ticket/Display.html?id=3265&user=guest&pass=guest
2014-04-13 13:14:15 +00:00
christos
b2dc35d4a2 fix statement with no effect (Dave Tyson) 2014-04-13 12:42:47 +00:00
pooka
78921906eb create /dev/pci device nodes 2014-04-13 12:40:00 +00:00
uebayasi
4adfcd2c94 Revert braces. 2014-04-13 12:11:01 +00:00
uebayasi
eecddf1604 copyinargs: Refactor. Share code. 2014-04-13 09:19:42 +00:00
skrll
5fc9196ff5 Remove a silly debug printf 2014-04-13 06:18:51 +00:00
uebayasi
35b479ac55 execve_loadvm: Move long code block reading passed arguments() into a function.
This needs further clean up.  (See the XXX comment.)  No functional changes.
2014-04-13 06:03:49 +00:00
matt
2696853fca Add initial support for the ODROID-XU and ODROID-U3.
Still a work in progress.  Started by nick and reinoud.
2014-04-13 02:26:26 +00:00
matt
1c28d1255e When figuring out the physical size for direct-mapped systems, round up
to L1_SS_SIZE.
2014-04-13 02:24:16 +00:00
matt
10ae3cbf77 Add tpidruro and tpidrurw inlines 2014-04-13 02:23:00 +00:00
matt
ac976f3d2f Make sure freq is not 0. 2014-04-13 02:22:21 +00:00
matt
60f4c9b986 Move aprint to print sooner. 2014-04-13 02:21:47 +00:00
matt
35c3a92690 write correct register. 2014-04-13 02:20:33 +00:00
snj
fc99b6a4d6 Change some standard exit status text to ".Ex -std"
From Eitan Adler in PR bin/47790.
2014-04-13 01:45:34 +00:00
joerg
6914c0c368 Add END() macro like most other archs have. 2014-04-12 21:26:45 +00:00
pooka
4699345b2b apparently DFLSSIZ isn't defined on powerpc, so pull a value out of el stetson 2014-04-12 20:24:46 +00:00
jakllsch
24761fbad1 Make this build.
Hi jakllsch@.
2014-04-12 19:25:48 +00:00
jakllsch
ff1b98f16b Unbreak db_cpu_*. Allows backtraces on i386 to progress beyond the
first function by not doing a NULL-deref in the debugger.

Bug located by me.  Patch implementation by riastradh@.  Hi rmind@.
2014-04-12 19:01:49 +00:00
snj
f45011fb30 NetBSD.org police. 2014-04-12 18:30:39 +00:00