summaryrefslogtreecommitdiff
path: root/lib/sbi_console.c
AgeCommit message (Collapse)Author
2019-01-24all: Update copyright header in all filesAnup patel
This patch updates copyright header in all files as follows: 1. Makes "SPDX-License-Identifier: BSD-2-Clause" as first line 2. Change copyright year to 2019 for Western Digital Signed-off-by: Anup Patel <[email protected]>
2019-01-21lib: code cleanupDamien Le Moal
Use commonly accepted styles: newlines after declarations and before return to make the code more readable. Signed-off-by: Damien Le Moal <[email protected]>
2018-12-21console: protect output with a spinlockDamien Le Moal
Avoid getting messages from multiple harts mingled into garbage text with a spinlock serializing calls to sbi_puts() and sbi_printf(). Signed-off-by: Damien Le Moal <[email protected]>
2018-12-20Support unsigned long in sbi_printfAtish Patra
Signed-off-by: Atish Patra <[email protected]>
2018-12-20Support /r/n as newline character.Atish Patra
Signed-off-by: Atish Patra <[email protected]>
2018-12-11Initial commit.Anup Patel
Signed-off-by: Anup Patel <[email protected]>