Commit Graph

951 Commits

Author SHA1 Message Date
Adi Oanca
3bbe920498 Added some new messages that are needed by BView
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:20:51 +00:00
Adi Oanca
445114208c Header file for the new communication class: BSession - it will replace PortLink
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:20:07 +00:00
Adi Oanca
b95458fd6c modified some methods names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:18:20 +00:00
Waldemar Kornewald
345d3d7d0b Fixed a spelling error.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 16:05:23 +00:00
beveloper
d91580cd9a removed/fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 02:18:11 +00:00
beveloper
188b5de0bf renamed atomic_read() into atomic_get() (since we already have atomic_set(), but not a atomic_write())
renamed user_??? functions into the new _user_??? naming style.
changed implementation of PPC 64 bit atomic functions to use (un)lock_memory()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 01:21:56 +00:00
ejakowatz
0784fd8bde Fixed bugs in (un)flattening code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 22:32:22 +00:00
beveloper
3c839f3f7b fixed description
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 01:22:44 +00:00
beveloper
ad159f4343 cleaned up meaning of first constructor parameter
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 00:54:54 +00:00
beveloper
2fc06b8774 Replaced the broken BBlockCache implementation.
According to the BeBook, it is NOT allowed to allocate one large
pool, instead the memory blocks must be allocated individually.
To achieve O(1) for both Save() and Get() function, only one list
of free blocks is maintained.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 00:27:08 +00:00
Ingo Weinhold
66abd4d0a6 Fixed a few warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 21:36:38 +00:00
ejakowatz
19cdc4570f How the glaring fubar in MessagePrivate.h got past me is a mystery.
Nonetheless, here is new BMessenger-related goodness to smooth is all out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 23:33:02 +00:00
ejakowatz
e9e500cb9e Minor tweak to BHandler::UnlockLooper()
Added calls to _init_message_(), _delete_message_(), and
_msg_cache_cleanup() to InitTerminateLibBe.cpp
Finished first implementation of BMessage::SendReply(), BMessage::_send_(),
and BMessage::_send_message()
Add BMessage to app.src, removed BBlockCache from support.src.
New BMessage::Private class has functions for twiddling BMessage internals


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 07:55:52 +00:00
Axel Dörfler
6f82bba82a Adds our own, shiny, and almost BeOS compatible parsedate.h header (but not
in the Posix dir).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 18:25:11 +00:00
Stefano Ceccherini
e6404469ad added offsect_rect, fixed a spelling error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-22 09:12:56 +00:00
beveloper
5fe840b9b5 fixed address checking in ppc atomic functions.
fixed compilation on x86.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 23:36:06 +00:00
beveloper
50e0ce4bee Implemented new syscalls for 32 and 64 bit atomic operations.
They are only used if the architecture doesn't support them directly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 23:02:00 +00:00
Axel Dörfler
f236d16605 Removed the vm_get_region_info() call and the vm_region_info structure -
they are now replaced by get_area_info() and the area_info structure.
get_area_info() still misses some pieces, though.
Added all missing VM user/kernel syscalls.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 15:47:52 +00:00
beveloper
40ac5c5195 cvs server: Up-to-date check failed for `src/kernel/core/vm/vm.c'
cvs [server aborted]: correct above errors first!
cvs commit: saving log message in /tmp/cvsFPtfaj


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:48:15 +00:00
beveloper
867695ddb7 architecture specific CPU things, like defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:29:36 +00:00
beveloper
3cbce96a24 removed no longer used include file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:26:30 +00:00
Axel Dörfler
d4055614a4 Made the "name" argument const for create_area_etc() and vm_map_physical_memory().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:10:14 +00:00
Axel Dörfler
39ce1ac62d Didn't know B_SLOWMEM - bumped B_ALREADY_WIRED one further.
Fixed the now broken LOCK_KERNEL definition.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:09:28 +00:00
beveloper
d3e72fa555 added missing 32 bit atomic functions,
and added all their 64bit counterparts.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:08:13 +00:00
Axel Dörfler
f8a4dcfa28 Forgot about B_ANY_KERNEL_BLOCK_ADDRESS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 22:29:51 +00:00
Axel Dörfler
425b6cdf15 Added the new kernel private delete_area_etc() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 17:22:47 +00:00
Axel Dörfler
5d4b10645c Adds some private kernel extensions to the BeOS VM/API: things like
B_EXACT_KERNEL_ADDRESS, B_KERNEL_READ_AREA, ...
They are preliminary defined here.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:14:26 +00:00
Axel Dörfler
640d0ba831 Replaced old create/delete area syscalls with the new ones, added
new kernel private create_area_etc() call.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:11:58 +00:00
Axel Dörfler
50ba6835f7 Replaced old create/delete area syscalls with the new ones.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:10:35 +00:00
Axel Dörfler
9970840118 Renamed syscall definitions for the create/delete area calls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:07:40 +00:00
shatty
edb76b96d2 new posix/beos compatible version in public posix/ctype.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-16 07:13:59 +00:00
shatty
b394ba7f2a new posix/beos compatible version in public posix/ctype.h, also added isblank prototype
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-16 07:13:55 +00:00
shatty
77c4490299 for compatibility with beos r5 and gcc configuration, uncomment strsignal
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-15 09:03:54 +00:00
Niels Sascha Reedijk
1501c2bf3e This is just an outline of the USB stack: what it is going to look like. It is definately not
ready for testing. Also the documentation is far from complete (it's in it's early phases).
Unfortunately I don't have enough experience in hardware programming to prototype
it first, so I'll be testing the things that I design in the document.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-12 20:36:24 +00:00
Philippe Houdoin
e8d1b6e166 Moved back from headers/posix/sys from here, where they belong.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-11 22:50:27 +00:00
Philippe Houdoin
549b25ed0a Remove non-posix headers files, moved back to headers/private/net where they belong for
the moment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-11 22:48:36 +00:00
shadow303
17e6de7a37 gcc 3 fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-04 00:46:53 +00:00
Ingo Weinhold
8d91b8087d Improved the interaction between job queue and manager. Partitions should now be mark busy correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:39:12 +00:00
Ingo Weinhold
f31cbc2db6 Added SetTo() methods to the AutoLocker.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:28:11 +00:00
Ingo Weinhold
cc6edbdf8f * Added VisitEachDescendant().
* Added {Add,Clear}Flags() which are more comfortable than SetFlags() in
  most cases.
* On construction the `busy' and `descendant busy' flags are set.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:27:33 +00:00
Ingo Weinhold
7e4c7d4350 Added KPartitionVisitor class used for advanced partition tree traversal.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:23:53 +00:00
shatty
5506f765ae removed #include <OS.h>
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:52:30 +00:00
shatty
80a9c4f4c3 include OS.h directly from fs_interface.h in prep for removal from sys/stat.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:33:05 +00:00
shatty
3a79ea54e8 more posix compatibility in stdint.h prevents build problems in jpeg2000translator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:00:01 +00:00
shatty
220ac08aa6 gnu free rewrite of stddef.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 07:47:24 +00:00
shatty
71f8d587d2 removed unnecessary #include <OS.h>
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 07:34:06 +00:00
shatty
48103d3411 changed to use stdint and intX_t types
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 06:24:37 +00:00
shatty
4a53d0ba81 reduce dependence on ByteOrder.h by removing B_HOST_IS_BENDIAN and using BYTE_ORDER instead
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 06:03:20 +00:00
shatty
b5dc136f9a remove OS.h since it is already included through socketvar.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 06:02:20 +00:00
shatty
e704a20367 posix files get posix types
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 05:12:35 +00:00