Commit Graph

204553 Commits

Author SHA1 Message Date
joerg
19f8b044c9 static + __dead 2011-08-27 22:38:48 +00:00
joerg
b71455acb5 Use __dead. Move global variables into function scope. 2011-08-27 22:32:44 +00:00
joerg
42286e2542 Sprinkle const 2011-08-27 22:30:44 +00:00
joerg
8756b97804 static + __dead 2011-08-27 22:22:01 +00:00
joerg
94b1bee225 Mark types as static and usage as dead. 2011-08-27 22:17:53 +00:00
jmcneill
f4f64870fb defflag CPU_DEBUG 2011-08-27 21:43:06 +00:00
reinoud
fd7d55daa3 Catch the atexit() so we can bypass the libc feature that if one ucontext()
ends that it then call exit()
2011-08-27 21:19:17 +00:00
reinoud
8208d1d4bc Add dirty copy of child_return() 2011-08-27 21:17:26 +00:00
reinoud
84c452bbd0 Print when retregs() is called. 2011-08-27 21:16:15 +00:00
reinoud
3ef22b9aa8 Print when the cpu_trampoline is called() 2011-08-27 21:15:07 +00:00
reinoud
08e130c2e0 Add a thunk_atexit() so ucontext() ends can be dealt with as they should 2011-08-27 21:14:15 +00:00
jmcneill
2b1abfc3d9 CPU_DEBUG: remove printf in cpu_signotify, and print pid/lid in cpu_switchto 2011-08-27 20:49:36 +00:00
christos
4d53e32690 one static is enough, otherwise you risk zapping yourself. 2011-08-27 20:49:03 +00:00
martin
b352f73ca9 I suppose mrg did mean to include this change in yesterday commit:
use CFATTACH_DECL_NEW for real.
2011-08-27 20:02:18 +00:00
martin
c5ba0125cf Enhance a panic message slightly 2011-08-27 19:52:22 +00:00
bouyer
166893d482 translate WDOGIOC_GWDOGS 2011-08-27 19:25:35 +00:00
dyoung
581feba28b Straggler from last: add the directory for ppath(3) tests. 2011-08-27 19:02:29 +00:00
joerg
e837071dcc Mark yyerror as static and dead. 2011-08-27 19:01:34 +00:00
joerg
b79356001b static + __dead 2011-08-27 18:57:50 +00:00
joerg
8d4273fcb4 __dead + kill main prototype. 2011-08-27 18:55:58 +00:00
dyoung
dd4d60eb36 Build and install ppath(3) tests. 2011-08-27 18:55:51 +00:00
joerg
bab034bac4 static + __dead 2011-08-27 18:55:21 +00:00
joerg
8bdebf9d52 statc + __dead 2011-08-27 18:54:39 +00:00
dyoung
27dae6f368 Updating setlists for mips64. Thanks Matt Thomas for the heads-up. 2011-08-27 18:54:15 +00:00
joerg
fdbae3b9b7 static + const + __dead 2011-08-27 18:48:59 +00:00
joerg
eccb2789c7 static + __dead 2011-08-27 18:44:44 +00:00
joerg
3fedada239 static + __dead + G/C pathmtu 2011-08-27 18:43:24 +00:00
joerg
c6d7b0bb59 static + __dead 2011-08-27 18:37:41 +00:00
joerg
a919271017 Mark yy_fatal_error as noreturn if supported by the compiler. 2011-08-27 18:36:03 +00:00
joerg
ba5a5a1119 Add new "analyze" command to run clang's static analyzer in a directory
on all C/C++ files.
2011-08-27 18:35:19 +00:00
joerg
f4a68476b9 Ensure __printflike exists. 2011-08-27 18:33:22 +00:00
jmcneill
f6d96679b3 add options DEBUG_EXEC and LOCKDEBUG 2011-08-27 18:13:09 +00:00
reinoud
7c13e88609 Also fix DPRINTF()'s for DEBUG_EXEC 2011-08-27 18:11:48 +00:00
reinoud
14ad4e1152 Fix DPRINTF()'s missing the extra parenteses 2011-08-27 18:07:10 +00:00
reinoud
f40aa5670b Implement trap recursion detection and fix small one-off error in range
checks for kernel space
2011-08-27 18:01:37 +00:00
reinoud
cc12bd9a38 Only return the result of pmap_extract() when the return variable is not NULL. 2011-08-27 17:59:24 +00:00
reinoud
83485a13dd Fix copystring routines to NOT just copy all since not all space might be
writable. This can be fixed by implementing/importing strnlen(3) in the kernel
and/or for NetBSD/usermode to have onfaults in the copyins/copyouts.
2011-08-27 17:57:14 +00:00
reinoud
f64aeb0d94 In execve1(), don't assume VM_MIN_ADDRESS is 0 for PIE executables. 2011-08-27 17:53:21 +00:00
reinoud
4db0d938ff Enhance EXEC_DEBUG by also printing the UVM commands 2011-08-27 17:51:38 +00:00
joerg
65a805f7d1 Prototyping main is silly and shouldn't be encouraged. 2011-08-27 17:48:11 +00:00
joerg
0c18f61e04 Use static. Don't manipulate environ directly, just reset it and use
setenv.
2011-08-27 17:46:34 +00:00
joerg
c0a388c8b2 Be more static. 2011-08-27 17:45:30 +00:00
joerg
d2ac3967fe Be more static 2011-08-27 17:43:42 +00:00
joerg
a4b65553ae Use __dead 2011-08-27 17:38:16 +00:00
joerg
8e00898905 static + __dead 2011-08-27 17:36:05 +00:00
joerg
6923d07c1a Use __dead and __printflike. 2011-08-27 17:34:44 +00:00
joerg
9c28fb5747 staticfy. __dead. 2011-08-27 17:16:01 +00:00
ahoka
71a8c24685 add function to get the inactive table size (for during target init) 2011-08-27 17:10:05 +00:00
ahoka
58dc1a2f06 be consistent and define secsize here as well (though this seems unused?)
some white' from emacs
2011-08-27 17:09:09 +00:00
ahoka
ff2b2e8e7c - add a function to get the inactive table's size
- some whitespace fix from emacs...
2011-08-27 17:07:49 +00:00