Axel Dörfler
f5a934c950
Added console_module_info structure to be used by console modules like
...
frame buffer console and VGA text.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:48:54 +00:00
Axel Dörfler
f80973f6c2
Replaced the old frame buffer console driver with a built-in frame buffer
...
console module which is used by the console driver, and will be used by
the on-screen KDL.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:45:01 +00:00
Axel Dörfler
c48c2a976f
Ported over the vga text console module from NewOS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:40:03 +00:00
Axel Dörfler
825474c914
Ported over the console driver from NewOS - this one is a bit more capable
...
than our currently built-in one (colors and stuff). It won't be needed
later on for the distribution, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:25:03 +00:00
Axel Dörfler
1252c6cfae
No longer computes a wrong frame buffer size for 15 bit modes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:12:19 +00:00
Jérôme Duval
ec4fd18f03
_sPrintf implemented
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 13:04:13 +00:00
Ingo Weinhold
39c9d198ea
* Moved strace source into separate subdirectory.
...
* Now syscall names and parameters are printed. const char* parameters
and return values are retrieved from the client and printed as string.
* Missing are still color output (does consoled support that?) and
searching for given commands in the PATH. Nothing besides the standard
mode has been tested yet, so it's probably not working.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 05:09:36 +00:00
Ingo Weinhold
20be402385
Moved strace sources into subdirectory.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 05:02:22 +00:00
Ingo Weinhold
73df3c0847
* Turned off debug output.
...
* The syscall arguments are copied into the respective messages to the
debugger now.
* Optimized the nub thread memory reading command. Now only as many bytes
are sent to the debugger as were actually read.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 05:00:31 +00:00
Ingo Weinhold
6b2dcef3ec
Explicitly declare the inclusion of the syscall table file generated by gensyscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:57:38 +00:00
Ingo Weinhold
6432752755
Include the syscall info array generated by gensyscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:56:11 +00:00
Ingo Weinhold
7d4d6d35c0
Export an array of static syscall infos generated by gensyscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:54:35 +00:00
Ingo Weinhold
747fcbd3e0
We generate two more files now: A simple array with the kernel function
...
pointers and overall parameters size for the kernel and some more
sophisticated code for strace.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:53:31 +00:00
Ingo Weinhold
ee524c9864
We now also store the names of syscall parameters. This is used for strace. Well, not yet, but it would make a nice extension. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:51:08 +00:00
Ingo Weinhold
16df67022a
Fixed UseArchHeaders.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:46:14 +00:00
Axel Dörfler
febccfbfc6
If update_mime_info() could not determine the MIME type, it now just set
...
the information it has from the translator itself. Maybe this functionality
should be done in the Translation Kit as well if the output stream is a file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:37:01 +00:00
Axel Dörfler
9cbe0af410
Identify() returned wrong MIME type.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:35:44 +00:00
Axel Dörfler
fbef8d31d3
Added support for the "/documentCount" and "/documentIndex" extension used
...
by the TIFF translator. Thanks again to BiPolar for the note about this.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 03:38:15 +00:00
Axel Dörfler
5fa46a457c
Reading 24 bit images was broken - thanks to BiPolar for finding and reporting this.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 03:18:07 +00:00
Axel Dörfler
ab78c7cbc5
Added partition type constants for HFS/HFS+ file systems.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 03:11:19 +00:00
Axel Dörfler
90bce836e0
Changed the way user/kernel time is tracked for threads. Now, thread_at_kernel_entry()
...
and thread_at_kernel_exit() are always called for userland threads at the appropriate
situation (note, I've renamed those from *_atkernel_*).
The timing should be more accurate this way, and the thread::last_time_type field
is no longer needed: all interrupts are now added to the kernel time (where the
time is actually spent).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 03:10:21 +00:00
Jérôme Duval
4265bb4b19
we now check for error from get_input_devices
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 23:26:05 +00:00
Jérôme Duval
20776cc6cf
fix : status wasn't taken into account
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 23:24:16 +00:00
Rudolf Cornelissen
7139e38e41
updated a few comments, added some acc stuff for NV40+ for PIO mode: trying to get that up as well briefle now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 19:40:26 +00:00
Axel Dörfler
5ff65f9b40
Added a work-around for broken ICO files that report a wrong icon height.
...
Fixed a wrong return code in case writing file data failed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 18:52:52 +00:00
Axel Dörfler
71aa315c95
First round of hoard changes to change it exactly to what we need.
...
Removed the arch-specific stuff for all other platforms.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 18:47:16 +00:00
Jérôme Duval
577c5fac30
Removed unused files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 16:09:53 +00:00
Jérôme Duval
dcccb4e3c6
Sadly echo generic driver is now GPL
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 16:09:22 +00:00
Jérôme Duval
c2ddc71cc5
Update to EchoGenericDriverB0
...
Added IDs for 3g cards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 16:05:47 +00:00
Jérôme Duval
27a5e88b50
introduced a R5 style communication flag
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 15:37:23 +00:00
Ingo Weinhold
22bfa26c00
Added strace.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:08:46 +00:00
Ingo Weinhold
bd432c793a
Added strace to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:08:01 +00:00
Ingo Weinhold
33e89d7cf8
The beginnings of strace. At the moment prints only syscall number and
...
return value.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:07:33 +00:00
Ingo Weinhold
e23a6f58af
Added syscall tracing support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:06:05 +00:00
Ingo Weinhold
a102c86e08
Init and cleanup the thread related debugging structure.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:04:53 +00:00
Ingo Weinhold
bea87e89d4
Init and cleanup the team related debugging structure. Send the debugger
...
a respective message, when the debugged team has been deleted.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:03:53 +00:00
Ingo Weinhold
032fea39cb
Added userland debugging support structures to thread and team structures.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:00:52 +00:00
Ingo Weinhold
f19279abda
Danger! The size of empty structures differs between C and C++, so we have to put something in, if we want to use them from both.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:59:37 +00:00
Ingo Weinhold
734e07cedb
Added user_debugger.cpp to the kernel.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:57:46 +00:00
Ingo Weinhold
4661ae6c69
Added/implemented debugging related API functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:56:49 +00:00
Ingo Weinhold
44ed1270a3
Added debugging related syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:55:02 +00:00
Ingo Weinhold
6b13343035
Some additions for user debugger support. Several of ToDos. This is far from being final, but just something we can work with for the moment.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:53:48 +00:00
Ingo Weinhold
1ec1e1185b
handle_signals() now takes a pointer to a cpu_state, so that after restoring and re-disabling interrupts the state can be propagated back to the caller.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:49:41 +00:00
Ingo Weinhold
bc797a9ee5
The beginnings of userland debugger support. Currently basically only what is needed for strace is implemented.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:47:46 +00:00
Ingo Weinhold
c53b50023a
Trashed the old header and started a new one from the scratch.
...
Unless a good reason appears not to, we'll break binary compatibility here.
BDB could be considered one, but we need a replacement for it anyway. We
strive to port GDB and a couple of changes in the debugger API will make
that easier.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:45:18 +00:00
Axel Dörfler
8f0882a2e1
Some cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 01:11:44 +00:00
Axel Dörfler
f4a87ad575
As Ingo pointed out correctly, B_INTERRUPTED is never returned when a semaphore
...
goes away; therefore we must not return B_BAD_PORT_ID in this case.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 01:08:55 +00:00
Jérôme Duval
c3b0c1efca
added iroster and keymap
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 23:13:54 +00:00
Jérôme Duval
7d3f2fc424
haiku build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 21:52:20 +00:00
Rudolf Cornelissen
c9df9f3086
updated fixes documentation. DMA acceleration is now the default, previously it was PIO mode: DMA now works (much) better than PIO mode overall... :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 20:29:05 +00:00