Skip to content
Commit c88dae57 authored by Johan Hedberg's avatar Johan Hedberg Committed by Anas Nashif
Browse files

x86: early_serial: Suppress output attempts prior to init



Until now, any attempts to call printk prior to early serial init has
caused page faults due to the device not being mapped yet. Add static
variable to track the pre-init status, and instead of page faulting
just suppress the characters and log a warning right after init to
give an indication that output characters have been lost.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 7628eb51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment