1c8c8aa4d8
isblank() implementation.
Ben Gras
2010-04-08 15:00:25 +00:00
48c6bb79f4
Driver refactory for live update and crash recovery.
Cristiano Giuffrida
2010-04-08 13:41:35 +00:00
2fd5eb2569
ipc test improvements
Ben Gras
2010-04-08 13:11:37 +00:00
78806e1b2e
more stack for boot
Ben Gras
2010-04-08 12:18:57 +00:00
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 Reeuwijk
2010-04-07 13:35:56 +00:00
25f2145956
Fixed a panic message
Tomas Hruby
2010-04-07 12:50:43 +00:00
94a81c840a
Removed unused variables, added const where possible.
Kees van Reeuwijk
2010-04-07 11:25:51 +00:00
c39eb33b74
A fixed prototype in dec21140A.c
Tomas Hruby
2010-04-07 07:50:44 +00:00
b464da5d73
do_nice.c
Tomas Hruby
2010-04-06 13:44:03 +00:00
987b87e2ad
Small fixes
Tomas Hruby
2010-04-06 11:29:31 +00:00
a774cc832f
do_ipc() rearrangements
Tomas Hruby
2010-04-06 11:24:26 +00:00
b0d37b81c4
RTS_SYS_LOCK and do_runctl()
Tomas Hruby
2010-04-06 11:18:04 +00:00
cdd6743e88
do_vtimer()
Tomas Hruby
2010-04-06 11:16:14 +00:00
4ed3a0cf3a
Convert kernel over to bsdmake
Arun Thomas
2010-04-01 22:22:33 +00:00
0a04f49d2b
Fixed some incorrect uses of printf-like functions.
Kees van Reeuwijk
2010-04-01 14:30:36 +00:00
fc7dced1fa
Fix printfs with too few or too many parms, remove unused vars, fix incorrect flag tests, other code cleanup.
Kees van Reeuwijk
2010-04-01 13:25:05 +00:00
c3f649557e
Lots of const correctness, other cleanup.
Kees van Reeuwijk
2010-04-01 12:51:31 +00:00
9fd4c2a20d
introduce the fsckopts sysenv, options passed to fsck by /etc/rc.
Ben Gras
2010-03-31 15:06:53 +00:00
de93803ab0
only print 'PCI: ignoring bad value ...' once per boot.
Ben Gras
2010-03-31 12:29:30 +00:00
d8b42a755d
Move kernel signal SIGKNDELAY to system signal SIGSNDELAY and fix broken ptrace.
Cristiano Giuffrida
2010-03-31 08:55:12 +00:00
4d686f1616
Move allocation of temporary inodes for cloned character special devices from MFS to PFS.
Thomas Veerman
2010-03-30 15:00:09 +00:00
4865e3f4f9
More use of endpoint_t. Other code cleanup.
Kees van Reeuwijk
2010-03-30 14:07:15 +00:00
2ff73172b4
Fixed missing __UNCONST macro definition in previous patch.
Lorenzo Cavallaro
2010-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 Cavallaro
2010-03-30 09:36:46 +00:00
63e2d73d1b
Fixed brackets in bitmap macros
Tomas Hruby
2010-03-30 08:34:33 +00:00
f2b87f5fb7
don't print SYSTEM stacktrace on exceptions as it's not scheduled any more.
Ben Gras
2010-03-29 15:32:19 +00:00
62203ec287
NOREC_ENTER and NOREC_RETURN checks removed
Tomas Hruby
2010-03-29 11:43:10 +00:00
bc0e36f402
fix null deref; vmnt->mounted_on is NULL legitimately for root.
Ben Gras
2010-03-29 11:39:54 +00:00
5b52c5aa02
A reliable way for userspace to check if a msg is from kernel
Tomas Hruby
2010-03-29 11:25:01 +00:00
2521cc6bdf
Slightly faster IPC
Tomas Hruby
2010-03-29 11:16:37 +00:00
b4cf88a04f
Userspace scheduling
Tomas Hruby
2010-03-29 11:07:20 +00:00
a3ffc0f7ad
Removed NIL_SYS_PROC and NIL_PROC
Tomas Hruby
2010-03-28 09:54:32 +00:00
98493805fd
Lots of const correctness.
Kees van Reeuwijk
2010-03-27 14:31:00 +00:00
9192dbecc9
Preserve the order of IPC messages between two parties.
Cristiano Giuffrida
2010-03-27 00:09:22 +00:00
8e5a82fd49
Comment in proc.h
Tomas Hruby
2010-03-26 13:19:04 +00:00
1dd6f5573a
Direction flag
Tomas Hruby
2010-03-26 12:29:52 +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 Cavallaro
2010-03-24 17:25:17 +00:00
5fd3f34273
Minor docs/UPDATING fix
Arun Thomas
2010-03-24 13:41:38 +00:00
0ea82663e0
Fix crtso building with GCC
Arun Thomas
2010-03-24 10:11:17 +00:00
407316e451
More const correctness. Removed prototype for unimplemented getpgid() function. Removed a value return from a void function.
Kees van Reeuwijk
2010-03-23 14:25:09 +00:00
a6957b7847
Fixed prototype in cat
Tomas Hruby
2010-03-23 13:36:16 +00:00
8451a86f0a
Interrupts hadling while idle
Tomas Hruby
2010-03-23 13:35:01 +00:00
bde2109b7c
IPC status code for receive().
Cristiano Giuffrida
2010-03-23 00:09:11 +00:00
45db6482e8
Prioritized NOTIFY messages for reliable asynchonrous delivery of system events.
Cristiano Giuffrida
2010-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 Giuffrida
2010-03-22 22:46:29 +00:00
436d6012a3
Convert drivers/ and servers/ over to bsdmake
Arun Thomas
2010-03-22 21:25:22 +00:00
c33102ea6b
Miscellaneous code cleanup.
Kees van Reeuwijk
2010-03-22 20:43:06 +00:00
4b2310a7ee
only print 1 every 1000 spurious interrupts (per interrupt).
Ben Gras
2010-03-22 13:55:51 +00:00
12ef495cac
atomicity fix when enabling paging
Tomas Hruby
2010-03-22 07:42:52 +00:00
a5094f7d7f
Kernel dumps its registers when exception
Tomas Hruby
2010-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 Kouwe
2010-03-19 19:15:20 +00:00
19ff96081c
Specify missing return type
Erik van der Kouwe
2010-03-19 19:07:00 +00:00
ec30f25d0c
VM: fix kernel mappings for children of non-paged parents.
Ben Gras
2010-03-18 17:17:31 +00:00
61348227a7
docs/UPDATING correction
Tomas Hruby
2010-03-18 17:00:32 +00:00
a0602c06a3
Fixed kernel stack comment
Tomas Hruby
2010-03-18 16:18:22 +00:00
e595328986
remove 3 awk files - don't have generated files in svn.
Ben Gras
2010-03-18 14:15:48 +00:00
f250bfaa13
change messy CREATEPDE macro to clean little function.
Ben Gras
2010-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 Kouwe
2010-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 Reeuwijk
2010-03-17 16:16:52 +00:00
365495b530
Moved current awk sources to awk.old.
Kees van Reeuwijk
2010-03-17 16:11:48 +00:00
4432f197c1
Add a define for NSIG.
Kees van Reeuwijk
2010-03-17 13:43:34 +00:00
cb176df60f
New RS and new signal handling for system processes.
Cristiano Giuffrida
2010-03-17 01:15:29 +00:00
7685e98304
typo
David van Moolenbroek
2010-03-16 16:21:28 +00:00
83d1f45578
Fixed a bug in interrupt handling code when removing a handler in case of a shared IRQ.
Cristiano Giuffrida
2010-03-16 10:20:36 +00:00
2ba76cfec6
Minor correction in UPDATING
Erik van der Kouwe
2010-03-16 08:16:13 +00:00
9944688d2b
Convert man/ over to new make
Arun Thomas
2010-03-16 00:15:43 +00:00
d89e33fc92
Suppressed some warnings in the WIFSIGNALED macro.
Kees van Reeuwijk
2010-03-15 18:33:29 +00:00
1749530ec1
Fix bug item #405: missing # in front of comment
Thomas Veerman
2010-03-15 10:42:51 +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 Veerman
2010-03-12 15:58:41 +00:00
3efbb8f133
Let the commands/simple/tr.c understand about '\t', '\r', and '\n'.
Kees van Reeuwijk
2010-03-12 09:58:44 +00:00
23e97af1b4
Add an UNUSED annotation, and use it in libsys.
Kees van Reeuwijk
2010-03-11 14:23:33 +00:00
da25ecf758
Work around KVM unreal mode bug by avoiding unreal mode
Erik van der Kouwe
2010-03-10 15:32:31 +00:00
5df6b80093
Clean up code in preparation for using gcc warnings.
Kees van Reeuwijk
2010-03-10 13:19:27 +00:00
0937d6c367
re-establish kernel assert()s.
Ben Gras
2010-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 Reeuwijk
2010-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 Reeuwijk
2010-03-09 22:05:20 +00:00
cf95efbad1
Prevent the use of an unitialized variable for block size in CRC calculation.
Kees van Reeuwijk
2010-03-09 16:21:41 +00:00
4206784d82
Flex: Fix install(1) invocation in build
Arun Thomas
2010-03-09 09:43:53 +00:00
1f9ce647cf
Move archtypes.h, fpu.h, and stackframe.h
Arun Thomas
2010-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 Moolenbroek
2010-03-08 22:05:27 +00:00