Commit Graph

6453 Commits

Author SHA1 Message Date
Rudolf Cornelissen
d401e5be78 added full 2D acc for NM2070
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 12:22:34 +00:00
Rudolf Cornelissen
ab3108351c added full 2D acc for NM2070
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 12:12:05 +00:00
beveloper
cdbdde8526 sample settings file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 21:05:09 +00:00
beveloper
41a7b4b866 Made receive and transmit buffer count configureable.
Made MTU configureable for net_server users.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 21:04:24 +00:00
beveloper
6edb980aab small debugging output cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 21:02:36 +00:00
beveloper
38f6c508a9 Revisited the mtu handling. Poor net_server users can now force a lower
MTU by using a setting file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 18:05:38 +00:00
beveloper
87042aadbe made mtu configureable and lowered default to 1500
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 17:32:32 +00:00
beveloper
a236b9c6a1 removed event_restart_tx, as this is already handled in the device write hook
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 17:30:46 +00:00
Axel Dörfler
0865e4b204 Added syscall for rename_thread(), courtesy of Jack Burton.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 12:12:58 +00:00
Stefano Ceccherini
9b167d37f1 Added a TODO item
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 09:06:20 +00:00
Axel Dörfler
df88c4db24 Added missing newline.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 01:36:53 +00:00
Niels Sascha Reedijk
30b76b5b16 Start cleaning up driver by splitting the file and put the registers
somewhere else


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-22 18:31:21 +00:00
Stefano Ceccherini
389b7216d6 Fixed "team" debugger command (should be the last one)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-21 10:17:08 +00:00
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
Axel Dörfler
cdacbf022a elf_load_image() always returned B_OK instead of the real status.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 18:57:12 +00:00
Axel Dörfler
bf67cc9591 Now uses the correct heap to allocate the image path name (kernel_args).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 16:49:23 +00:00
Axel Dörfler
e883af3cda Since we use the same includes as the real system, we now export _fstat()
with 3 arguments instead of fstat().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 16:48:33 +00:00
Axel Dörfler
007c81ec98 Added kernel_args_strdup() function as a strdup() replacement.
Added a ToDo comment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 16:47:06 +00:00
Axel Dörfler
f4c303c472 Fixed some warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:56:48 +00:00
Axel Dörfler
0204c9a360 Added device manager to the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:49:38 +00:00
Axel Dörfler
d93e356b51 Changed the "stat" related syscalls to have an additional parameter that specified
the size of the stat structure to allow extensions of that structure.
Renamed those syscalls to the new naming scheme.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:36:05 +00:00
Axel Dörfler
c396c39fc5 Changed the "stat" related syscalls to have an additional parameter that specified
the size of the stat structure to allow extensions of that structure.
Renamed those syscalls to the new naming scheme.
Updated the syscalls to support stat extensions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:33:17 +00:00
Axel Dörfler
7a7c7d9c2f Added current device manager built-in modules - the device manager itself will
probably be available as public kernel API as well (or rather, only).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 13:29:47 +00:00
Axel Dörfler
9bd10a87c7 The device manager is now initialized as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 13:28:21 +00:00
Axel Dörfler
8d1b721ad5 Added device_manager to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 13:27:20 +00:00
Axel Dörfler
6aed83b39c Removed all references of pnp_bus.h (its contents are now temporarily included
in device_manager.h).
Fixed some comments.
Removed realpath() from probe.c for now - mechanism will be changed, and that
prevented it from being built as part of the kernel; it's currently not functional.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 13:26:42 +00:00
Phil Greenway
a94fb8e252 SF's CVS screwed up and forgot to add these updated files by Michael Berg.
Sorry for any inconvenience this has caused.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 08:30:52 +00:00
Axel Dörfler
38fdd0ca47 node_lock variable was replaced by gNodeLock (in nodes.c).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 00:25:43 +00:00
Axel Dörfler
b36321870c Renamed some global static variables to match our style guide.
Changed some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 00:09:21 +00:00
Axel Dörfler
1792829685 Fixed prefix handling; previous version was broken. It now allows the prefix to
be any size, not just full path names (even without the file name...). Optimized
it to only traverse paths that match the prefix.
The built-in modules now honor the prefix as well.
Renamed module_iterator::path_stack to stack.
The system add-on path was even wrong (but that didn't matter yet, as we're
still do a recursive search for modules).
The user add-on path now matches the real one - but that should probably be
retrieved from calling find_directory(), anyway...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 00:02:20 +00:00
beveloper
3d546cd6e5 Replaced spin() by snooze()
The link change functions are no longer called from inside the interrupt handler.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 22:06:32 +00:00
beveloper
a05655eea6 Event thread sem can now be interrupted.
em_start() is no longer called from within interrupt.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 21:20:56 +00:00
beveloper
ec3efcdcac don't exit timer loop on B_INTERRUPTED
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 21:01:14 +00:00
beveloper
6000570ec3 debug code cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 20:50:20 +00:00
beveloper
9b4b9246a3 replaced printf by dprintf
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 20:28:44 +00:00
beveloper
9924627a70 implemented timers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 20:27:54 +00:00
beveloper
89739e8c0a Added ASSERT() macro to debug.h
Cleanup of printf calls.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 20:22:28 +00:00
Philippe Houdoin
0b2d0f8217 Ooops, damn code templates!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 19:42:10 +00:00
beveloper
0ec64b89a9 Added a new timer function which can be used similar to the BeOS kernel add_timer function.
The difference is that these callback functions will be executed in thread (not interrupt) context,
and that they shouldn't crash (as add_timer does).
Integrated the timer funtions into the timeout() and untimeout() FreeBSD emulation framework.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 18:58:17 +00:00
beveloper
25993bbe98 removed polling support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 18:19:59 +00:00
beveloper
8012ca94e6 delay execution of em_82547_move_tail for 100 usec to compensate higher timeout resolution (might still be too small)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 18:04:36 +00:00
beveloper
5ace57d860 event_sem now also belongs to the kernel team
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 17:53:26 +00:00
beveloper
07903653ee removed all em%d from dprintf output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 17:39:43 +00:00
beveloper
014c3fc0c3 Cleanup of event handling.
Disable debugging.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 17:29:39 +00:00
beveloper
b35683ab0c Added printing of link status.
Removed a few warnings.
Small cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 16:54:49 +00:00
beveloper
eefe75f24b Added license. Please be aware that previous versions without license were not free, as they were copyrighted.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 16:04:04 +00:00
beveloper
77eda14527 Split the mempool spinlock into two.
Added a ROUNDUP() macro.
Moved area_malloc/free into util.c.
Added missing license.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 15:20:10 +00:00
Axel Dörfler
0a4a7dee30 open_module_list()/read_next_module_name() now take built-in modules into account as well.
The prefix will obviously ignored currently!
Fixed get_next_loaded_module_name(); it will now work correctly (doesn't check, though,
if the module is currently loaded...).
Removed the module_test() function - doesn't belong here.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 00:41:19 +00:00
Axel Dörfler
31db113eb8 pci_info.cpp now expects pcihdr.h to be part of the Devices preferences app.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 18:53:05 +00:00
Axel Dörfler
136b2d209a pcihdr.h is no longer in private/kernel, as it is only really needed by
the Devices preferences application.
Removed the now unneeded include path from the Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 18:43:54 +00:00
Axel Dörfler
72a2590171 Added missing newline.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 18:41:55 +00:00