DarkWyrm
a3bd1e1ca5
Added class for requesting shared client-server memory
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-09 18:13:33 +00:00
Stefano Ceccherini
a87bf00703
Bare minimum stuff to have BPopupmenu working with our own BMenu
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-09 08:50:17 +00:00
Axel Dörfler
b492de88e3
I've already switched the page pointer to vm_cache, so this comment was
...
not necessary anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 23:27:04 +00:00
Axel Dörfler
adf3b19660
resize_area() must unmap the area beyond the new size, if the area has shrinked.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 23:19:33 +00:00
Axel Dörfler
ed3d2e92e8
Added tests for vm_copy_area() and resize_area().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 23:12:55 +00:00
Axel Dörfler
ad07c81011
vm_cache_resize() now requires you to have the vm_cache_ref lock held.
...
This actually reflects the only usage of this function anyway, and thus,
fixes the resize_area() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 23:11:50 +00:00
Axel Dörfler
f774bf16ea
Implemented vm_copy_area(), mainly a support function for fork().
...
vm_page no longer keeps a pointer to the vm_cache_ref but to the vm_cache.
This cleans the page handling when having to make an area copy-on-write;
regions belong to vm_cache_ref, pages to vm_cache.
Fixed some return types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 22:56:51 +00:00
Axel Dörfler
a2ff38d818
vm_page no longer keeps a pointer to the vm_cache_ref but to the vm_cache.
...
This cleans the page handling when having to make an area copy-on-write;
regions belong to vm_cache_ref, pages to vm_cache.
Added prototype for new call vm_copy_area().
Fixed some return types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 22:54:42 +00:00
DarkWyrm
da0209e2e4
Some fixes and tweaks by Kevin Field
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 22:36:54 +00:00
Rudolf Cornelissen
e9a30e453e
modified type2 RAMsetup to use PCI instead of ISA access. Works. (I hope.)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 19:58:25 +00:00
Axel Dörfler
c77c1efff5
Removed the broken vm_resize_region() and implemented it properly in resize_area(),
...
some ToDo-items are left.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 15:16:29 +00:00
Axel Dörfler
d0f673c8e2
Implemented vm_cache_resize(): it removes all pages outside the current bounds.
...
It currently checks for temporary caches, but it should really only be used
with regions for anonymous memory.
Fixed some return types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 15:10:50 +00:00
Axel Dörfler
1d60efac72
Added a prototype for vm_cache_resize().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 15:07:57 +00:00
Axel Dörfler
301a2f29ba
B_EXACT_KERNEL_ADDRESS doesn't make any sense.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 13:30:04 +00:00
Axel Dörfler
6978315d3a
B_EXACT_KERNEL_ADDRESS doesn't really make a lot of sense.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 01:16:54 +00:00
Axel Dörfler
da504d877d
Removed team::_aspace_id since it already has a direct pointer to it.
...
Changed the way a vm_address_space is deleted: instead of having to explicitly
call vm_delete_aspace(), the last vm_put_aspace() will remove it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 17:17:04 +00:00
Axel Dörfler
1a705b91b7
Removed team::_aspace_id since it already has a direct pointer to it.
...
Changed the way a vm_address_space is deleted: instead of having to explicitly
call vm_delete_aspace(), the last vm_put_aspace() will remove it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 17:11:54 +00:00
Axel Dörfler
894e120a01
Moved everything from vm.c belonging to vm_address_space into a separate file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 16:15:49 +00:00
Jérôme Duval
90c2fee933
Fixed events filtering
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 16:03:36 +00:00
Axel Dörfler
d82bfbadd6
Small test app for the execl() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:39:37 +00:00
Axel Dörfler
acfca1a3f5
We now have a working exec_team() function (the backend of the exec() function family)!
...
Should be tested and verified more intensively, though.
Moved the creation, initialization, and deletion of the team_arg structure out of
team_create_team(); it's now also used by exec_team().
Renamed kfree_strings_array() to free_strings_array().
Renamed the fields of the team_arg structure to be more in sync with the names used
at other places.
Fixed the routine that copied the environment/arguments into the userland space.
Improved and fixed the user_copy_strings_array() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:34:17 +00:00
Jérôme Duval
2895720c82
init the button state
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:16:02 +00:00
Axel Dörfler
5ad2b8edae
Added exec() support function vm_delete_areas(); factored that code out
...
of vm_delete_aspace() (which now calls it).
Fixed some return types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:15:08 +00:00
Jérôme Duval
2ba29ed514
R5 needs a 3 buttons map only
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:14:29 +00:00
Axel Dörfler
b1018b0dca
Added exec() support function vm_delete_areas().
...
Fixed some return types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:08:00 +00:00
Jérôme Duval
10996598fa
moved cbuf_adapter.h from ps2mouse directory
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:03:59 +00:00
Jérôme Duval
18a632f492
added a R5 driver build
...
moved cbuf_adapter.h to private input headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:02:54 +00:00
Jérôme Duval
a4e8629adf
Added R5 driver build, package inclusion is commented for now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:00:16 +00:00
Axel Dörfler
5c41c39314
Implemented exec() support function vfs_exec_io_context() which closes all
...
file descriptors that have O_CLOEXEC set.
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 14:47:58 +00:00
Axel Dörfler
76dede71c7
Added exec() support function vfs_exec_io_context().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 14:46:32 +00:00
Axel Dörfler
3a459a1998
The internally used copy_arguments() accidently left out the first argument.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 14:42:25 +00:00
Jérôme Duval
2f54a688b0
added keymaps info
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 14:22:08 +00:00
Jérôme Duval
3b68aa7eb1
added keymap and keymaps to the input package
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 14:16:28 +00:00
Jérôme Duval
6336159bbb
Added package files inspired from ../mail (aka the mail daemon)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 13:59:12 +00:00
Rudolf Cornelissen
ab3a9652a0
updated coldstart stuff once more. Fixed RAM amount detection/setup when cards are used as primary cards executing coldstart, still needs to be fixed when cards run as secondary card. NV28 is the only card not yet operational over here: probably needs different RAM setup somehow.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 13:58:35 +00:00
Jérôme Duval
6f1fb05e1f
Added a haiku-inputkit-cvs package
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 09:45:36 +00:00
Rudolf Cornelissen
5bff191a01
trying to convert nv10+ RAM setup cmd from ISA to PCI access, also pre-NV10 converted (still untested).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 09:12:11 +00:00
Jérôme Duval
d3e72bf66a
added an input kit target
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 08:35:51 +00:00
Michael Pfeiffer
3239999b76
Added PDFlib lite 5.0.3 which is required to build the PDF printer driver.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 18:48:01 +00:00
Michael Pfeiffer
ffe881b8a5
Added PDFlib lite 5.0.3 which is required to build the PDF printer driver.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 17:51:27 +00:00
Michael Pfeiffer
9f61371bd2
Added PDFlib lite 5.0.3 which is required to build the PDF printer driver.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 17:16:52 +00:00
Michael Pfeiffer
b86ab0a9dd
Added PDFlib lite 5.0.3 which is required to build the PDF printer driver.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 17:10:36 +00:00
Michael Pfeiffer
3666645ab4
Added PDFlib lite 5.0.3
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 17:01:21 +00:00
Jérôme Duval
0a279d91af
changed signature to original, needed for compatibility
...
change AddOnManager deletion
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 13:49:45 +00:00
Jérôme Duval
abc3b04ccf
implemented BInputServerFilter::GetScreenRegion. Tested with R5 screen_saver filter successfully.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 09:28:36 +00:00
Axel Dörfler
e4155d6ff9
When $PATH has not yet been set, the bash will now set the BeOS standard path.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 02:21:07 +00:00
Axel Dörfler
2f49ba7d28
Removed strnicmp.o from librld.a, also removed some string functions that
...
shouldn't be used in anything that we control (like strncpy()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 01:14:05 +00:00
Axel Dörfler
44fbee8356
We already have strncasecmp(), and we don't need strnicmp().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 00:36:17 +00:00
Axel Dörfler
3451283511
Minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 00:14:41 +00:00
Jérôme Duval
01a9b4267c
change debug macro
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:44:07 +00:00