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
lillo
9870ddcea7
kill now sends the signal to the main thread of a process only. To target a specific thread use the new send_signal syscall. Also added set_alarm.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 22:36:08 +00:00
Daniel Reinhold
3bee4b9931
removed some old, unneeded cruft
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:58:39 +00:00
Daniel Reinhold
2917ddc323
replaced stdlib.h in 'headers/private/kernel' with a better one in the more standard location 'headers/posix'
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:50:13 +00:00
ejakowatz
259a6f747a
Proxy for the connection to app_server; just a skeleton at this point.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 01:10:10 +00:00
beveloper
9fc7164698
allow building everything without local(tree external) header files beeing
...
used for kernel or kit components
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:13:17 +00:00
lillo
f510e6ce60
posix signals support, 1st pass
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 17:31:10 +00:00
DarkWyrm
b010ca6720
Checkin for Gabe Yoder
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 00:08:45 +00:00
Ingo Weinhold
97b8908160
Added message constants for roster watching.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:03:54 +00:00
Axel Dörfler
146a3000ee
Added syscalls for the index functions.
...
Corrected the prototype for fs_rewind_index_dir() (don't copy and paste...)
Also checked in the syscall definitions for the signal stuff to save Angelo
some work.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 18:52:04 +00:00
Axel Dörfler
8e5ca65bc9
Added a new write_stat() call to the file descriptor operations.
...
Renamed sys_read_stat() to sys_read_path_stat() - sys_read_stat() is now
the fd operation.
Removed the sys_write_attr_stat() call because it is no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 03:04:19 +00:00
Axel Dörfler
b67f11173f
Added syscalls for the attribute VFS calls.
...
Made some subtle changes to fs_attr.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-16 16:17:28 +00:00
Ingo Weinhold
87c9902db3
Added B_REG_BROADCAST message code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 22:30:10 +00:00
Michael Pfeiffer
905bdfe41c
Added some macros.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 15:47:23 +00:00
Ingo Weinhold
4c0638893d
Added registrar internal message code for the roster sanity event.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:05:39 +00:00
Ingo Weinhold
121f83dd58
Moved the miscellaneous app kit functions into the BPrivate namespace and added the function current_team() which returns the ID of the current team.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 22:40:21 +00:00
Ingo Weinhold
cd1a0ce832
Added message constants for the message runner support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 22:38:41 +00:00
beveloper
570f7d0456
updated to include the same features/bugs as the screenshot in today's news.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-10 18:55:47 +00:00
beveloper
1299bfb29f
added real media_server node management, removed bugs, added debug output
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 23:59:43 +00:00
Axel Dörfler
11fe0cb8de
Added prototypes for the sys_/user_ attribute calls.
...
Changed the file_descriptor structure (more status_t, name removed).
Changed "extern inline" to "static inline" in thread.h/arch_thread.h as those
also work with -O0 -g.
Added prototypes for [arch_cpu_]user_strlcpy().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 03:19:57 +00:00
Axel Dörfler
a03cb82272
Added a field to track the file position to struct file_descriptor
...
(seek() moved from the fs to the vfs).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 00:11:10 +00:00
Ingo Weinhold
ae56d39432
Added B_REG_SET_SIGNATURE.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 21:50:49 +00:00
Axel Dörfler
5ebceff89d
Added L_cuserid, ... definition.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 23:47:50 +00:00
Ingo Weinhold
0cf8481dc7
Added newline at end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:45:06 +00:00
beveloper
85dfab2ba8
even more BMediaRoster functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 19:45:50 +00:00
Axel Dörfler
ee02a93973
Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 19:44:27 +00:00
Axel Dörfler
eafeadc689
Fixed a bug in the header (didn't include a needed header).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 16:55:20 +00:00
beveloper
9e9417d205
more BMediaRoster functionality
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 13:02:26 +00:00
Axel Dörfler
e96a844909
Removed some type definitions from ktypes.h that are now located in OS.h.
...
Changed lock.h to like those changes.
Moved the create_sem_etc() from the public OS.h to the private kernel only
sem.h, cleaned it up a bit.
gcc doesn't seem to like the "extern inlines" with -O0 -g, so I replaced
an inline function in thread.h with "static inline" (which it does always
like).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 01:17:28 +00:00
Tyler Dauwalder
f8adf6ade1
Made kThreadLimit constant public
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 04:22:08 +00:00
beveloper
e1df8c523b
made debug output more human readable
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 01:19:58 +00:00
beveloper
3620737cb7
added more BMediaRoster functionality
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 00:45:20 +00:00
beveloper
645433765e
modified for media kit use
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 00:42:45 +00:00
beveloper
044ba1ed95
We need a stack. Using the one from bfs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 21:45:43 +00:00
beveloper
8c6a6096e7
rewrote BMediaRoster::Connect() and a few related functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 22:12:10 +00:00
beveloper
e66fda405a
finished notification support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 16:54:53 +00:00