2 * Copyright 2008, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * François Revol, revol@free.fr
11 #include <driver_settings.h>
14 static isa_module_info
*sISAModule
;
18 debugger_puts(const char *s
, int32 length
)
21 for (i
= 0; i
< length
; i
++)
22 sISAModule
->write_io_8(0xe9, s
[i
]);
28 std_ops(int32 op
, ...)
35 handle
= load_driver_settings("kernel");
37 load
= get_driver_boolean_parameter(handle
,
38 "bochs_debug_output", load
, true);
39 unload_driver_settings(handle
);
42 if (get_module(B_ISA_MODULE_NAME
, (module_info
**)&sISAModule
) < B_OK
)
45 return load
? B_OK
: B_ERROR
;
47 put_module(B_ISA_MODULE_NAME
);
54 static struct debugger_module_info sModuleInfo
= {
66 module_info
*modules
[] = {
67 (module_info
*)&sModuleInfo
,