Searched +hist:34 +hist:a48c70 (Results 1 - 6 of 6) sorted by relevance

/haiku/src/system/libroot/os/arch/m68k/
H A DJamfilediff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 9f3408f8 Sun Jun 08 14:34:49 MDT 2008 Jérôme Duval <korli@users.berlios.de> build fix


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25869 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 51238e6b Tue Oct 23 17:38:34 MDT 2007 François Revol <revol@free.fr> Missing Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22693 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70efb9ce4fd54db2ef76d95e9c2ff9ec2e Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 9f3408f86f27562280f91cd7260b9a7f3d9447a5 Sun Jun 08 14:34:49 MDT 2008 Jérôme Duval <korli@users.berlios.de> build fix


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25869 a95241bf-73f2-0310-859d-f6bbb57e9c96
51238e6bd377e53b51fbdee91f8a53105db1c6cf Tue Oct 23 17:38:34 MDT 2007 François Revol <revol@free.fr> Missing Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22693 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/src/system/libroot/os/arch/ppc/
H A DJamfilediff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70efb9ce4fd54db2ef76d95e9c2ff9ec2e Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/headers/os/support/
H A DSupportDefs.hdiff 9e616c6b Thu Aug 28 12:31:56 MDT 2014 Adrien Destugues <pulkomandy@gmail.com> Fix HaikuBuildCompatibility to not define atmics anymore.

This reverts commit 34dbbb65fdfa4a70cd2c472731bb71b16385e29f.
Instead, we can remove thos from HaikuBuildCompatibility and things will work fine, unless one try t build Haiku on BeOS (this isn't
supported anymore) or a very old Haiku which esdon't have those.
diff 34dbbb65 Thu Aug 28 11:44:09 MDT 2014 Adrien Destugues <pulkomandy@gmail.com> Make atomics extern "C" again.

Pawel changed the implementation but I see no reason to make those available only from C++, so it must be an oversight.
Fixes building Haiku on Haiku which otherwise hits a mismatch in build compatibility headers.
diff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 9e616c6b9ef12d2e707969857befc29b044dafce Thu Aug 28 12:31:56 MDT 2014 Adrien Destugues <pulkomandy@gmail.com> Fix HaikuBuildCompatibility to not define atmics anymore.

This reverts commit 34dbbb65fdfa4a70cd2c472731bb71b16385e29f.
Instead, we can remove thos from HaikuBuildCompatibility and things will work fine, unless one try t build Haiku on BeOS (this isn't
supported anymore) or a very old Haiku which esdon't have those.
diff 34dbbb65fdfa4a70cd2c472731bb71b16385e29f Thu Aug 28 11:44:09 MDT 2014 Adrien Destugues <pulkomandy@gmail.com> Make atomics extern "C" again.

Pawel changed the implementation but I see no reason to make those available only from C++, so it must be an oversight.
Fixes building Haiku on Haiku which otherwise hits a mismatch in build compatibility headers.
diff 34a48c70efb9ce4fd54db2ef76d95e9c2ff9ec2e Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/src/system/kernel/arch/x86/
H A Darch_cpu.cppdiff 357b9d3c Sat Sep 05 09:34:30 MDT 2020 Jérôme Duval <jerome.duval@gmail.com> x86: identify Hygon vendor

it's a Zen-based CPU: rely on AMD support code.

Change-Id: Ia980a42457575bf8d1130d813310a285bf137691
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3217
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
diff 8cf8e537 Sun Jan 05 22:49:34 MST 2014 Pawel Dziepak <pdziepak@quarnos.org> kernel/x86: Inline atomic functions and memory barriers
diff 29e65827 Wed Oct 09 12:42:34 MDT 2013 Pawel Dziepak <pdziepak@quarnos.org> kernel: Remove possibility to yield to all threads

Kernel support for yielding to all (including lower priority) threads
has been removed. POSIX sched_yield() remains unchanged.

If a thread really needs to yield to everyone it can reduce its priority
to the lowest possible and then yield (it will then need to manually
return to its prvious priority upon continuing).
diff fa6f78ae Wed Oct 02 13:03:34 MDT 2013 Pawel Dziepak <pdziepak@quarnos.org> x86[_64]: Use uint32 for maximum CPUID leaf number
diff c9b6f27d Tue Oct 01 18:34:35 MDT 2013 Pawel Dziepak <pdziepak@quarnos.org> x86[_64]: Add CPU topology detection for AMD processors
diff 5aa0503c Mon Jun 07 18:20:34 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> * Removed i386_translation_map_get_pgdir() and adjusted the one place where it
was used.
* Renamed X86VMTranslationMap to X86VMTranslationMap32Bit and pulled the paging
method agnostic part into new base class X86VMTranslationMap.
* Moved X86PagingStructures into its own header/source pair.
* Moved pgdir_virt from X86PagingStructures to X86PagingStructures32Bit where
it is actually used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37055 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 8cf8e537740789b1b103f0aa0736dbfcf55359c2 Sun Jan 05 22:49:34 MST 2014 Pawel Dziepak <pdziepak@quarnos.org> kernel/x86: Inline atomic functions and memory barriers
diff 29e65827fd93f67acbebcdbbe1f233b004a48e18 Wed Oct 09 12:42:34 MDT 2013 Pawel Dziepak <pdziepak@quarnos.org> kernel: Remove possibility to yield to all threads

Kernel support for yielding to all (including lower priority) threads
has been removed. POSIX sched_yield() remains unchanged.

If a thread really needs to yield to everyone it can reduce its priority
to the lowest possible and then yield (it will then need to manually
return to its prvious priority upon continuing).
/haiku/headers/private/kernel/arch/x86/
H A Darch_cpu.hdiff 357b9d3c Sat Sep 05 09:34:30 MDT 2020 Jérôme Duval <jerome.duval@gmail.com> x86: identify Hygon vendor

it's a Zen-based CPU: rely on AMD support code.

Change-Id: Ia980a42457575bf8d1130d813310a285bf137691
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3217
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
diff 147133b7 Tue May 25 15:34:08 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> * First run through the kernel's private parts to use phys_{addr,size}_t
where appropriate.
* Typedef'ed page_num_t to phys_addr_t and used it in more places in
vm_page.{h,cpp}.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36937 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34b3b26b Thu Jan 10 17:36:44 MST 2008 Ingo Weinhold <ingo_weinhold@gmx.de> Merged branch haiku/branches/developer/bonefish/optimization revision
23139 into trunk, with roughly the following changes (for details svn
log the branch):
* The int 99 syscall handler is now fully in assembly.
* Added a sysenter/sysexit handler and use it on Pentiums that support
it (via commpage).
* Got rid of i386_handle_trap(). A bit of functionality was moved into
the assembly handler which now uses a jump table to call C functions
handling the respective interrupt.
* Some optimizations to get user debugger support code out of the
interrupt handling path.
* Introduced a thread::flags fields which allows to skip handling of
rare events (signals, user debug enabling/disabling) on the
common interrupt handling path.
* Got rid of the explicit iframe stack. The iframes can still be
retrieved by iterating through the stack frames.
* Made the commpage an architecture independent feature. It's used for
the real time data stuff (instead of creating a separate area).
* The x86 CPU modules can now provide processor optimized versions for
common functions (currently memcpy() only). They are used in the
kernel and are provided to the userland via commpage entries.
* Introduced build system feature allowing easy use of C structure
member offsets in assembly code.

Changes after merging:
* Fixed merge conflict in src/system/kernel/arch/x86/arch_debug.cpp
(caused by refactoring and introduction of "call" debugger command).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23370 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 51a3c450 Tue Dec 13 09:34:29 MST 2005 Axel Dörfler <axeld@pinc-software.de> The short story: we now have MTRR support on Intel and AMD CPUs (the latter
has not yet been tested, though - I'll do this after this commit):
* Removed the arch_memory_type stuff from vm_area; since there are only 8 memory
ranges on x86, it's simply overkill. The MTRR code now remembers the area ID
and finds the MTRR that way (it could also iterate over the existing MTRRs).
* Introduced some post_modules() init functions.
* If the other x86 CPUs out there don't differ a lot, MTRR functionality might
be put back into the kernel.
* x86_write_msr() was broken, it wrote the 64 bit number with the 32 bit words
switched - it took me some time (and lots of #GPs) to figure that one out.
* Removed the macro read_ebp() and introduced a function x86_read_ebp()
(it's not really a time critical call).
* Followed the Intel docs on how to change MTRRs (symmetrically on all CPUs
with caches turned off).
* Asking for memory types will automatically change the requested length to
a power of two - note that BeOS seems to behave in the same, although that's
not really very clean.
* fixed MTRRs are ignored for now - we should make sure at least, though,
that they are identical on all CPUs (or turn them off, even though I'd
prefer the BIOS stuff to be uncacheable, which we don't enforce yet, though).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15528 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 147133b76cbb1603bdbff295505f5b830cb4e688 Tue May 25 15:34:08 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> * First run through the kernel's private parts to use phys_{addr,size}_t
where appropriate.
* Typedef'ed page_num_t to phys_addr_t and used it in more places in
vm_page.{h,cpp}.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36937 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70efb9ce4fd54db2ef76d95e9c2ff9ec2e Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34b3b26b3b8c46ba46ddde037b10dd173f4936d6 Thu Jan 10 17:36:44 MST 2008 Ingo Weinhold <ingo_weinhold@gmx.de> Merged branch haiku/branches/developer/bonefish/optimization revision
23139 into trunk, with roughly the following changes (for details svn
log the branch):
* The int 99 syscall handler is now fully in assembly.
* Added a sysenter/sysexit handler and use it on Pentiums that support
it (via commpage).
* Got rid of i386_handle_trap(). A bit of functionality was moved into
the assembly handler which now uses a jump table to call C functions
handling the respective interrupt.
* Some optimizations to get user debugger support code out of the
interrupt handling path.
* Introduced a thread::flags fields which allows to skip handling of
rare events (signals, user debug enabling/disabling) on the
common interrupt handling path.
* Got rid of the explicit iframe stack. The iframes can still be
retrieved by iterating through the stack frames.
* Made the commpage an architecture independent feature. It's used for
the real time data stuff (instead of creating a separate area).
* The x86 CPU modules can now provide processor optimized versions for
common functions (currently memcpy() only). They are used in the
kernel and are provided to the userland via commpage entries.
* Introduced build system feature allowing easy use of C structure
member offsets in assembly code.

Changes after merging:
* Fixed merge conflict in src/system/kernel/arch/x86/arch_debug.cpp
(caused by refactoring and introduction of "call" debugger command).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23370 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 51a3c450bebefa32a5636bc6078bdd648818da41 Tue Dec 13 09:34:29 MST 2005 Axel Dörfler <axeld@pinc-software.de> The short story: we now have MTRR support on Intel and AMD CPUs (the latter
has not yet been tested, though - I'll do this after this commit):
* Removed the arch_memory_type stuff from vm_area; since there are only 8 memory
ranges on x86, it's simply overkill. The MTRR code now remembers the area ID
and finds the MTRR that way (it could also iterate over the existing MTRRs).
* Introduced some post_modules() init functions.
* If the other x86 CPUs out there don't differ a lot, MTRR functionality might
be put back into the kernel.
* x86_write_msr() was broken, it wrote the 64 bit number with the 32 bit words
switched - it took me some time (and lots of #GPs) to figure that one out.
* Removed the macro read_ebp() and introduced a function x86_read_ebp()
(it's not really a time critical call).
* Followed the Intel docs on how to change MTRRs (symmetrically on all CPUs
with caches turned off).
* Asking for memory types will automatically change the requested length to
a power of two - note that BeOS seems to behave in the same, although that's
not really very clean.
* fixed MTRRs are ignored for now - we should make sure at least, though,
that they are identical on all CPUs (or turn them off, even though I'd
prefer the BIOS stuff to be uncacheable, which we don't enforce yet, though).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15528 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/headers/os/kernel/
H A DOS.hdiff b809279c Mon May 15 19:34:47 MDT 2023 Trung Nguyen <trungnt282910@gmail.com> kernel/team: Allow retrieving more attributes

- Stored the additional start time of each team, expressed by
milliseconds since boot.
- Added more fields to the `team_info` structure. These field
include those provided by the `get_extended_team_info` syscall as
well as the newly introduced `start_time`.
- Extended the `_kern_get_team_info` system call to receive an
additional `size_t` argument. If this size is smaller than or
equal to the size of the old `team_info` structure, the newly
added attributes will not be retrieved.

Change-Id: I22ee6b91ad2ee3b66a7f770036c79a718c5f115c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6390
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
diff 357b9d3c Sat Sep 05 09:34:30 MDT 2020 Jérôme Duval <jerome.duval@gmail.com> x86: identify Hygon vendor

it's a Zen-based CPU: rely on AMD support code.

Change-Id: Ia980a42457575bf8d1130d813310a285bf137691
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3217
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
diff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70 Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4d3680aa Sat May 10 15:34:51 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> Added timeout constant B_ABSOLUTE_REAL_TIME_TIMEOUT which specifies a
timeout relative to the Epoch.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25434 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34e92cad Thu Mar 17 15:35:00 MST 2005 Axel Dörfler <axeld@pinc-software.de> Added and implemented new system calls switch_sem() and switch_sem_etc(); even if
they are public now, they might become private later on.
It's almost the same as acquire_sem() but allows you to release another semaphore
atomically. This makes condvar implementations and the like very simple to do.
Added B_CHECK_PERMISSION flags to the user calls, although it's not honored yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11887 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34a48c70efb9ce4fd54db2ef76d95e9c2ff9ec2e Mon Dec 07 14:43:19 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function
is only really implemented for x86. For the other architectures
system_time() * 1000 is returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4d3680aaef2029eed55f82ba246bd224bf1f15c1 Sat May 10 15:34:51 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> Added timeout constant B_ABSOLUTE_REAL_TIME_TIMEOUT which specifies a
timeout relative to the Epoch.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25434 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 34e92cad76487b81bc77a7973f5595eabdc900d4 Thu Mar 17 15:35:00 MST 2005 Axel Dörfler <axeld@pinc-software.de> Added and implemented new system calls switch_sem() and switch_sem_etc(); even if
they are public now, they might become private later on.
It's almost the same as acquire_sem() but allows you to release another semaphore
atomically. This makes condvar implementations and the like very simple to do.
Added B_CHECK_PERMISSION flags to the user calls, although it's not honored yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11887 a95241bf-73f2-0310-859d-f6bbb57e9c96

Completed in 329 milliseconds