Commit Graph

7178 Commits

Author SHA1 Message Date
Axel Dörfler
d2e0469de4 Verified A20 gate BIOS call values with Ralf Brown's interrupt list - 0x2401/2
was already correct, and my other source was wrong about it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-19 00:00:53 +00:00
Axel Dörfler
46df41d103 Implemented call_bios() function that is called from protected mode.
It switches to real mode for execution of the BIOS interrupt; it's really
only intended for the boot loader.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 23:58:26 +00:00
Axel Dörfler
1e56fb4aeb The "ax" code I was using for the A20 gate stuff was obviously wrong; but
both Bochs and my real computer seem to know it anyway, so it's untested.
The real mode segment descriptors now start at 0x10000, because the code
is loaded there. Added an additional stack segment descriptor to be able
to use a stack below 0x10000.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 22:07:41 +00:00
Waldemar Kornewald
e09429df45 Removed unneeded constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 13:12:15 +00:00
Waldemar Kornewald
0ddbc23a4e Added _res_resultcodes for improved BONE compatibility.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 13:00:44 +00:00
Waldemar Kornewald
5f09d484a7 Changed to link against our libbind.so and libsocket.so.
Now using correct shutdown constants.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:49:41 +00:00
Waldemar Kornewald
068bd8517e Now using correct shutdown() constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:47:52 +00:00
Waldemar Kornewald
f1730f62f5 Fixed collision between SO_XXX and IP_XXX defines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:46:10 +00:00
Waldemar Kornewald
58a1abc4d6 Added missing functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:42:52 +00:00
shatty
035823f1e2 link against our libs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-17 04:08:25 +00:00
DarkWyrm
1b4ec3a38b Checkin for Caz (without pain, even!) which adds DrawBitmap support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 17:53:10 +00:00
DarkWyrm
da08bdd09d Checkin for Caz (without pain, even!) which adds rudimentary DrawBitmap support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 17:52:31 +00:00
Stefano Ceccherini
8af87c1dcc Ok, last time (at least for today). 0 is a valid fd number
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 10:32:59 +00:00
Stefano Ceccherini
7d60c514f8 Last famous words... Corrected some issues pointed out by Axel
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 08:39:12 +00:00
Stefano Ceccherini
2e90a0fca0 Finally BSerialPort works !!
- Fixed I/O Error issue
- switched from sprintf to snprintf where appropriate
- added O_EXCL flag to open()
- added many TODO items (mostly for further investigation, the class should be complete)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 06:24:59 +00:00
Stefano Ceccherini
df5ce07bff Reverted last change since, as Axel pointed out, old version is "a bit" faster than the new one
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 06:21:42 +00:00
Waldemar Kornewald
a45c236cab Added libbind and libsocket to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:29:45 +00:00
Waldemar Kornewald
c0717c8cd7 Now linking against libbind and libsocket.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:22:24 +00:00
Waldemar Kornewald
5e36a68cb4 Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:19:53 +00:00
Waldemar Kornewald
67bce78b48 Now linking against libbind instead of libnet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:19:29 +00:00
Waldemar Kornewald
3016600192 Linking against libbind.so and libsocket.so.
There are linker warnings, but this is only due to the linker linking against the BeOS libs instead of our libs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:17:54 +00:00
Waldemar Kornewald
a6b9eee2e1 Route did not use the shutdown() constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:16:33 +00:00
Waldemar Kornewald
5b3c100c86 DialOnDemand interfaces now connect, too, when using create.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:12:49 +00:00
Waldemar Kornewald
feb699f996 Fixed a bug that caused libbind.so to not resolve the name:
UDP did not set AF_INET in the sockaddr that is passed to recvfrom().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:11:19 +00:00
Waldemar Kornewald
25ae6950d9 Changed the way IdleSince is updated.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:10:23 +00:00
Waldemar Kornewald
b7708e654a Fixed DEBUG build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:09:19 +00:00
Waldemar Kornewald
cdee6f9740 The DEBUG version dumps all packets to /boot/home/ipcpdebug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:08:39 +00:00
Waldemar Kornewald
310eb63195 Updated shutdown() constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:07:42 +00:00
Waldemar Kornewald
0a628cf2fc Nothing special. Just bringing the cvs version up-to-date with my private version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:05:40 +00:00
Waldemar Kornewald
6c3f95cd4b Added libbind.so and libsocket.so to NetworkingKit target.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:04:39 +00:00
Waldemar Kornewald
b155eedfb1 Checkin of BIND 9.2.3 (libbind.so).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:03:30 +00:00
Waldemar Kornewald
ffa9d4cce9 Now linking against libsocket.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 15:58:18 +00:00
Waldemar Kornewald
eda72d2688 Checked in our version of libsocket.so. When building for BONE use this command:
BONE_VERSION=1 jam
This will remove the select() function from libsocket.so.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 15:57:49 +00:00
Waldemar Kornewald
fde2fe1c1c Checking in headers for libbind.so.
Also updated our socket.h to be more compatible with BONE (we do not support SO_NONBLOCK which is needed for Mozilla).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 15:54:34 +00:00
Waldemar Kornewald
808485e453 libnet.so gets its own headers and is somewhat separated from the rest of the system to make it build fine.
Later we may decide to replace it with the libbind.so code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 15:52:16 +00:00
Rudolf Cornelissen
a21a9460dc removed warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 19:31:03 +00:00
Axel Dörfler
7ab45fdea5 Removed unused welcome message print code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 16:54:42 +00:00
Axel Dörfler
b911d01e3d Started the "shell" of the 2nd stage boot loader: it will enable the A20
gate, switch to protected mode, and will then jump to the platform dependent
loader initialization.
This is the start of the zbeos equivalent. It can already be executed
using the BFS boot block, but it cannot yet load itself from a floppy
like the original does.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 16:43:12 +00:00
Rudolf Cornelissen
9fd63d6d0e added panel native mode to modelist: appears in Screenprefs now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 08:12:43 +00:00
Niels Sascha Reedijk
7e2eb72f9a Forgot this one too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 06:28:56 +00:00
Niels Sascha Reedijk
3a02ba00db Forgot this one
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 06:28:14 +00:00
Niels Sascha Reedijk
8b485af874 Summary: Continued work on hub initialisation
Keywords:

Patches applied:

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-5
   Commit (in between) because of a switch of development-machines

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-6
   Implement basic hub init

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-7
   Implement a bit more of hub operation


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 06:27:32 +00:00
Niels Sascha Reedijk
df870398e8 Summary: Several changes to the root hub managing code
Keywords:

Patches applied:

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-4
   Commit because of switch of development machines

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-5
   Support for hub descriptors

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-6
   Some more hub-management code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 06:23:18 +00:00
Matthew Wilber
75b172d82d Added SGITranslator to list of included files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-10 19:58:09 +00:00
Rudolf Cornelissen
e8cdc01c2f fixed error in paneldetection code on laptops... oops!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-09 19:21:56 +00:00
Stefano Ceccherini
6746ac963e Some cleanups
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-09 11:12:13 +00:00
Stefano Ceccherini
ac41b0f103 Added license
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-09 11:07:35 +00:00
Stefano Ceccherini
64e8448a05 Removed some fields, simplified the header. Added the license
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-09 07:59:42 +00:00
Rudolf Cornelissen
4709c2c813 added panel DPMS, updated detection code again (next iteration)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 19:55:13 +00:00
Waldemar Kornewald
ead04ffa5e Our netstack works now! I used Vision and Net+ and it did not crash!!!
But I would not consider it stable.
Not tested on R5 net_server, only BONE (replaced BONE stack)!
Not compatible to BONE applications (you must use net_server apps or OBOS apps)!

Removed debug output from compat.c.
Fixed DNS bug (well, it's very hacky).

NOTE FOR BONE USERS: Uncomment the definition of BONE_VERSION in select.c!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 13:06:00 +00:00