[haiku-commits] Change in haiku[master]: kernel/x86: Reimplement locking for early boot message output.

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 1 Jan 2019 23:47:23 +0000

From Michael Lotz <mmlr@xxxxxxxx>:

Michael Lotz has uploaded this change for review. ( 
https://review.haiku-os.org/808


Change subject: kernel/x86: Reimplement locking for early boot message output.
......................................................................

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.
---
M src/system/kernel/arch/x86/arch_debug_console.cpp
1 file changed, 20 insertions(+), 5 deletions(-)



  git pull ssh://git.haiku-os.org/haiku refs/changes/08/808/1
--
To view, visit https://review.haiku-os.org/808
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica894389330ef481eec84b667234139746ac4a46
Gerrit-Change-Number: 808
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Lotz <mmlr@xxxxxxxx>

Other related posts:

  • » [haiku-commits] Change in haiku[master]: kernel/x86: Reimplement locking for early boot message output. - Gerrit