Commit Graph

9562 Commits

Author SHA1 Message Date
Axel Dörfler
06eec38c23 Added a table with the names of the standard interrupts on x86: they are
now printed out when an unhandled exception is taken.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 14:42:43 +00:00
beveloper
d0da902001 Added an extra thread for chunk extraction. Using the ChunkCache,
the ReadFrames call no longer needs to wait for the
extractor, but can read it from a cache.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 14:21:34 +00:00
beveloper
26dc029a11 Added an extra thread for chunk extraction. Using the ChunkCache, the ReadFrames call no longer needs to wait for the extractor, but can read it from a cache.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 14:20:01 +00:00
beveloper
5c91a2814e started implementing a caching layer inbetween extractor and decoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 14:15:01 +00:00
Axel Dörfler
3ae4fa637a Now also prints the size of every stack frame, as well as the kernel and
eventual user stack regions of the thread.
The registers are no longer jumping around depending on the length of their values.
Removed some unused or doubly included headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 14:02:51 +00:00
Rudolf Cornelissen
647d4b1a6b removed text typos
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 12:05:11 +00:00
Rudolf Cornelissen
4384699477 added recognition of another type2 scriptcmd. Not executing, just skipping: tricky to implement, and not used sofar anyway...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 11:53:57 +00:00
Rudolf Cornelissen
164cd8bcaa added yet another type2 coldstart scriptcmd.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 11:27:05 +00:00
beveloper
40c2c00a34 Clean up of debug output. Fixed volume control bug introduced yesterday.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 10:37:46 +00:00
shatty
a539f68be5 remove static from non-ARCH_x86 thread function prototypes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 09:08:37 +00:00
shatty
894d1636cf define ARCH_ppc for TARGET_CPU ppc, ARCH_x86 for TARGET_CPU x86
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 09:08:02 +00:00
shatty
b560211bcf use LocalDepends for packages instead of Depends
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 02:57:22 +00:00
shatty
72764530c5 gracefully tolerate coder passing NULL for state pointer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 00:20:56 +00:00
beveloper
df42a7b539 Massive BSoundPlayer rewrite. Format negotiation and node registering/unregistering fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 00:16:27 +00:00
shatty
d3f88ee1ed install from install.zip
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 23:11:29 +00:00
shatty
ea35f801c4 improved printing names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 21:42:41 +00:00
beveloper
0a7ddfb5ee Style changes. I obviously didn't save the caching changes done at Begeistert 13 :-(
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 18:04:50 +00:00
beveloper
d5463e6f2f better debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 18:03:45 +00:00
beveloper
49e6b955a6 fixed wrong debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 18:01:39 +00:00
beveloper
6736ae524a This fixes the bugs that crashed nplay and ColdCut during the Begeistert 13 presentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 18:00:53 +00:00
Axel Dörfler
ddccb72483 Improved the kernel debugger's "thread" command: it will now dump the current
thread if no arguments were given.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 17:09:51 +00:00
beveloper
d6105cedfa Some BSoundPlayer style changes and bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 17:05:56 +00:00
Rudolf Cornelissen
9d964556cc added some PTIMER stuff for NV28, apparantly has no (speed) effects.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 16:41:54 +00:00
Axel Dörfler
8c3666d980 Renamed heap_init_postsem() to _post_sem(), added new heap_init_post_thread().
We now have a working periodic wall checker, enabled by USE_CHECKING_WALL.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 13:59:27 +00:00
Axel Dörfler
842b03d549 Now calls vm_free_kernel_args().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 13:53:13 +00:00
Axel Dörfler
25c4f39f68 Implemented vm_free_kernel_args() which frees all arguments from the kernel_args arguments
list (but not the structure itself).
Now calls heap_init_post_thread(), heap_init_post_sem() was called ..._postsem() before.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 13:52:42 +00:00
Axel Dörfler
2797f8cf8a Renamed heap_init_postsem() to ..._post_sem(). Added prototype for heap_init_post_thread().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 13:50:27 +00:00
Axel Dörfler
95e3a7215d Added prototype for vm_free_kernel_args().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 13:49:19 +00:00
Rudolf Cornelissen
e4abfd7b45 updated documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 09:32:56 +00:00
Rudolf Cornelissen
19cd95ff25 added noting actual set core and RAM speed in shared info for later use (if card is coldstarted)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 09:29:19 +00:00
shatty
0cccf9ac6d fix mimetype bugs in some ISO encodings, clean up print names for japanese encodings, and change the JIS 0208 encoding to ISO-2022-JP
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 08:45:30 +00:00
Nathan Whitehorn
b502b561b4 Fixed spelling of instantiate_transport
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 22:35:59 +00:00
Rudolf Cornelissen
ce3ea11935 added two new register defines to make NV28 coldstarting work OK.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 20:54:24 +00:00
Rudolf Cornelissen
c9ae7f9cc9 finally! NV28 up and running as secondary card over here: added some framebuffer access registerprogramming apparantly needed. Now all cards work as secondary card over here :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 20:50:30 +00:00
Jérôme Duval
9e7f8b786d removed input_server signature
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 13:44:02 +00:00
Jérôme Duval
e98e8b43c0 removed Draw() method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 13:31:10 +00:00
Jérôme Duval
3f2b5033ee added replicant test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 13:09:06 +00:00
Jérôme Duval
f40fc44ef4 Added initial method addons support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 13:05:35 +00:00
Rudolf Cornelissen
25b194b98f removed PLL programming error: fixes at least NV28 core and RAM PLL programming, probably solves (coldstarting) trouble on more cards.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-21 10:45:56 +00:00
Axel Dörfler
4a3a8d94e5 Add a different approach to calm down page fault handling when debug output is enabled.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-21 02:44:07 +00:00
Axel Dörfler
89e31dce3b kernel_args_malloc() now actually maintain the kernel_args ranges correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-21 02:40:43 +00:00
Axel Dörfler
a17b2346d0 Now makes use of sMaxVirtualAddress to calm down gcc.
arch_cpu.h no longer includes kernel.h, so we have to do this for the
ROUNDUP()/ROUNDOWN() macros.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-21 02:35:37 +00:00
Axel Dörfler
8a37c740eb Renamed some init2() functions to init_post_vm() to make clearer when and why
they are called.
Fixed some return types (mostly from int to status_t).
Some minor other cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-21 01:50:09 +00:00
Axel Dörfler
d330cc09e2 Renamed some init2() functions to init_post_vm() to make clearer when and why
they are called.
Introduced a cpu_init_post_vm() that will now call arch_init_post_vm() instead
of letting main() doing it.
Fixed some return types (mostly from int to status_t).
Some minor other cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-21 01:45:43 +00:00
Axel Dörfler
b0d8e689ac Renamed some more init2 routines to init_post_vm() to make it clearer when
and why they are called.
Introduced a cpu_init_post_vm() that will now call arch_init_post_vm() instead
of letting main() doing it.
Fixed some return types (mostly from int to status_t).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-21 01:41:29 +00:00
Axel Dörfler
93048e141e The decision to put reserved regions along real ones proves problematic: fixed
three code locations that didn't handle them properly (when iterating over all
areas).
That and the fact that unmap_and_free_physical_pages() is no longer broken now
leads to the boot region being unmapped and freed properly as intended before.
That revealed another bug: the boot loader region was disposed too early, we
need a few other components pick up boot loader resources first; it now happens
in vm_init_post_sem().
allocate_kernel_args() was also broken, and actually didn't try to allocate
kernel args areas, but tried to reallocate all the virtual allocated ranges
of the boot loader...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-21 01:38:37 +00:00
Stefano Ceccherini
9199a3397b Synchronous and asynchronous MouseDown() code was wrongly placed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-20 11:15:37 +00:00
Axel Dörfler
3433f318e0 Disabled the USE_WALL checking by default.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-20 10:53:03 +00:00
Stefano Ceccherini
afcf990925 Forgot to change fromOffset to currentOffset in one place. WidthBuffer could not work right with multi byte characters
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-20 10:42:39 +00:00
Axel Dörfler
afad65ded7 Replaced all remaining PAGE_SIZE with B_PAGE_SIZE, addr with addr_t.
Removed the definition of PAGE_SIZE and addr.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-20 00:33:06 +00:00