Commit Graph

19483 Commits

Author SHA1 Message Date
Ingo Weinhold
945a060042 Added "message" debugger command to reprint the message printed when
entering KDL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-14 13:04:13 +00:00
Stefano Ceccherini
07a6b56636 system() works correctly, so we can use its return value now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-14 12:59:24 +00:00
Ingo Weinhold
46a15bd6ea Added support for line editing in KDL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-14 12:48:13 +00:00
Ingo Weinhold
b34ddf8422 * Fixed incorrect key code for DELETE. Ctrl-Alt-Del will reset the
system when pressed during the boot process, as intended.
* Removed other incorrect key codes, except the one for BREAK, since it
  is used (but won't work).
* Ctrl-Alt-Del now also resets the machine when in KDL, at least when
  waiting for user input.
* arch_debug_blue_screen_getchar() does also generate the respective
  escape sequences for HOME, END, and DELETE, now. Furthermore it
  generates characters for Ctrl-A through Ctrl-Z.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-14 12:44:14 +00:00
Ingo Weinhold
9d2cde7183 debug.c -> debug.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-14 09:50:32 +00:00
François Revol
f9f49bb963 * Match [Pp]assword:
* Handle failing to remove the old image in case it's not there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-14 02:04:42 +00:00
François Revol
82062f804c Works much better when actually allocating the TLS entry...
Now the backend works, Login can list users.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-14 02:03:34 +00:00
Ithamar R. Adema
e7fe0f67d1 Fix BPrintJob to not screw up user-made job settings with the global defaults.... StyledEdit prints again :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 23:47:35 +00:00
Jérôme Duval
269fdeefff style cleanup
whitespace => tab


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 23:05:30 +00:00
Ingo Weinhold
69666c9199 Clarified documentation of the "asynchronous" SendMessage() methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 22:55:27 +00:00
Jérôme Duval
1beb8bb1ba whitespace => tab
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 22:17:50 +00:00
Jérôme Duval
c71ff07bd9 style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 22:17:15 +00:00
Jérôme Duval
bf86f09912 style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 22:03:34 +00:00
Jérôme Duval
f6742aab04 whitespaces => tab
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 21:59:23 +00:00
Ingo Weinhold
46e13cfc0c Patch by Vasilis Kaoutsis:
* Style cleanup.
* Renamed class GebsPreferences to Preferences.
* Made NoiseBarMenuItem::fBusyWaiting/fLost private and added getters
  and setters.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 21:07:14 +00:00
Ithamar R. Adema
993976312b Make (S)ATA(PI) drives publish under /dev/disk/ata[pi] again
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 20:46:32 +00:00
Axel Dörfler
42ef796e50 Added a bit more tracing output to the block allocations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 20:08:43 +00:00
Jérôme Duval
629e25ef6d fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 19:43:00 +00:00
Michael Lotz
bece4ef7ab Implemented driver unloading. When a driver is rescaned and doesn't publish
any devices anymore it gets unloaded. Also made sure the function pointers
are properly initialized and disabled debug output.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 18:49:39 +00:00
Michael Lotz
3be509a228 Fix the static cleanup mechanism introduced to the runtime_loader/libroot:
* Fixed wrong start and size used in the runtime_loader
* Fixed off by one error in the matching loop of the cleanup hook
* Make sure we successfully acquire the locking sem of the exit stack

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 18:49:27 +00:00
Axel Dörfler
4fc4f2c8ae * Added a transaction listener mechanism to be notified when a
transaction ends or has been aborted.
* BFS now listens for transactions when it created an inode to see if 
  the transaction will be aborted without freeing the inode (in which 
  case it will panic for now).
* Started implementing tracing support, but it's not working yet.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 17:18:29 +00:00
Axel Dörfler
5276dad057 * Fixed a bug in make_space() that would endlessly skip entries, even
though there was nothing to do (if 'diff' was larger than 'needed').
* Improved KDL command output.
* Added debug output to the allocation functions.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 17:09:01 +00:00
Jérôme Duval
4ff60cbae8 check the allocation of the name list
use a macro get_handle


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 13:45:34 +00:00
François Revol
b79ea67539 * Fixes... it now builds and theorically should work, let's see...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 12:40:49 +00:00
Jérôme Duval
9cdfebb447 Fixed removing from device list with only one device info present
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 12:35:08 +00:00
Jérôme Duval
5671893fc0 Fixed removing from device list with only one device info present
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 12:34:27 +00:00
Michael Lotz
8c2a9d7433 bonefish+mmlr:
As (our) gcc unfortunately uses atexit() to clean up lazily initialized static
variables inside functions we have to ensure that we do the right thing with
unloadable shared objects. In case a shared object was unloaded that installed
an atexit() hook the application would crash on exit. We now implement a
callback into libroot that is used to call all the atexit() hooks of a
component that is to be unloaded. Most prominently this fixes the media_server
crash at shutdown.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 12:08:34 +00:00
Marcus Overhagen
c4bf6940f5 Fixed timeouts, they were too small.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 12:02:13 +00:00
François Revol
2504405008 * jmp is x86...
* make the checksumer build under linux and fix it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 11:57:11 +00:00
François Revol
551d3012d8 * Moved checksum to where it should be.
* Added tool to calculate the checksum (TOS wants a real one to 1234, not aa55).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 10:53:35 +00:00
Marcus Overhagen
df0e96bcef fixed a crash during device identification
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 09:41:40 +00:00
François Revol
4982c437ad Forgot a param.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 09:38:56 +00:00
François Revol
286edb37ca 1st try at floppy bootsector.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 09:31:53 +00:00
Axel Dörfler
8e43ece8b8 Some more work on the tracing API:
* Added function to allocate space in the buffer.
* Dump() now fills a buffer instead of printing its data directly.
* This allows the new "#pattern" argument of the "traced" command to 
  work. When you're using that, the index of the trace entry is printed
  out, too, so that you can then get a full dump around the hits.
* Added an AddDump() method to the AbstractTraceEntry class so that 
  there is no need to call the inherited function anymore.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 02:50:32 +00:00
Marcus Overhagen
a5ec34950d Allow ata_request_set_sense and ata_request_set_status to be called with NULL request pointer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 02:42:19 +00:00
François Revol
2ac7892801 Fake system_time() for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 01:57:31 +00:00
François Revol
c302a6742b Missed this file to the club.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 01:54:11 +00:00
Marcus Overhagen
02193d0df5 improved timeout handling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 01:54:08 +00:00
Marcus Overhagen
d5c05044c6 ATAPI fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 01:50:58 +00:00
François Revol
86047718fb * shell.S must be first
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 01:45:45 +00:00
François Revol
110abe94eb Make it compile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 01:41:25 +00:00
François Revol
b1e9164f9c Entry point for .prg / bootfloppy for zbeos.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 01:38:06 +00:00
François Revol
30b14f3c01 More #if 0
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 01:15:46 +00:00
François Revol
6d45e991b5 #if out x86 stuff to try to build zbeos
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 01:12:40 +00:00
François Revol
246ab5c53f * Add atari memory map defs.
* Add osheader defs.
* Check for FPU.
* note on prg vs bootsector.
* mmu stuff.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 01:07:20 +00:00
Jérôme Duval
98456ae281 check the allocation of the name list
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 00:58:27 +00:00
Axel Dörfler
2eceeabaea Fix comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 00:27:05 +00:00
Axel Dörfler
d7477802b8 * Made the additions of the KDL debugger commands independant from the
DEBUG macro; they are now added only if BFS_DEBUGGER_COMMANDS is 
  defined (which is now done by default in the Jamfile).
* Added "bfs" KDL command which dumps volume information and the super
  block.
* Made use of the new tracing API to trace block and inode actions
  (and the new AbstractTraceEntry class I forgot to mention in the last
  commit). Is compiled in only when BFS_TRACING is enabled (defaults to
  off in the standard builds).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 00:03:53 +00:00
Marcus Overhagen
f44927fccb Do a shorter wait during identify command, and retry it once to find atapi drives that report a wrong signature
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 00:00:58 +00:00
Axel Dörfler
d1ba9c8adc Fixed warnings when building the bfs_shell.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 23:58:56 +00:00