226626 Commits

Author SHA1 Message Date
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
matt
f76d61c1c0 KDASSERT -> KDASSERTMSG 2014-04-12 16:03:59 +00:00
uebayasi
04729d8900 execve_runproc: Correct thinko in Rev. 1.386; the new SP always points to
after (higher adderss) argc/argv/env/aux/strings regardless of stack growing
direction .  Machines with grow-up stack will detect the top of
argc/argv/env/aux/strings by the address of *argv[] via ps_strings:ps_argvstr.

This means that old comments about RTLD_GAP are all obsolete.

With help from Nick Hudson.
2014-04-12 15:08:56 +00:00
skrll
1099eb26d0 Remove buggy linux completion API emulation and use the common version. 2014-04-12 13:28:41 +00:00
gdt
91dff1f8f3 revarprequest: Avoid leaking mbuf.
In revarprequest, an mbuf could perhaps be leaked in an error path.
My reading of the code is that this is not possible, because ar_pro is
set to ETHERNET_IP, and ar_tha can only be null in the 1394 case.
But, better to have the free call anyway; ar_tha does not have a
documented interface contract :-)

Pointed out by Maxime Villard.
2014-04-12 12:24:50 +00:00
skrll
ff0ef56469 Trailing whitespace 2014-04-12 09:09:47 +00:00
skrll
43da0057cb Fix typo and unbreak the build for various arm kernel builds. 2014-04-12 08:39:58 +00:00
uebayasi
c1047adce3 Don't #define DEBUG_EXEC. 2014-04-12 07:38:32 +00:00
uebayasi
d01b6ecafe execve_runproc: Refactor debug code. 2014-04-12 07:33:51 +00:00
uebayasi
93fb83ebaa execve_runproc: Move a long code block handling credential into a separate
function.  No functional changes.
2014-04-12 06:31:27 +00:00
uebayasi
763d7b32d6 execve_runproc: Unbreak __MACHINE_STACK_GROWS_UP machines. Clarify the stack
address allocation code.  Summarize an awful big comment about the _rtld()
"gap".

(The log message in Rev. 1.384 was wrong; the new stack address is passed
not via the 3rd register argument, but via the SP.  The 3rd is for ps_strings.)
2014-04-12 05:25:23 +00:00
uebayasi
7dd91721cc Reorder a new lines. Comments. 2014-04-11 18:02:33 +00:00
buhrow
9ac053a4cf Fix up some KNF errors. 2014-04-11 18:01:12 +00:00
christos
e9d34c2f4d mention -V none 2014-04-11 17:41:09 +00:00
christos
0b1777bf87 recognize -V none 2014-04-11 17:30:03 +00:00
uebayasi
4282002059 execve_runproc: The stack address passed to the newly execve()'ed process,
via the 3rd register argument, always points to the stack base address (==
minsaddr (min stack address) + ssize (stack size)).  Clarify that.
2014-04-11 17:28:24 +00:00
uebayasi
8ab74c3b1b execve_runproc: Reorder a few local vars. Avoid reuse. No functional changes. 2014-04-11 17:06:02 +00:00
matt
c5ab5d969b Back changes from 1.349 on since the -Wl,-x bug has been fixed in binutils. 2014-04-11 16:51:43 +00:00
matt
2df058a481 whitespace cleanup 2014-04-11 16:32:12 +00:00
christos
2e21bd91e3 explain what's going on, add another kludge for -g 2014-04-11 15:56:09 +00:00
christos
2e8a2b3a38 oops missed one instance of fixman 2014-04-11 13:18:35 +00:00
uebayasi
6770193e9c Clarify stack size calculation in copyargs(). Comments. 2014-04-11 11:49:38 +00:00
uebayasi
8f07d0cf93 Clean up assertions. 2014-04-11 11:32:14 +00:00
uebayasi
5dcee2c64e Protect not only proc::p_flag but also lwp::l_ctxlink and proc::p_acflag with
proc:p_lock.
2014-04-11 11:21:29 +00:00