Ingo Weinhold
05916979f9
Export i386_get_current_iframe() so it can be used in arch_user_debugger.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 15:49:41 +00:00
Ingo Weinhold
98dbeb36df
Added note to keep struct iframe in sync with the struct cpu_state.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 15:47:54 +00:00
Ingo Weinhold
08fd6d69aa
Beginning of the x86 debugging support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 15:46:20 +00:00
Ingo Weinhold
c7eab67fe1
Architecture specific debugger interface.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 15:44:48 +00:00
Ingo Weinhold
c3610c8098
* Architecture specifics live in arch/<arch>/debugger.h now.
...
* team debug flags:
- Added flags for team creation, thread events (creation,
deletion), and image events (creation, deletion).
- Got rid of B_TEAM_DEBUG_SYSCALL_FAST_TRACE. We always send the syscall
arguments. The overhead should be neglectable.
- Added B_TEAM_DEBUG_STOP_NEW_THREADS.
* Added debugger notification messages for signals, team, thread and
image events.
* Added debug request B_DEBUG_MESSAGE_GET_WHY_STOPPED.
* When continuing a thread, the debugger can now specify how to deal with
the occurred event (ignore or handle).
* More data in the signal received notification message.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 15:43:28 +00:00
Ingo Weinhold
1faf0c16fa
x86 architecture specific debugger definitions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 15:33:12 +00:00
Nathan Whitehorn
d86d43eba2
Added the beginnings of our power management daemon. Currently does nothing except tell the roster to shut down when you press the power button (in conjuction with acpi_button, of course). Eventually will do things like display low power warnings, spin down hard disks, and display the requisite power info deskbar replicant.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 03:05:53 +00:00
Nathan Whitehorn
0a60ca24de
Fixed a hang on boot problem with bus manager initialization. Apparently the BeOS kernel doesn't seem to like using spinlocks as the ver first thing in the boot process, so I rolled my own. Everything is now working consistently.
...
I also fixed my power button, so I don't need to test acpi_button by shorting motherboard contacts with a screwdriver...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 02:40:06 +00:00
Nathan Whitehorn
a28a2204fb
Made acpi_button clear the button status register, if not properly, at least in a way that works.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 02:12:42 +00:00
Nathan Whitehorn
20a7c7863d
Fixed a crashing bug in GPE interrupt handlers, and cleaned up the error reporting code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 20:38:24 +00:00
Nathan Whitehorn
91fbc56d75
Reworked ACPI button routines to make them more flexible, and remove the need for the power management daemon to care about ACPI in particular.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 20:36:33 +00:00
Stefano Ceccherini
a84dde4cde
Implemeted some methods for BBitmaps which accepts views, got rid of "NOT_IMPLEMENTED". Fixed a warning in ListView.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 11:23:41 +00:00
Nathan Whitehorn
94e3125a61
Fixed a stupid bug in setting registers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 05:57:16 +00:00
Nathan Whitehorn
3a3a6bb0a7
Added an ACPI power and sleep button driver, similar in purpose to the one on BeBits. Will be used by a power management daemon that is not yet in CVS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 04:26:23 +00:00
DarkWyrm
918a22d990
BTextControl labels use the plain font, not bold :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 01:57:29 +00:00
DarkWyrm
348f28e773
Removed the locking from RootLayer::Buttons -- caused a hang in the one place it is called. (doh!)
...
Implemented ServerApp handler for BFont::CountTuned and added a standby handler for BFont::Direction
Tweaked the ServerWindow debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 01:45:48 +00:00
DarkWyrm
135c6d41e1
A couple tweaks for testing without the registrar running - eliminates a crash
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 01:42:32 +00:00
Rudolf Cornelissen
860d572c2e
finalized documentation for driver release (as V0.41). All my cards confirmed OK and very fast compared to 'the old days'.
...
It's confirmed BTW that GeForce PCIe/AGP 6600GT is working OK (tested on 3 cards), and also GeForce AGP 6800GT is OK (one card tested).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 20:52:21 +00:00
Adi Oanca
0eed276cf7
'Attach' hooks are now called after the complete tree of children of the BView to be added is completely known by app_server
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 20:08:27 +00:00
Adi Oanca
a1ce489220
added a method for properly calling 'Attached' hooks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 20:05:47 +00:00
Jérôme Duval
abd010bc61
Moved mbstate to wchar.h
...
Restored glibc/wcsmbs/wchar.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 18:06:35 +00:00
Ingo Weinhold
2a862ff06f
Got rid of the temporary BMessage in BMessage::_send_().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 13:07:55 +00:00
Ingo Weinhold
75393a9870
Named the fReplyTo struct so that we can create other vars of this type.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 13:06:42 +00:00
Ingo Weinhold
592cc30168
* Implemented colorized output.
...
* Implemented finding programs in the PATH.
* Added human readable error codes for status_t and ssize_t return values.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 12:37:24 +00:00
Ingo Weinhold
c9b3d41977
The Type class now knows the name of the type.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 12:34:38 +00:00
Ingo Weinhold
3f38375acc
Write return and parameter type names into the generated strace file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 12:33:49 +00:00
Nathan Whitehorn
baf98f1cd8
The ACPI bus manager backend is now fully operational, tested on a Tyan Tiger i7505. Next up: adding useful operations to the public interface, and writing drivers for ACPI hardware.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 02:34:01 +00:00
Nathan Whitehorn
fe5117f99d
AML table parsing and discovery now works. AcpiEnableSubsystem() is still hangin
...
g my machine hard, probably due to it mucking with the PCI controller way after
boot. I'm going to try inserting it earlier in the boot process. Also added bett
er debugging tracers, and removed the kernel_debugger() trace calls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 02:06:13 +00:00
Nathan Whitehorn
ddbd7b91b5
ACPI Bus Manager module, derived from Intel's ACPI CA. Has some very rough edges and the bus manager interface is currently incomplete.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 20:29:17 +00:00
Nathan Whitehorn
08923ac8ba
ACPI Bus Manager interface header. Currently highly incomplete.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 20:00:59 +00:00
Michael Pfeiffer
5fc71589cf
Implemented RLE compression
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:45:24 +00:00
Michael Pfeiffer
e2bfe39dea
Unrolled most inner loop of ColorRasterizer::MergePlaneBuffersToCurrentLine to gain a total speed up of about 5 percent.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:43:59 +00:00
Michael Pfeiffer
b2086ea837
Removed debugging code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:39:33 +00:00
Michael Pfeiffer
367817c939
Added function pack_bits_size().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:34:21 +00:00
Michael Pfeiffer
5d4b78560b
Rewrote get_valid_rect because it contained bugs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:33:16 +00:00
Michael Pfeiffer
acc60ee067
Added function pack_bits_size.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:30:21 +00:00
Michael Pfeiffer
be79e3899d
Checked in missing function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:25:37 +00:00
Rudolf Cornelissen
4879571b0d
doc update. Version is now 0.41.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 16:24:41 +00:00
Rudolf Cornelissen
7540371dbb
the DMA acc sub-cmd-lists are now issued to a single engine command (except for blit because it's hardware can't do that), instead of to multiple issued engine commands. (one could say 'parallel processing' but that's not the case: it remains serial: it's just faster).
...
DMA acceleration speed is up another 10% for rect and span commands.
commencing more testing now: code is complete (I hope).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 16:20:40 +00:00
Rudolf Cornelissen
dffca5825b
doc update, version is now 0.40.
...
(still one more speed update to do before testing and release :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 14:36:51 +00:00
Rudolf Cornelissen
d0ef756a52
optimized DMA acc code more by splitting up command lists into sublists before issuing them to the engine. this further improves speed with upto about 70 percent, for a total of about doubling the speed by pure software optimation.
...
Note: code is now working the same as Thomas's ATI driver: he minimized calls in the same ways. (Curious how a benchmark contest would hold up now.. ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 14:34:09 +00:00
Stefano Ceccherini
28362fed33
I just noticed this file had a weird license header...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:47:12 +00:00
Rudolf Cornelissen
361b304a02
... on slow CPU's it's also upto 15% gain apparantly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:15:42 +00:00
Rudolf Cornelissen
0702e3f652
(doc update..)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:02:05 +00:00
Rudolf Cornelissen
1554e5cb4c
applied DMA mode speed optimations 'step 1.5': incorporated all top-level acceleration functions inside the engine's code so minimal nested calls are made. Confirmed further speedup of about 15% on fast CPU's...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:00:14 +00:00
Stefano Ceccherini
e605d52661
Finally we draw something with our own code. It works only with vertical sliders, and it's still buggy, though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 10:07:30 +00:00
Jérôme Duval
af095d7ba1
style fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 09:19:32 +00:00
Rudolf Cornelissen
bffb1c3e50
added a comment about 'parallel processing' of rect functions (due for next speed optimize 'step 2').
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 17:46:32 +00:00
Rudolf Cornelissen
9e7390ba4a
bumped version to 0.38.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 17:42:58 +00:00
Rudolf Cornelissen
18dfc8a2b0
optimizing DMA acc for speed ('step 1'). Also simplifies code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 17:40:56 +00:00