commit | c88dae574c06ed6a86789acbec2a1af1da9f900c | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Dec 30 15:31:55 2020 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Jan 15 11:01:23 2021 -0500 |
tree | baa1fc82b605e9a0468f7c215ea8a5ddf6e82d44 | |
parent | 7628eb51f19da33157aa201f04884b431542b458 [diff] |
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: Johan Hedberg <johan.hedberg@intel.com>