haiku/headers/private/kernel
Ingo Weinhold 758b1d0e05 Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
  declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
  explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
  something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
  'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
  is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
  Otherwise the an inner class with that name is considered as friend.
  gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 23:27:14 +00:00
..
arch The "where" or "sc" command now switches the page directory to the specified thread 2005-11-04 15:58:04 +00:00
boot Merged changes from branch build_system_redesign at revision 14573. 2005-10-29 16:27:43 +00:00
disk_device_manager Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
fs Our close-on-exec flag handling was broken: it's supposed to be specified per slot, not 2005-10-06 09:02:59 +00:00
util Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
block_cache.h First step into a new block allocation strategy for the block_cache 2005-05-13 18:18:28 +00:00
boot_item.h The boot item list was not initialized; this was no problem, though, as 2005-06-13 13:01:13 +00:00
cache.h We temporarily need a BeOS compatible cache implementation. 2004-06-08 05:59:53 +00:00
cbuf.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
console.h Made the header C++ safe. 2005-05-26 09:08:54 +00:00
cpu.h Changed the boot procedure a bit. 2005-10-25 16:59:12 +00:00
debug.h Fixed a pretty fatal bug in the page fault handling: interrupts were enabled 2005-08-21 23:27:51 +00:00
defines.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
elf32.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
elf_priv.h Replaced the regions array with the nicer text_region and data_region members. 2004-06-09 02:51:27 +00:00
elf.h Renamed elf_lookup_symbol_address() to elf_debug_lookup_symbol_address() and 2005-08-22 20:35:42 +00:00
faults_priv.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
file_cache.h The file cache now has another init method that is called after the boot 2005-08-03 17:25:03 +00:00
frame_buffer_console.h Removed debug/console.c, we no longer need it. frame_buffer_console_init() is now 2005-05-29 16:23:00 +00:00
gdb.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
generic_syscall.h As suggested by Ingo, the "subsystem" parameter is now a string. That allows 2004-12-14 17:09:06 +00:00
int.h {install|remove}_io_interrupt_handler() now correctly handle the B_NO_ENABLE_COUNTER flag. 2005-04-27 01:08:35 +00:00
kdevice_manager.h Merged branches/developer/axeld/driver_recognition changed r12307:12637 into trunk. 2005-05-12 03:27:44 +00:00
kdriver_settings.h Added driver_settings support to the kernel_args structure. 2005-01-10 07:36:08 +00:00
kernel_daemon.h Added the kernel_daemon.h header which defines the init function for the 2003-01-26 17:27:42 +00:00
kernel.h Moved the kernel_startup variable declaration from int.h to kernel.h (it's defined in main.c). 2005-04-12 06:09:13 +00:00
kimage.h Added a image_debug_lookup_user_symbol_address() that one day may find symbol names 2005-11-04 17:25:58 +00:00
kmodule.h Added function prototypes for the kernel private load_module() and unload_module() calls. 2005-01-18 02:34:00 +00:00
kscheduler.h Changed the boot procedure a bit. 2005-10-25 16:59:12 +00:00
ksignal.h Changed the signal handling code so that handle_signals() can be called without 2005-10-20 16:56:04 +00:00
ksocket.h It is accomplished ... 2002-07-09 12:24:59 +00:00
ksyscalls.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
lock.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
memheap.h Enlarged the kernel heap to 16 MB. 2005-05-26 09:11:30 +00:00
messaging.h Added _user_unregister_messaging_service(). Fixed second send_message() proto. 2005-01-24 01:19:03 +00:00
MessagingServiceDefs.h Removed obsolete struct. 2005-01-30 01:11:33 +00:00
pools.h Removed references to ktypes.h. 2004-11-27 12:05:41 +00:00
port.h We now have a (private) writev_port_etc() call. This could be used to avoid 2005-07-13 23:55:15 +00:00
real_time_clock.h added get_rtc_info, needed in the kernel for services which use local timestamps such as the dos filesystem 2004-12-15 09:23:50 +00:00
real_time_data.h removed fields not needed any more in userland 2004-11-23 00:11:33 +00:00
safemode.h * renamed smp_boot.c to smp.cpp 2005-10-26 22:57:13 +00:00
sem.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
smp.h Implemented call_all_cpus(), and get_cpuid() properly (tested only the latter, though). 2005-10-25 18:18:11 +00:00
syscall_process_info.h Added syscalls for various process/group/session related functions. 2004-10-14 14:31:31 +00:00
syscalls.h * Reintroduced third LinkAgainst parameter <mapLibs>, defaulting to true. 2005-11-07 16:07:25 +00:00
sysctl.h Several follow-up changes required by the changes either to the VFS 2004-08-28 20:45:00 +00:00
system_info.h Extended the get_system_info() mechanism; it now gets info about threads/teams 2004-11-30 21:06:11 +00:00
team.h Added a team watching mechanism in the kernel, not yet tested (but at least doesn't cause any harm yet :-)). 2005-08-03 12:00:42 +00:00
thread_types.h Added a team watching mechanism in the kernel, not yet tested (but at least doesn't cause any harm yet :-)). 2005-08-03 12:00:42 +00:00
thread.h Changed the boot procedure a bit. 2005-10-25 16:59:12 +00:00
timer.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
tls.h Added another argument parameter for the thread creation code. Helps 2003-04-18 09:21:22 +00:00
user_atomic.h renamed atomic_read() into atomic_get() (since we already have atomic_set(), but not a atomic_write()) 2003-08-31 01:21:56 +00:00
user_debugger.h * Fail, if debug_thread() is invoked for the debug nub thread. 2005-11-03 00:40:36 +00:00
user_runtime.h Apparently, both load_image() and exec*() support running scripts. We do that 2005-06-14 11:23:29 +00:00
vfs.h Moved vfs_bootstrap_file_systems() and vfs_mount_boot_file_system() out of vfs.cpp 2005-10-17 14:01:04 +00:00
vm_cache.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
vm_low_memory.h Added a basic low memory handler service. 2005-06-13 13:03:54 +00:00
vm_page.h Minor cleanup, changed return type of page count functions (from addr_t to size_t, 2005-06-13 13:02:24 +00:00
vm_priv.h Renamed vm.c to vm.cpp and made all the changes to let it compile without 2005-05-16 23:17:45 +00:00
vm_store_anonymous_noswap.h Added an additional flag B_OVERCOMMITTING_AREA (currently to be specified 2005-05-15 15:03:44 +00:00
vm_store_device.h Renamed vm.c to vm.cpp and made all the changes to let it compile without 2005-05-16 23:17:45 +00:00
vm_store_null.h Renamed vm.c to vm.cpp and made all the changes to let it compile without 2005-05-16 23:17:45 +00:00
vm_translation_map.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
vm_types.h Added an additional flag B_OVERCOMMITTING_AREA (currently to be specified 2005-05-15 15:03:44 +00:00
vm.h The heap is now located at 384 MB, and creates a reserved range that spans over the 2005-05-16 22:15:13 +00:00