c114df82ec
Rename all uses of U8_t to u8_t and remove U8_t, remove unused I8_t, Remove all uses of U16_t and U32_t in pci-related code. If necessary to avoid problems, change functions to ansi-style declaration.
Kees van Reeuwijk2010-04-07 13:35:56 +00:00
fc7dced1fa
Fix printfs with too few or too many parms, remove unused vars, fix incorrect flag tests, other code cleanup.
Kees van Reeuwijk2010-04-01 13:25:05 +00:00
2ff73172b4
Fixed missing __UNCONST macro definition in previous patch.
Lorenzo Cavallaro2010-03-30 13:08:14 +00:00
8dfc7699a6
cdecl calling convention requires to push arguments on the stack in a reverse order to easily support variadic arguments. Thus, instead of using the proper stdarg.h macros (that nowadays are compiler-dependent), it may be tempting to directly take the address of the last argument and considering it as the start of an array. This is a shortcut that avoid looping to get all the arguments as the CPU already pushed them on the stack before the call to the function.
Lorenzo Cavallaro2010-03-30 09:36:46 +00:00
a16308efdb
cdecl calling convention expects the callee to pop the hidden pointer on struct return. For example, GCC and LLVM comply with this (tested on IA32).
Lorenzo Cavallaro2010-03-24 17:25:17 +00:00
407316e451
More const correctness. Removed prototype for unimplemented getpgid() function. Removed a value return from a void function.
Kees van Reeuwijk2010-03-23 14:25:09 +00:00
45db6482e8
Prioritized NOTIFY messages for reliable asynchonrous delivery of system events.
Cristiano Giuffrida2010-03-22 23:44:55 +00:00
ef95bf1bb9
Print stacktrace when a system service fails or when a core dump has to be generated for a user process.
Cristiano Giuffrida2010-03-22 22:46:29 +00:00
436d6012a3
Convert drivers/ and servers/ over to bsdmake
Arun Thomas2010-03-22 21:25:22 +00:00
a5094f7d7f
Kernel dumps its registers when exception
Tomas Hruby2010-03-20 14:59:18 +00:00
b42c66ed10
this patch adds access to the debug breakpoints to the kernel. They are not used atm, but having them in trunk allows them to be easily used when needed. To set a breakpoint that triggers when the variable foo is written to (the most common use case), one calls:
Erik van der Kouwe2010-03-19 19:15:20 +00:00
e595328986
remove 3 awk files - don't have generated files in svn.
Ben Gras2010-03-18 14:15:48 +00:00
f250bfaa13
change messy CREATEPDE macro to clean little function.
Ben Gras2010-03-18 13:35:41 +00:00
c3e73f0793
Provide a warning is a kernel call has been denied, to ease system.conf debugging
Erik van der Kouwe2010-03-17 18:23:51 +00:00
4683d6b713
Let awk.old install its awk as /usr/bin/awk.old. Add one-true-awk as the new awk that installs to /usr/bin/awk.
Kees van Reeuwijk2010-03-17 16:16:52 +00:00
bef0e3eb63
- Add support for the ucontext system calls (getcontext, setcontext, swapcontext, and makecontext). - Fix VM to not erroneously think the stack segment and data segment have collided when a user-space thread invokes brk(). - Add test51 to test ucontext functionality. - Add man pages for ucontext system calls.
Thomas Veerman2010-03-12 15:58:41 +00:00
3efbb8f133
Let the commands/simple/tr.c understand about '\t', '\r', and '\n'.
Kees van Reeuwijk2010-03-12 09:58:44 +00:00
0937d6c367
re-establish kernel assert()s.
Ben Gras2010-03-10 13:00:05 +00:00
88ac328e6b
Add prototypes for a bunch of time-related functions. Surprisingly, they were in the implementation, but not in the header files.
Kees van Reeuwijk2010-03-09 22:10:58 +00:00
a34d34bc1f
Add a set of declarations to math.h. Since we don't actually have implementations for these functions, we lean on GNU builtin functions for using them, so these declarations are also conditional on using a GNU compiler.
Kees van Reeuwijk2010-03-09 22:05:20 +00:00
1f9ce647cf
Move archtypes.h, fpu.h, and stackframe.h
Arun Thomas2010-03-09 09:41:14 +00:00
27d53256e4
VFS fixes: - do not use uninitialized req_breadwrite results upon failure - improve ".." ELEAVEMOUNT correctness check
David van Moolenbroek2010-03-08 22:05:27 +00:00