Axel Dörfler
b460825e1f
Fixed the bug that prevented the boot loader from running on many current
...
systems: good old A20 gate was not properly enabled on all hardware. Even
if it's not perfect now, either, it seems to work on many more systems
(all I have access to, anyway).
Please report if you have any issues with the 0x92 port A20 gate method.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 03:15:26 +00:00
Axel Dörfler
5042346db6
Fixed broken conditional ENABLE_SERIAL handling.
...
Also added a comment about what ENABLE_SERIAL is for.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 03:01:39 +00:00
Axel Dörfler
21bdfb9cf9
Moved the "random spots" for the first two page tables to 0x91000 and 0x92000
...
respectively; the area from 0x9f000-0x100000 is not really usable anyway, so
we can safely cut down the maximum size of the boot loader to around 500 kB.
Therefore, the first free physical page is now at 0x100000 straight.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 02:59:04 +00:00
Ingo Weinhold
164d84bb10
Switched to new DoublyLinkedList class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 02:35:16 +00:00
Ingo Weinhold
f42f300bd5
Work around a gcc bug: A private typedef in a base class can class with an equal identifier in a derived class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 02:31:06 +00:00
Ingo Weinhold
b0f7c84522
Switched to new DoublyLinkedList class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 02:19:23 +00:00
Ingo Weinhold
50d68edcf4
It's fun to rename functions in templatized code. You only realize, that you missed some, when that specific part is instantiated.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 02:12:35 +00:00
Ingo Weinhold
be6294af4b
Switched to new DoublyLinkedList class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 01:53:00 +00:00
Ingo Weinhold
2cfdb0ed38
* Added DoublyLinkedListMemberGetLink class which directly accesses the
...
link member in the element class. Usually more comfortable for structs.
* Added Add() method as synonym for Insert().
* Made fGetLink member static to save memory in objects using it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 01:48:43 +00:00
Ingo Weinhold
ef13ad9efd
Include dir "private/kernel/util" not longer needed, since we already have "private/kernel" and include <util/...>.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 01:20:35 +00:00
Ingo Weinhold
bed68f2088
DoublyLinkedList lives in the <util/DoublyLinkedList.h>.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 01:16:26 +00:00
Ingo Weinhold
297ffaeb84
Appended the new DoublyLinkedList implementation to DoublyLinkedList.h. The old implementation will go, when all the places where it is used have been adjusted.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 01:14:47 +00:00
DarkWyrm
f3721fd1d7
Tweaked the GetSystem font calls to prevent memory leaks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 23:23:45 +00:00
Rudolf Cornelissen
c826d194dc
updated fixes list, bumped version to 0.34 BTW.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 15:09:45 +00:00
Rudolf Cornelissen
fdd699c7b7
fixed DMA acc blit function crashing once you place data near the end of the cardRAM on NV40 and higher (for overlay bitmaps). These cards needs a certain unused space in front of their DMA command buffer to prevent the blit's DMA data source instance from malfunctioning (moved windows then contain rubbish instead of valid data). I would say this is a hardware fault or limitation (costs us 400kB+ of RAM).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 15:05:57 +00:00
Stefano Ceccherini
422c07914d
Applied our style guide as someone (cough! *** Axel *** cough!) bugged me (correctly) about it :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 14:29:06 +00:00
Stefano Ceccherini
976f53a988
Fixed warnings. Maximum initial values are 100 (One should always print values in decimal, not hex). Implemented GetSupportedSuites().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 13:16:22 +00:00
Stefano Ceccherini
1c3a6ab025
Implemented a couple of methods. Most are tested, even if not thoroughly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 07:42:07 +00:00
Nathan Whitehorn
a8e03a70ea
Why were we using DOS newlines?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 02:23:21 +00:00
Axel Dörfler
a82d0abbd6
"it cannot fail"?? Hello, we're in the kernel here :-))
...
Actually, it would be quite possible for another thread to specifically
ask for space in that reserved range, so we're playing safe now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 00:07:26 +00:00
Nathan Whitehorn
e4b4e8f554
Included Oliver Tappe's DIGEST-MD5 support and fixes to the CRAM-MD5 mechanism.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 23:15:51 +00:00
Jérôme Duval
bf8c5a0440
Using only mime types now work (bug from Fredrik Ekdahl, thanks!)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 22:24:28 +00:00
Jérôme Duval
5797cdc36f
We update to the contents for new files (bug from Fredrik Ekdahl)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 22:08:59 +00:00
Axel Dörfler
b18fc6654c
transfer_area() now reserves the address range of the old area after removing
...
it, so that it can guarantee readding it again, in case the transfer is failing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 18:36:05 +00:00
Rudolf Cornelissen
54c34e6829
added NV20 arch defines.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 14:40:11 +00:00
Rudolf Cornelissen
63def9b208
completed NV20 architecture DMA acceleration: confirmed both NV20 and NV30 architectur up and running OK BTW.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 14:36:33 +00:00
Rudolf Cornelissen
5848a1aedb
fixed memory size check for virtualmodes (take DMA into account)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 12:36:18 +00:00
Rudolf Cornelissen
9be68599ad
added 3 more cardID's.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 11:45:55 +00:00
Rudolf Cornelissen
5370ea7d80
added 3 more cardID's (a GF6600, a GF6800 and a PCX4300).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 11:44:38 +00:00
Rudolf Cornelissen
8d2dfc64ee
small simplification for reading and writing DMAGET and DMAPUT, gives a minor speedup (a few percent max).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 10:53:21 +00:00
Ingo Weinhold
eb5bc5f924
Added a bit of documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 00:26:30 +00:00
Ingo Weinhold
242ebd2030
The reduced area size was used for testing only.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 23:40:17 +00:00
Ingo Weinhold
576ca13ddb
Added debug output. No functional change. Surprisingly things seem to work.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 23:28:49 +00:00
Matthew Wilber
aa44f14baa
Added more tests for single button Alerts and added tests for two and three button Alerts.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 21:21:14 +00:00
Matthew Wilber
855c5b57b8
Created structures to make it much easier to test BAlert's various options.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 19:51:38 +00:00
Ingo Weinhold
ea9716dc6e
Return B_NO_MEMORY, if the command handler could *not* be allocated. First tests indicate that the messaging service basically seems to be working. Didn't test yet, if that's still true, when an area is full.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 18:48:38 +00:00
Ingo Weinhold
d06fe82117
Exemplarily implemented notify_entry_moved(). Untested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:13:35 +00:00
Ingo Weinhold
244f03dc1c
* Moved the autolocking code for recursive lockers to <util/AutoLock.h>.
...
* Added resolve_mount_point_to_volume_root() version for external use
(by the node monitor).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:11:46 +00:00
Ingo Weinhold
831841e1c0
Moved generic autolocking code to <util/AutoLock.h>.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:09:57 +00:00
Ingo Weinhold
b6933d8acc
Moved generic auto locking code out of
...
<disk_device_manager/KDiskDeviceUtils.h> into <util/AutoLock.h>.
Added instantiations for recursive locks (moved from vfs.cpp) and
mutexes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:09:06 +00:00
Ingo Weinhold
4eb57a1d3d
Added WARNING macro.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:06:31 +00:00
Ingo Weinhold
3424c4fea4
Renamed node_monitor.c to node_monitor.cpp and fixed implicit conversions from void*.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 14:09:01 +00:00
Philippe Houdoin
0bd6021a12
The port BTextControl is now inited to default HP JetDirect protocol port number (9100).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 11:41:52 +00:00
Nathan Whitehorn
fa38d4cac8
Fixed an error in the install script
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 06:11:06 +00:00
Nathan Whitehorn
af4c9464a2
Updated credits and contact information for Haiku
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 06:03:35 +00:00
Nathan Whitehorn
4635fa1597
Changed credits to Haiku, separated out version history from readme, updated version history, and updated contact information.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 06:01:32 +00:00
Matthew Wilber
eca22332b6
Added BAlert tests to Jamfile
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:46:49 +00:00
Matthew Wilber
da9a5ee7be
Added BAlert tests to Interface Kit tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:46:00 +00:00
Matthew Wilber
baccf4d71e
Initial check in for the BAlert tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:45:05 +00:00
Nathan Whitehorn
82f183b2de
Bumped MDR version number to 3.0.2.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:43:05 +00:00