Commit Graph

19112 Commits

Author SHA1 Message Date
Marcus Overhagen
9e8dd0a713 added PCI express capability
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-22 17:46:44 +00:00
Ingo Weinhold
49bf073e13 Clarified reading order for non-BeOS platforms.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-22 17:23:06 +00:00
Ingo Weinhold
9756b9b4f0 A jam invocation without given target (or the "all" target) in the output
directory, the build system root directory, or the "src" directory is
now using the "haiku-image" target instead. The variable
HAIKU_ORIGINAL_JAM_TARGETS is set to the original JAM_TARGETS value, so
that a UserBuildConfig can base its decisions on it.
The feature is only available with Haiku's jam version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-22 00:59:28 +00:00
Jérôme Duval
df6c6990ed this fix provided in tzcode2007a is wrong, as noticed by BGA
symlinks are now correct on BeOS


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 20:16:44 +00:00
Ingo Weinhold
eedc3d0be0 Since configuring an unsuitable cross-compiler has become a FAQ lately,
we do now check whether the target the compiler has been configured for
looks compatible.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 14:08:08 +00:00
Axel Dörfler
cf2aeb201f * Implemented BDragger::{Show|Hide}AllDraggers() and its backend in the app_server.
This fixes bug #242. The value is currently stored in a separate file.
* Removed some unused codes from ServerProtocol.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 07:57:21 +00:00
Ingo Weinhold
72d71bc8dc Aligned Query.h/cpp with the BFS (Haiku) versions r20186. Updated Stack.h
to <util/Stack.h>.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 21:30:27 +00:00
Jérôme Duval
301d9851fe fix change in revision 20162, the path was left out
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 20:27:23 +00:00
Jérôme Duval
655fd21ca8 changed the lang to C as suggested by mmu_man
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 18:53:19 +00:00
Ingo Weinhold
e485fc0347 If a mount request failed (e.g. due to failed authentication) the respective
not-yet-mounted ClientVolume was not removed, which could cause query requests
to crash the server.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 17:28:40 +00:00
Stefano Ceccherini
11ef32dfa9 erase() shrinks the vector, so we decrement the handler. Fixes the crash in case there are invalid handlers (Time application, for example). Should be fixed in the other _SendNotices() call too ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 16:25:15 +00:00
Stefano Ceccherini
e44561b2e9 even more style changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 14:50:40 +00:00
François Revol
b5a3387b08 Some cleanups and fixes. Really use the Url class. Fix building under Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 14:27:49 +00:00
Stefano Ceccherini
53596257db more cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 14:22:38 +00:00
Stefano Ceccherini
4fe138eecb Removed a goto, style changes, patch by Vasilis Kaoutsis. Thank you!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 13:04:26 +00:00
Stefano Ceccherini
355c6ebe10 fixed some style issues introduced with the latest patch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 12:52:18 +00:00
Stefano Ceccherini
470523054d removed unused files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 06:55:44 +00:00
Stefano Ceccherini
5065a78576 cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 06:51:26 +00:00
Ingo Weinhold
100e6cd1ab Good to have an answer: In case of success Directory::CreateFile() causes
new_vnode() to be invoked.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 01:53:29 +00:00
Ingo Weinhold
92864b3702 Consolidated common UserlandFS and RamFS headers and support classes a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 01:25:04 +00:00
Jérôme Duval
d4d9831990 merge both commpage.h into the private header
Travis, I hope this fits your needs :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-20 00:21:45 +00:00
Jérôme Duval
54a71c95b7 now uses macro based read/write functions to access the bitmap
the code is now very compact, on par with other Mesa drivers


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-19 23:55:27 +00:00
Ingo Weinhold
cab58350ac Finally added the UserlandFS. This is the BeOS R5 version (might need minor
modifications for BONE/Dan0). As test file systems are included:
* A Reiser FS 3.6 read-only implementation (should be a virtually unmodified
  version released as 1.0.1 on BeBits).
* A not quite finished RAM FS.
* A BeOS-specific networking FS. It works well as far as I've tested it, but
  is utterly insecure at the moment and missing nice GUI preflets. It's also
  amazingly slow which, I hope, is mainly caused by the UserlandFS layer and
  BeOS R5 net server. We'll see as soon as it can be compiled for the Haiku
  kernel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-19 22:11:25 +00:00
François Revol
c926cb8d8a Return sensible errors instead of -1. Added some TODO comments.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-19 15:57:58 +00:00
François Revol
c8d3c6f470 Implemented get/setrlimit(RLIMIT_NOVMON). Note the kernel calls don't set errno... but they're called by user versions. Might want to split them if needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-19 15:48:02 +00:00
François Revol
2dedc014e3 Use same figures as BeOS for soft and ahrd maximums on fd and mon tables (even though we don't use a table for mons).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-19 15:43:20 +00:00
François Revol
141e72bede Remove dupped case 6.* for platform checking.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-19 15:38:58 +00:00
Travis Geiselbrecht
040e5e50f1 fix a kernel clobberer that showed up when running gcc. Was able to successfully build a hello world app with gcc after this.
The kernel arg logic was faulty, and wasn't using strlcpy properly (which returns the size of the src string, not the remaining size). Replaced it with a simpler, but less efficient series of strlcat()s.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-19 06:57:38 +00:00
Travis Geiselbrecht
1cbf8f4b3c initial support for a commpage, which is a chunk of memory in high kernel space with user readonly permissions.
The first use is to let the kernel decide what the preferred syscall mechanism is at boot time and copy the
appropriate user space code there. Can be used for routines the kernel can decide best how to use (memcpy, some
timing routines, etc).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-19 00:32:44 +00:00
Travis Geiselbrecht
badc7b674e yet another fix for #1018, which has at this point blossomed into a reorg of how AP cpus are initialized.
the new cpuid stuff was apparently exacerbating an existing problem where various bits of low level
cpu code (specifically get_current_cpu) weren't really initialized before being used. Changed the
order to set up a fake set of threads to point each cpu at really early in boot to make sure that at
all points in code it can get the current 'thread' and thus the current cpu.
A probably better solution would be to have dr3 point to the current cpu which would then point to the 
current thread, but that has a race condition that would require an int disable, etc.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-19 00:11:24 +00:00
Marcus Overhagen
b2562a8d64 This fixes building with TRACE enabled
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 21:44:29 +00:00
Travis Geiselbrecht
774565638e man, I gotta quit making stupid mistakes. this dumb cpuid commit is really screwing the pooch.
Should be another fix for #1018


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 20:54:02 +00:00
Travis Geiselbrecht
c2d83d3d4e the beos compiler is pretty pedantic and wont let you use c99 style variable decls.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 20:37:17 +00:00
Waldemar Kornewald
c45b6d92d6 Made cross-compiling instructions easier to understand.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 11:46:25 +00:00
Travis Geiselbrecht
4bfe6b4b7f Don't reschedule at the end of every syscall. Speeds up syscalls by about 15%.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 04:53:15 +00:00
Travis Geiselbrecht
306a9ae49f should be a fix for #1018. The new cpu detect code was running on each cpu as they come up, storing
away cpuid info into the current cpu structure. Trouble was the code was running before the current
thread pointer was set on each cpu, so it was always looking up cpu 0's structure and saving there,
leaving the other ones uninitialized. Surprisingly this works fine on my machine, but obviously fails
on others (cpuid info would have been zeroed probably). Solution is to change the order that things
are brought up on each cpu to set the current thread pointer first. I don't really like that solution
but it'll work for now. Added a comment to the effect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 04:11:43 +00:00
Marcus Overhagen
637812eb4a init those pointers before using them
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 00:51:10 +00:00
Marcus Overhagen
d9be4f1fa3 print satacap 0 and 1 registers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 00:19:06 +00:00
Marcus Overhagen
3f8d7bce7c added PCI capability support to bus api
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 00:18:13 +00:00
Marcus Overhagen
b782e8cd79 added SATA capability to debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-17 23:24:40 +00:00
Marcus Overhagen
13dbe1c7ff Added support function to find a PCI capability offset in the configuration data, needed for SATA support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-17 22:57:59 +00:00
Marcus Overhagen
3f493ef624 Force recreation of *.a archives to avoid build errors caused by
stale dependencies after renaming or deleting object files.
This will avoid link error like the one that was caused by the 
recent mesa update.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-17 22:42:16 +00:00
Stefano Ceccherini
f082d94258 patch by Vasilis Kaoutsis: removed the use of goto
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-17 13:35:40 +00:00
François Revol
0ba2462a6d Added a stub BTextParameter as in Dano, I'd need that for ESDSink at least.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 23:40:49 +00:00
Ingo Weinhold
38979f27b0 * All "GUI servers" (app server, input server, and registrar) will now be
debugged automatically in a consoled session, when they crash. Note,
  that after a recoverable error (like a debugger() call) one can
  "detach" the debugged team in gdb, "quit", and continue as if
  nothing happened. 8-O
* The input server will no longer be killed when starting the debugger
  in a consoled session. Not sure why it was done; it simply works as it
  is now.
* Replaced all printf()s and fprintf()s by debug_printf() or TRACE(()).
  The debug server prints little enough anyway. In fact only when something
  crashes or an unexpected error occurs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 17:03:34 +00:00
Ingo Weinhold
7b95cc638b The BRoster initialization (contacting the registrar) can now time out
(generous 1s for delivery and for reply). This allows for the registrar
main thread to be debugged. Before the libbe initialization in gdb would
block, since it constructed the global be_roster which waited forever for
a reply from the registrar.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 16:53:45 +00:00
Ingo Weinhold
5b111b26a3 Don't link against libbe.so anymore. This is only necessary for the version
using the input server.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 16:45:33 +00:00
Philippe Houdoin
a9291c1969 Append Troeglazov "3dEyes**" Gerasim to contributors list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 11:47:40 +00:00
Philippe Houdoin
abbdc51e90 Applied Troeglazov "3dEyes**" Gerasim's patches: adds keys up and mouse wheel events support.
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 11:37:36 +00:00
Axel Dörfler
5fbb5241c7 Fixed endless loop in the legacy keyboard driver (currently only used by consoled).
This actually fixes bug #1024.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 06:30:36 +00:00