#
44a1cfb8 |
|
01-Jan-2019 |
Michael Lotz <mmlr@mlotz.ch> |
kernel/x86: Reimplement locking for early boot message output. The normal locking uses spinlocks that require getting at the current CPU, which in turn needs a current thread set. This has not been set up at this point and would simply cause tripple faults. Use manual locking using atomic ops instead. Change-Id: Ica894389330ef481eec84b667234139746ac4a46 Reviewed-on: https://review.haiku-os.org/808 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
0835170c |
|
20-Nov-2017 |
François Revol <revol@free.fr> |
Actually use the serial port and speed from the kernel settings Turns out we just reused the already set values, disregarding the new ones.
|
#
7db89e8d |
|
25-Nov-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
kernel: Rework cpuidle module * Create new interface for cpuidle modules (similar to the cpufreq interface) * Generic cpuidle module is no longer needed * Fix and update Intel C-State module
|
#
0a187107 |
|
13-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
arch_debug_serial_[try_]getchar(): Look at the line status we read a bit closer before assuming we have data. If the I/O port isn't valid (e.g. because there is no serial port) 0xff seems to be a typical value to read. In that case fail. Fixes KDL input on machines without serial port -- kgetc() would always think it read something from the serial port, never trying any other input. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42153 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e823d4a6 |
|
13-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Small refactoring: Moved serial port initialization to helper function. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42150 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8bcc50c3 |
|
12-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added arch_debug_blue_screen_try_getchar() and arch_debug_serial_try_getchar() which don't wait for a character, but return -1 when no character is available ATM. Implemented correctly for x86 only. * Changed the semantics of the debugger_module_info::debugger_getchar() hook. It is supposed to return immediately now. * Adjusted usb_keyboard accordingly. Hacked UHCI's debug_process_transfer() to achieve that. It does now start, check, or cancel a transfer. Split UHCI::ProcessDebugTransfer() into StartDebugTransfer(), and CheckDebugTransfer() accordingly, and also added a CancelDebugTransfer(). The latter seems to have issues. Michael, please have a look. I have no clue what I'm doing. :-) * Adjusted kgetc() to poll all possible inputs using the new functions/semantics. This allows to use any input (USB, PS/2, serial) in KDL. * Removed the no longer needed "serial_input" command. * read_line(): Also support 0x7f as backspace code. That's what xterm sends. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42126 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0b58d844 |
|
20-Dec-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Prefixed the INCLUDE_GPL_ADDONS variable by "HAIKU_". configure needs to be run again or generated/build/BuildConfig needs to be adjusted manually. * Removed bochs debug hack. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34721 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bd185b41 |
|
01-Dec-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
*.c -> *.cpp git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34417 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7db89e8dc395db73368479fd9817b2b67899f3f6 |
|
25-Nov-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
kernel: Rework cpuidle module * Create new interface for cpuidle modules (similar to the cpufreq interface) * Generic cpuidle module is no longer needed * Fix and update Intel C-State module
|
#
0a187107e7004389e4b43d8ace038b5d6ea60600 |
|
13-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
arch_debug_serial_[try_]getchar(): Look at the line status we read a bit closer before assuming we have data. If the I/O port isn't valid (e.g. because there is no serial port) 0xff seems to be a typical value to read. In that case fail. Fixes KDL input on machines without serial port -- kgetc() would always think it read something from the serial port, never trying any other input. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42153 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e823d4a6be5f1f936a4fc40d5bde1eb594e1a1e8 |
|
13-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Small refactoring: Moved serial port initialization to helper function. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42150 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8bcc50c336108e882e215c8c5cec57155464edf4 |
|
12-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added arch_debug_blue_screen_try_getchar() and arch_debug_serial_try_getchar() which don't wait for a character, but return -1 when no character is available ATM. Implemented correctly for x86 only. * Changed the semantics of the debugger_module_info::debugger_getchar() hook. It is supposed to return immediately now. * Adjusted usb_keyboard accordingly. Hacked UHCI's debug_process_transfer() to achieve that. It does now start, check, or cancel a transfer. Split UHCI::ProcessDebugTransfer() into StartDebugTransfer(), and CheckDebugTransfer() accordingly, and also added a CancelDebugTransfer(). The latter seems to have issues. Michael, please have a look. I have no clue what I'm doing. :-) * Adjusted kgetc() to poll all possible inputs using the new functions/semantics. This allows to use any input (USB, PS/2, serial) in KDL. * Removed the no longer needed "serial_input" command. * read_line(): Also support 0x7f as backspace code. That's what xterm sends. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42126 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0b58d8440cdd5ffb87ff7ec5e8938818a68ec261 |
|
20-Dec-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Prefixed the INCLUDE_GPL_ADDONS variable by "HAIKU_". configure needs to be run again or generated/build/BuildConfig needs to be adjusted manually. * Removed bochs debug hack. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34721 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bd185b4117e06c1674c4d214abc3917acedc560d |
|
01-Dec-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
*.c -> *.cpp git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34417 a95241bf-73f2-0310-859d-f6bbb57e9c96
|