Commit Graph

329 Commits

Author SHA1 Message Date
Ingo Weinhold d713d1d973 The beginning of the DiskDevice API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 21:17:20 +00:00
Axel Dörfler 9175b5a5e0 Cleanup of the header mess: removed the redundant APIC/mp structure definitions
from smp_priv.h and stage2_priv.h. Created a new file smp_apic.h which now
contains those definitions.
Made the APIC_xxx register offsets only base offsets (without referencing a
particular variable).
Other small cleanups (i.e. "unsigned int" to uint32).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-30 21:20:33 +00:00
Philippe Houdoin f3eabb6abd Backport time tracking fix from NewOS:
thread code now properly traces time spent in user vs kernel mode. The code was
just plain broken before
http://www.newos.org/cgi-bin/perfbrowse.perl?@describe+1704


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 21:59:37 +00:00
Axel Dörfler a9731b41c1 Housekeeping changes and small bug-fixes:
Added new syscall for set_thread_priority().
Replaced the userland syscall snooze_until() with snooze_etc() (the latter
has to be exported to userland and realize snooze() and snooze_until()).
Cleaned the sources - scheduler functions now have the scheduler_ prefix.
Moved signal related stuff into ksignal.h (out of thread.h).
Replaced public kernel API with direct exports (i.e. resume_thread() instead
of thread_resume_thread()).
Removed the thread_create_XXX_thread*() calls, and replaced them with a
BeOS compatible set.
Made some fields of struct thread a bit prettier.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 02:54:21 +00:00
Axel Dörfler 7f1f508e13 Added two convenience functions list_add_item(), list_remove_item().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 23:30:12 +00:00
Axel Dörfler 04d145c94d The team's image API is now using "list" instead of "kqueue".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 23:29:33 +00:00
Axel Dörfler 8a5543b18c Added the kernel_daemon.h header which defines the init function for the
kernel daemon service.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 17:27:42 +00:00
Ingo Weinhold 0b1ab795f4 Got rid of the module_identify() hook. Instead the module info features a short_name field now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:06:23 +00:00
Ingo Weinhold cd6210cc8d Added a parameter for getting the partition module name to the get_nth_partition_info() hook.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:05:20 +00:00
beveloper 7fd432700b Updated time source code to allow automatic starting and stopping of time sources.
Sending run mode changes and broadcasting of time changes is also implemented.
For one reason or another, all this doesn't work right now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 01:11:15 +00:00
Axel Dörfler ffa7234e82 Added a missing struct definition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 00:58:13 +00:00
Ingo Weinhold 4f28177175 Added partitioninig support and missing documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:01:02 +00:00
Ingo Weinhold 23c4932121 Added missing documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:00:15 +00:00
Ingo Weinhold d28b7f78d0 Added partitioning support and missing documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:59:38 +00:00
Ingo Weinhold 81f71acbee Now a callback function is used to read blocks from disk. Used to cache blocks when iterating through the FS modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:18:39 +00:00
Ingo Weinhold e9a0da4169 The get_nth_*_info() hooks now return the used module respectively use the supplied one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:16:30 +00:00
Axel Dörfler f9bdcca59c Added kernel private node_monitor.h header.
Moved definition of "struct io_context" from fd.h to vfs.h.
Introduced new fs/ directory; some cleanups to come.
Added node monitor syscalls.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:04:22 +00:00
Axel Dörfler fc3cda204e New list primitive.
A doubly-linked list with some nice features.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:02:47 +00:00
Axel Dörfler 658694ae79 Removed the old dlfcn.h header - the real thing is located in posix/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 19:13:12 +00:00
Tyler Dauwalder f9c2a2a243 + Shrank license
+ Changed "#define TRACE(x)" to "#define TRACE(x) ;"


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 08:22:35 +00:00
Tyler Dauwalder e3e6d2db88 + Finished up cdrom session module
+ Fixed volume name bug in iso9660 module
+ Added licenses


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 08:26:22 +00:00
Axel Dörfler 9f956562e5 Missed that one, obviously.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 16:36:25 +00:00
Axel Dörfler c60685fcad Fixed parameter for get_nth_image_symbol().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:36:30 +00:00
Axel Dörfler c679492034 Added a queue to the team structure for the registered images.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:25:04 +00:00
Axel Dörfler 29164895ac Must now include image.h directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:24:12 +00:00
Axel Dörfler 9edac21abd Removed the image_id type definition from ktypes.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:23:21 +00:00
Axel Dörfler ef6d88af27 Renamed "struct rld_export_t" to "struct rld_export", "struct uspace_prog_args_t"
to "struct uspace_program_args", prog_name & prog_path to program_name and
program_path.
Moved the MAGIC_APPNAME to a BeOS compatible MAGIG_APP_NAME from rld_priv.h
to this place.
Removed the dlxxx() exports in the rld_export structure - instead, they will
be implemented using the basic runtime linker API which is a slightly extended
version of the standard BeOS calls (load_add_on() has a "flags" paramater to
allow implementation of dlopen()).
Completed the export API to be able to completely support the BeOS API.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:22:09 +00:00
Axel Dörfler 30f9b99833 Added sys_ prototypes for the kernel image API syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:17:09 +00:00
Axel Dörfler 49c987ef8d Added a macro to iterate through the kqueue.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:00:59 +00:00
Axel Dörfler 1c204d8bb9 Added syscalls for the image API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 15:59:50 +00:00
Axel Dörfler 9c12864dfd Header for the kernel image API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 15:59:12 +00:00
Axel Dörfler 074a16b53e Added a private tls.h file with definitions for the reserved TLS slots.
Renamed i386_set_kstack() to i386_set_tss_and_kstack(), because that's what
it does.
Added a new function arch_thread_init_tls() which must be called after
having allocated the TLS area.
Renamed arch_thread_initialize_kthread_stack() to arch_thread_init_kthread_stack()
to be more consistent.
Changed the parameters for arch_thread_enter_uspace() - it now gets a pointer
to the thread structure and takes the user stack pointer from there (which
might also be architectural different).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:17:31 +00:00
Axel Dörfler 1f6480576d Added new fields for the local storage of "errno" in the kernel and user-
level TLS.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:13:36 +00:00
Axel Dörfler 20dde76256 I've added a MAIN_THREAD_STACK_SIZE definition, and put the corresponding
BeOS values commented beneath it.
For now MAIN_THREAD_STACK_SIZE is the same as STACK_SIZE.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:12:26 +00:00
Axel Dörfler 7208e95f0e Moved the gdt_idt_descr struct from arch_stage2.h to stage2_priv.h.
Moved the tss_descriptor structure to descriptor.h, updated it to be a
segment_descriptor structure, and provided inlines for set_tss_descriptor(),
set_segment_descriptor(), set_segment_descriptor_base(), and
clear_segment_descriptor().
Also added defines for the different privilege levels and descriptor types.
Removed the unusused and incorrect TSS definition, introduced new
TSS_BASE_SEGMENT and TLS_BASE_SEGMENT macros.
Removed include of arch/cpu.h in arch_cpu.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 08:02:44 +00:00
beveloper 287f7492c3 more time source function...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-03 01:51:22 +00:00
Axel Dörfler 346646a2c7 Moved the files vm_types.h, syscalls.h, and vfs_types.h to the private
kernel header directory - they are by no means public includes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-02 13:16:35 +00:00
mahlzeit 3569d43900 Checkin of the sources for midi2 kit milestone 1.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 14:26:15 +00:00
mahlzeit 1df1f3949f Checkin of the source code for midi2 kit milestone 1.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 14:25:02 +00:00
Axel Dörfler 7fae070584 Included NewOS change 1674. Moved private elf structures to elf_priv.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-30 13:34:25 +00:00
beveloper bd57171958 Checkpoint.
Started adding support for persistent default nodes.
System time source and BTimeSource are broken.c


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-26 02:23:59 +00:00
Ingo Weinhold 18e74fef99 indentify() also returns a priority now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:14:12 +00:00
Ingo Weinhold e50b31269a Pass a session_info to the partition functions, rather than a bunch of individual variables.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:13:25 +00:00
Tyler Dauwalder 6c1c5b652b + Updated PARTSCAN_MODULE_NAME to DISK_SCANNER_MODULE_NAME
+ Fixed an error with disk_scanner_get_partition_fs_info() that was causing
  the fs module to not be unloaded when identification succeeded. The next
  time around, get_module() was returning B_OK, by the module pointer was
  being set to NULL. I'm not sure if this is the expected behaviour of the
  emulator, so we may want to investigate.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 22:50:18 +00:00
Ingo Weinhold bc0ffa26e0 disk_scanner module API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:07:30 +00:00
beveloper 5aab162dcc removed compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 20:15:29 +00:00
beveloper 7ad0981b56 added a method that is useful for debugging
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 18:22:16 +00:00
Ingo Weinhold 5d9772d27f Added set_volume_name().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:46:40 +00:00
Michael Pfeiffer 6076525763 Added macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 04:33:55 +00:00
beveloper 075570786d changed BufferManager communication to use ports.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 23:49:40 +00:00
beveloper 3ca7b9c952 rewritten to provide better iteration functionality, etc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 23:47:55 +00:00
beveloper 6a3b2694fd a stack doesn't need iteration functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 23:46:39 +00:00
Axel Dörfler 11d4dc0bf5 Added a module_test() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 17:59:30 +00:00
Axel Dörfler 420a6221ec Moved thread_types.h to this place.
Changed fd.h inlines because team->ioctx is now team->io_context.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 14:07:35 +00:00
Axel Dörfler 1a72f541b5 Added function prototypes for forbid_page_faults() and permit_page_faults().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 01:51:39 +00:00
beveloper 353b9f6bce changed map and list templates to be more useable, however, they will
be rewritten soon. Changed debugging macros and use of them, too.
Also replaced the linked lists in the BufferManager (which were complicated,
but working ok) with template based ones.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 00:59:42 +00:00
Axel Dörfler ebf5be407a Reworked and cleaned the khash; completely removed the new_hash_table
implementation that was buggy, not very flexible, and incomplete.
Changed some variable types, and function names.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 08:25:08 +00:00
beveloper 428f0ce25c last cleanup of pool code before rewriting it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 15:05:58 +00:00
beveloper 3b70f94330 added a magic value to check clobbering of the free list
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:10:20 +00:00
beveloper 60d9ed9e3b fixed the ASSERT macro, it did not even compile if DEBUG was defined
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:07:28 +00:00
beveloper 7991b1a031 added a lot of debugging functions that should help fixing bugs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 02:25:04 +00:00
Michael Pfeiffer 2440d2c1cf Removed or created shared header files used by print kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 23:03:14 +00:00
beveloper 6396865dcd added automatic media_addon_server launching and termination.
added detection of and cleanup after application crashes.
if the media_addon_server crashes, it will be restarted.
removed preleminary volume control functions.
removed unneeded media_server functions.
changed application registration to use port based messaging.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 01:28:23 +00:00
DarkWyrm c773cf76b7 Added new FlushWithReply method. Mostly tested
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-19 00:31:58 +00:00
Axel Dörfler ab25550f8e Added a initque() inline function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 01:35:01 +00:00
Philippe Houdoin 8f74e6ed4a Small private net header cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:41:46 +00:00
Philippe Houdoin 40e492bc4c Some net headers fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 07:57:19 +00:00
Philippe Houdoin a0a6d75d61 Some net cleanup...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-12 21:03:25 +00:00
DarkWyrm 182af733e7 Initial checkin of official version of protocol file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 22:01:30 +00:00
DarkWyrm 15a224865b Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:47:47 +00:00
shadow303 5ea0e0a5d0 Change clipboard constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 20:55:41 +00:00
Tyler Dauwalder 6de29761ec Added Load/Save Recent Lists constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:38:50 +00:00
Tyler Dauwalder e28d9c0efe Changed B_PATH_NAME_LENGTH+1 suggestions to B_PATH_NAME_LENGTH
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:40:25 +00:00
Tyler Dauwalder 89ec8a81c2 Moved CharStream class out of Parser.{h,cpp} and into its own file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:38:35 +00:00
Tyler Dauwalder e5f9569dcb Added escape_path() functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:37:46 +00:00
beveloper dfb2ad6148 code cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 16:03:23 +00:00
Axel Dörfler 5ef7716d48 Added a missing const to the (sys|user)_select() call.
Broke binary compatibility for the notify_select_event(), since it obviously
hasn't been used on R5 at all.
The new API/implementation is much nicer to use.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 03:14:05 +00:00
mahlzeit b55530493f Added Doxygen file header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 16:12:00 +00:00
lillo 5e7d6a17a0 Enabled the single ordered queue scheduler and made some little fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 13:20:00 +00:00
mahlzeit e913fbc1c2 Debug macros for the Midi Kit. Somewhat
stolen from the Media Kit's debug.h ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 08:50:49 +00:00
beveloper 2f344cad19 some more clean up and renaming
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 20:59:25 +00:00
beveloper b282b44773 code cleanup. renamed exported socket functions as socket_ and removed void *
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 16:40:51 +00:00
Axel Dörfler 7ed765a7f9 Added syscalls for select(), and poll().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 02:29:05 +00:00
beveloper 42415555d3 after many changes, the network stack can now be build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 01:21:54 +00:00
Axel Dörfler f2e04b5fa6 Removed the kmalloc(), kfree(), and kstrdup() prototypes.
You now need to include malloc.h (or stdlib.h) and use malloc(), free(),
and strdup().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 23:03:47 +00:00
beveloper a115b7c3f1 moved some things from sys/socketvar.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:12:42 +00:00
beveloper 6e70991c56 moved from posix/sys
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:07:00 +00:00
Axel Dörfler a2cbc788e0 Adds support for select(), and poll() in the kernel - both are realized
using the current BeOS device API.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:49:57 +00:00
Axel Dörfler 8f3a4e7dd4 Cleaned up kernel.h; the insque(), remque() functions are now in a separate
header kqueue.h - together with their implementation which was in module.c
Added a new CHECK_USER_ADDRESS() macro that can be used to check if a
user address points into the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:31:57 +00:00
lillo f2bc61304f replaced sys_kill with general thread-aimed sys_send_signal; cleaned up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 20:38:16 +00:00
lillo a2117f0bc7 reworked snooze to work in function of the newly added (and kernel exported) snooze_etc. Activated libroot counterpart(s).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 12:06:40 +00:00
Tyler Dauwalder 4f935768b7 Added {Get,AddTo,Clear}Recent{Apps,Documents,Folders} message constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:47:18 +00:00
Daniel Reinhold 79362df9f7 added macros PI and PI2, and fixed previous (invalid) references to these
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 01:36:45 +00:00
Daniel Reinhold 7401ad9e32 moved trig.h to headers/private/libroot
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 01:28:28 +00:00
Daniel Reinhold 5015ea5c9e moved mathimpl.h from headers/private/kernel to headers/private/libroot
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:57:07 +00:00
Daniel Reinhold 7c7738f882 moved math.h from headers/private/kernel to headers/posix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:55:03 +00:00
Daniel Reinhold 6e6d8c9f72 internal math headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:27:32 +00:00
beveloper 6652c2eae9 removed some unused headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 19:27:39 +00:00
lillo 5cdacbaabb *LOTS* of small changes to make the kernel compatible with Be's KernelExport.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 16:13:36 +00:00
lillo 8fe70e8212 beos compatibility fixes: exit_thread now issues a signal; wait_for_thread returns B_INTERRUPTED if target thread gets killed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 01:11:15 +00:00