Commit Graph

6390 Commits

Author SHA1 Message Date
Axel Dörfler
fdaf57f5a5 Always wrote fRealViewSize blocks; didn't use the correct calculated size...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-20 19:14:09 +00:00
shadow303
43404a847e Rename clippReg to clipReg
Implement drawing and clipping for display driver - drawing and clipping should work including pensizes.  Drawmodes, line caps, and line joins aren't supported yet.  Some implementations will need to be revamped.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-20 01:31:28 +00:00
Axel Dörfler
ce986d0759 Renamed the build target of the kernel's test "ls" app (to separate it from
coreutil's ls).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 15:21:29 +00:00
Axel Dörfler
8c60a23b16 addr_t is now defined in public headers.
Fixed missing initialization from fBitPosition which could result in strange
input in the hex mode (only at first try).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 13:44:45 +00:00
Waldemar Kornewald
13013331d0 Added *many* Doxygen comments. More will follow. Documentation is no fun at all, really.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:56:43 +00:00
Jérôme Duval
36995be7f5 removed unused rsrc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:25:22 +00:00
Jérôme Duval
dcfb6bfcd5 Constructor for BMediaRosterEx
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:04:01 +00:00
Jérôme Duval
ece05aef60 Implemented launch_media_server and shutdown_media_server. This code is only used when Media is linked first against libmedia.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:03:13 +00:00
Stefano Ceccherini
c5e0e48352 Remove unused files. This should fix the build of the preflet (as it was including the local ScreenSaver.h instead of the system one)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 08:16:01 +00:00
Philippe Houdoin
9f1208bd84 Stop assuming we build on a BONE system, start linking agaisnt *our* libsocket.so
& libbind.so librairies.
Should unbroke the NetworkingKit target.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 06:15:48 +00:00
Philippe Houdoin
81f5654c12 Stop assuming we build on a BONE system, start linking agaisnt our *own* libbind.so!
:-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 06:13:10 +00:00
Axel Dörfler
88cfa4fb99 Applied Jack Burton's patch to fix the boot problems on many systems:
find_real_mem_size must not be called with interrupts turned off.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-18 10:27:28 +00:00
Axel Dörfler
adbaa7817e It's now B_MAX_CPU_COUNT rather than SMP_MAX_CPUS.
Removed unused headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-18 09:42:13 +00:00
Axel Dörfler
f9ba8a1b61 Last patch was broken, thanks to Jack Burton for notifying me.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-17 10:01:17 +00:00
Adi Oanca
e81b5ee3a8 window resizing support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:27:59 +00:00
Adi Oanca
d312bebc4c a little member we need for resizing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:26:28 +00:00
Adi Oanca
31776f9842 resize support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:24:18 +00:00
Adi Oanca
385e94dbf4 modified a little how the _full region is built for the top_layer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:21:51 +00:00
Adi Oanca
37811ae65e little fix for the cursor to be displayed better
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:19:45 +00:00
Adi Oanca
766a6dfd11 modified resize methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:17:34 +00:00
Adi Oanca
56f043ed2d modified Resize methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:15:36 +00:00
Adi Oanca
d7113e23eb modified Resize methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:07:12 +00:00
Axel Dörfler
70cdc7af60 If you call get_fd_and_vnode() you need to free it with put_fd(), not
put_vnode() - thanks to Ingo for pointing this out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 11:55:42 +00:00
beveloper
95a7b7a045 cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 00:45:36 +00:00
beveloper
9bdea9ec06 added profiling code, can be enabled in debug.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 00:41:22 +00:00
beveloper
4e729ddc16 small cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 23:54:19 +00:00
beveloper
889fc773aa added ASSERT macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 23:43:56 +00:00
beveloper
f08af63703 Added timer support, taken from the ipro1000 driver.
We really should have support for a similar functionality in the new kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 23:42:14 +00:00
DarkWyrm
b56e4e6565 Investigated and resolved a TODO item concerning bar color in Archive()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 17:29:11 +00:00
DarkWyrm
8c15126aec Replaced header with standard one
Investigated Axel's TODO concerning SetBorderHighlighted and converted the #if 0 to a regular C-style comment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 17:19:30 +00:00
DarkWyrm
d89ead3dfb Removed commented-out int8 hack
Tested undocumented functions and removed Erik's TODO items


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 17:08:38 +00:00
DarkWyrm
d017588386 Added sound
Crash to debugger if given an invalid screen in AlertPosition


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 16:46:31 +00:00
DarkWyrm
76441bab6e Add header
Minor tweaks to BClipboard


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 16:23:58 +00:00
Philippe Houdoin
a4877eb973 Comment fix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 22:23:36 +00:00
Philippe Houdoin
a2e78b2000 Fix warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 22:20:33 +00:00
Philippe Houdoin
31dca902f0 libnetapi.so is now again linked against libnet.so to be R5 binary compatible.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 21:55:40 +00:00
Philippe Houdoin
de70e9408a Okay, defining a __P() macro just for few usage was being lazy!...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 21:11:07 +00:00
Philippe Houdoin
f81d740a6e Seems BSDish __P() and __CONCAT() macros was expected here but without any
explicit include of sys/cdefs.h.
Now (re?)defined there, to keep non-POSIX public headers requirement level low.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 21:08:09 +00:00
Philippe Houdoin
faff14df52 Now link against *our* libsocket.so & libbind.so instead of a
wrongly assumed BONE build system ones!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 20:12:38 +00:00
Axel Dörfler
20b8926754 The -imacro header inclusion is no longer necessary, and also seems to have
been removed in more current GCC releases; thanks to Jack Burton for pointing
this out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 15:28:49 +00:00
mahlzeit
78a088fe02 Added Christian Packmann's code for parsing raw MIDI streams.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 14:47:55 +00:00
Jérôme Duval
450a95230e Should fix the build of sharutils (NLS is still off ...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 08:57:02 +00:00
mahlzeit
f9b2179cb2 Instruments (patches) are now correctly recognized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 07:46:19 +00:00
mahlzeit
b178e1905b Implemented BMidiSynthFile.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 19:54:00 +00:00
Axel Dörfler
0b8a2c94ce Introduced sUsedPorts/sUsedSems variables that can make it more efficient
to deny further port/sem allocation (and also simplifies port/sem stats).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 19:35:49 +00:00
mahlzeit
5de1932a25 Fixed warnings of the geekgadgets compiler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 18:16:06 +00:00
mahlzeit
d1c8cf1d2f Hey Axel, I changed it to use a BPath ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 17:32:42 +00:00
mahlzeit
b6909aeaba Path to default instruments file wasn't calculated properly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 17:06:06 +00:00
mahlzeit
fbaf754a21 Implemented the softsynth support classes and a skeleton for
the synth itself.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 16:46:06 +00:00
Jérôme Duval
83a19c8e57 removed atexit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 15:52:14 +00:00
mahlzeit
3e60d395a7 Put private classes in the BPrivate namespace.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 10:55:51 +00:00
mahlzeit
32ed9cc8c6 The glue classes are now in namespace BPrivate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 10:37:14 +00:00
Jérôme Duval
3c9ac32841 Added a static library libunzip.a to reduce repeated lines. Hope it builds :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 10:18:25 +00:00
mahlzeit
9138338c72 Fixed warnings on geekgadgets compiler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 09:44:22 +00:00
mahlzeit
456cec68d1 If a be_synth already existed, the BSynth constructor should
delete it first.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 09:18:38 +00:00
Jérôme Duval
11317581fe added a newline
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 09:00:16 +00:00
Jérôme Duval
fc88a55e7a Added coreutils (should build soon)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 08:55:11 +00:00
Jérôme Duval
52c76a73b1 Added missing files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 08:50:32 +00:00
Jérôme Duval
5db7538856 Fix the config
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 08:48:58 +00:00
Jérôme Duval
3ac41feb00 Link with our libmedia.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 08:46:29 +00:00
Jérôme Duval
6599482f1f use a variable now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 08:45:46 +00:00
Jérôme Duval
54ee0f7256 Removed config.h, use the one in parent folder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 08:43:46 +00:00
Jérôme Duval
892eb12372 Fix the config
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 08:34:58 +00:00
Jérôme Duval
3a47295d37 Link with our libmedia.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 08:22:03 +00:00
Philippe Houdoin
3d046cd292 Unbreak LPR & IPP print transport addons.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 00:16:57 +00:00
Philippe Houdoin
6d55406426 Was assuming sys/cdefs.h included by inet.h, which is not (anymore).
Added ISC arpa/nameser.h private header instead of sys/cdefs.h to follow others
source modules include pattern.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 00:01:39 +00:00
Philippe Houdoin
995e1b177a gethostname() is located in libnet.so on R5 & BONE *and* our own stack too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 23:21:51 +00:00
Philippe Houdoin
e7ccdfbc85 libroot.so export atexit().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 22:45:27 +00:00
Jérôme Duval
c9d3419d67 Should not be here
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 15:51:36 +00:00
Jérôme Duval
57570d6cf4 Added a static library librcs.a to reduce repeated lines. Hope it builds :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 15:31:48 +00:00
Jérôme Duval
afea5244e2 Should not be here
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 15:29:49 +00:00
DarkWyrm
bcb8907775 I'm baaaaaack! :P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 10:55:47 +00:00
Jérôme Duval
e82990a204 Added package for emuxki
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 08:55:45 +00:00
Jérôme Duval
2a479225b5 Added tar
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 08:39:40 +00:00
Jérôme Duval
a616b95805 Added Gnu Tar 1.13.94, stripped unused files
Reversed lines 295/296 of src/buffer.c to have options z and j working
This last bug means this version maybe will need to be updated for R1


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 08:38:22 +00:00
Jérôme Duval
6738df6060 Added a static library libzip.a to reduce repeated lines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 08:24:55 +00:00
Stefano Ceccherini
55bd207b20 Added a test for the bug found by Pahtz, and fixed the bug. Simplified a bit the code in BRegion::Support::RSub()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 06:37:18 +00:00
Axel Dörfler
78ab9987c3 Modules out of preloaded images will now be registered and can be used
like any other module (yeeha!).
You can even unload preloaded images later on (to replace them with a
more up-to-date on disk version).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 23:44:58 +00:00
Axel Dörfler
8590e919fc Now maintains the new preloaded_image::id field.
If an image cannot be created out of a preloaded_image, its resources
are freed now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 23:43:30 +00:00
Axel Dörfler
d00edc2f92 Bye, bye elf_lookup_symbol(), hello get_image_symbol().
Also renamed elf_load_kspace() to load_kernel_add_on(), and friends.
The new unload_kernel_add_on() now has an image_id as parameter, no longer
a path (like the former elf_unload_kspace()).
Now requires a driver to export the api_version symbol.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 19:53:37 +00:00
Axel Dörfler
b918b5035f Bye, bye elf_lookup_symbol(), hello get_image_symbol().
Also renamed elf_load_kspace() to load_kernel_add_on(), and friends.
The new unload_kernel_add_on() now has an image_id as parameter, no longer
a path (like the former elf_unload_kspace()).
Fixed missign file system unload.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 19:52:38 +00:00
Axel Dörfler
81c323a767 unregister_elf_image() didn't call unregister_image(), so images never got
unregistered.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 17:30:18 +00:00
Axel Dörfler
d14f9aac93 Cleanup to better match our coding style guide; renamed variables, etc..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 17:29:19 +00:00
Axel Dörfler
7e323e80d6 Kernel images are now registered, so the ToDo item is fulfilled.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 17:27:59 +00:00
Axel Dörfler
a364fba7d4 Is now using a hash for the images instead of a singly linked list.
Now registers its images as it should do (so you can use commands like
listimage in userland).
Added new debugger command "image".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 17:18:02 +00:00
Axel Dörfler
11a5baaf67 Updated the private kernel image API to be more efficient (no longer needs
to acquire the team spinlock).
Renamed the user syscalls to the new style.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 15:04:36 +00:00
Axel Dörfler
fd1f6b7f01 Fixed a bug in elf_load_kspace(): the image structure and the pheaders were
freed in the wrong order in case of an error (could have crashed the kernel).
Implemented insert_preloaded_images() which prepares the preloaded images
for later use in the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 14:22:00 +00:00
Axel Dörfler
dc4eb9db8d Removed unneeded code, updated comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 14:20:14 +00:00
Axel Dörfler
797647691a elf_region already had a field to store an area_id; we now use this one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 13:54:13 +00:00
Axel Dörfler
ff76eb5cde Boot loader BFS now has symbolic link support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 12:16:26 +00:00
Axel Dörfler
450843b48f New "symlink" command which can create a symbolic link on the file system.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 02:04:38 +00:00
Axel Dörfler
73b10c8f1e Adapted the fstat/_fstat work-around to like the user boot loader build as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 01:07:54 +00:00
Axel Dörfler
259fd3cdfb open_from() now also supports absolute paths, in which case it will ignore
the passed in directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 00:26:22 +00:00
Axel Dörfler
429fb127d3 Fixes the build until we have this _fstat()/fstat() thing worked out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 23:04:52 +00:00
Rudolf Cornelissen
1208ac278f new modelist setup: added 16:10 aspect VESA GTF modes if WS panel found
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 22:30:46 +00:00
Rudolf Cornelissen
c9210b6f8e new modelist setup: added 16:10 aspect VESA GTF modes if WS panel found
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 22:25:36 +00:00
Niels Sascha Reedijk
746ef8017d Unbork the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 19:52:45 +00:00
Axel Dörfler
1f4fa35b00 Now creates text/data areas for all preloaded images.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 19:02:41 +00:00
Axel Dörfler
d15df01c72 load_modules() now actually load modules; it doesn't just print out their name any longer.
Now scans "/boot/home/config/add-ons/kernel/boot" as well as "/boot/beos/system/add-ons/kernel/boot".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 19:00:05 +00:00
Axel Dörfler
38f5c6bbc4 Corrected elf_load_image() prototype; it requires an object of the Directory
class as first argument.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 18:57:58 +00:00