haiku/src/system/kernel
Ingo Weinhold 73aa393d73 * Introduced pipes in the kernel debugger. The syntax is similar to
pipes in the shell, though the semantics is a little different: The
  second command is invoked whenever the first command has written a
  complete line. The line is passed as last argument to the second
  command. The new command flag B_KDEBUG_PIPE_FINAL_RERUN causes the
  second command to be invoked again (with NULL argument) after the
  first command is done.
* Added kprintf_unfiltered() and kputs_unfiltered() which bypass the
  pipe mechanism and directly print to the bluescreen/serial output.
* Moved most commands from debug.cpp to the new
  debug_builtin_commands.cpp.
* B_KDEBUG_DONT_PARSE_ARGUMENTS commands don't get an argument anymore,
  if it would consist of white space only.
* Added new debugger command return value B_KDEBUG_ERROR, which
  indicates that executing the command failed. This return code will
  abort a complete pipe.
* Since debugger commands can nest (i.e. one command can invoke another
  one) the setjmp()/longjmp() mechanism to restore the stack after a
  page fault in a command needs more than one jump buffer.
* Added abort_debugger_command(), which longjmp()s out of the currently
  executed command. This will also abort the current pipe.
* When pagination is enabled pressing "a" will abort the running command
  (as opposed to "q" which only disables the blue screen output, but
  lets the command continue).
* Added debugger commands:
  - "grep" which can be used to filter output by pattern. Removed the
    "filter" command and the underlying mechanism that did that before.
  - "head" which prints only the first lines of output of another
    command.
  - "wc" counts lines, words, and characters of another command's
    output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-01 02:25:00 +00:00
..
arch * Changed recursive_lock to use a mutex instead of a semaphore. 2008-05-28 23:12:36 +00:00
cache Changed tracing output prefix from "cache" to "block cache". 2008-05-29 21:21:33 +00:00
debug * Introduced pipes in the kernel debugger. The syntax is similar to 2008-06-01 02:25:00 +00:00
device_manager * Do not delete the device handed over to the devfs when deleting the vnode 2008-05-30 20:30:07 +00:00
disk_device_manager Print actual floating point number, instead of integer fraction. 2008-05-26 16:13:19 +00:00
fs Fix build with TRACE_VFS enabled and also fix a warning. 2008-05-30 19:06:30 +00:00
lib *pathconf() need to call statvfs() to be more correct, but the kernel doesn't have it. Remove conf.c for now, it's likely not needed anyway. 2008-05-23 00:11:07 +00:00
messaging Memory leak in error cases. CID 737. 2008-05-24 16:29:53 +00:00
platform Dummy platforms for m68K. 2007-10-22 00:03:51 +00:00
posix Use the new B_ABSOLUTE_REAL_TIME_TIMEOUT. Fixes pthread_cond_timedwait() 2008-05-10 21:44:03 +00:00
slab * Changed recursive_lock to use a mutex instead of a semaphore. 2008-05-28 23:12:36 +00:00
util * Removed old mutex implementation and renamed cutex to mutex. 2008-05-01 22:07:36 +00:00
vm Removed the condition that only caches with a source can be merged. 2008-05-30 01:02:29 +00:00
boot_item.cpp * Changed get_boot_item() API: it now also can retrieve the size of the boot 2008-03-30 11:01:41 +00:00
boot_splash.cpp Patch by Philippe Saint-Pierre: 2008-04-05 21:15:43 +00:00
commpage.cpp Merged branch haiku/branches/developer/bonefish/optimization revision 2008-01-11 00:36:44 +00:00
condition_variable.cpp axeld + bonefish: 2008-05-17 10:21:37 +00:00
cpu.c * _user_cpu_enabled() accidently returned an error code instead of "false". 2008-05-22 11:38:00 +00:00
elf.cpp * Added <sys/mman.h> header. It declares only mmap() and munmap() yet 2008-04-13 22:52:11 +00:00
heap.cpp * When KERNEL_HEAP_LEAK_CHECK is enabled we also store the calling 2008-05-23 22:30:20 +00:00
image.c * Removed old mutex implementation and renamed cutex to mutex. 2008-05-01 22:07:36 +00:00
int.c * Applied patch by Vasilis that updates the doxygen comment style. 2008-03-29 12:01:57 +00:00
Jamfile Patch by Jan Klötzke: 2008-05-28 10:08:07 +00:00
kernel_daemon.cpp Daemons are now spawned with "new", and thus they should be sent back using 2008-05-22 11:37:20 +00:00
kernel.rdef patch by Artur Wyszynski (aljen): 2008-03-18 10:11:58 +00:00
linkhack.c Renamed system/core to system/kernel. 2005-04-13 13:22:10 +00:00
lock.cpp * Replaced all instances of benaphores in the kernel code by mutexes. 2008-05-29 02:08:23 +00:00
main.cpp * Integration of the new driver architecture. 2008-05-26 16:52:27 +00:00
module.cpp * Changed recursive_lock to use a mutex instead of a semaphore. 2008-05-28 23:12:36 +00:00
Notifications.cpp * Removed old mutex implementation and renamed cutex to mutex. 2008-05-01 22:07:36 +00:00
port.cpp Memory leak in error cases. CID 729. 2008-05-25 23:41:22 +00:00
real_time_clock.c Disable tracing. 2008-03-24 01:02:59 +00:00
scheduler.cpp Added new kernel thread "undertaker" which gets rid of dead thread 2008-05-29 14:28:31 +00:00
sem.cpp Added support for POSIX semaphores (the ones from the XSI extension 2008-05-06 03:39:36 +00:00
shutdown.c fixed the way accept() works in regards to the cookie pointer. It is no longer visible to userspace, we pass the fd instead. Also renamed kernel's shutdown() to system_shutdown as it collides with Posix's shutdown(). 2007-05-23 19:56:40 +00:00
signal.cpp * For each userland team the kernel creates an area in the userland 2008-05-11 16:25:35 +00:00
smp.c memory barrier functions available for drivers. 2008-04-26 15:18:04 +00:00
syscalls.cpp * Moved realtime_sem.{cpp,h} into new posix subdirectory. 2008-05-06 23:16:04 +00:00
system_info.cpp * Reenabled used page reporting based on vm_available_memory(). 2008-04-02 12:47:08 +00:00
team.cpp Memory leak in error cases. CID 808. 2008-05-24 16:17:56 +00:00
thread.cpp Added new kernel thread "undertaker" which gets rid of dead thread 2008-05-29 14:28:31 +00:00
timer.cpp * Made waiting for a timer handler more power usage friendly. 2008-04-22 18:46:34 +00:00
usergroup.cpp Some setre{g,u}id() tweaking. What happens to the saved set-{g,u}id is 2008-04-15 21:18:07 +00:00
wait_for_objects.cpp Added poll() kernel tracing. 2008-05-10 16:23:48 +00:00