Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
b857b833
Commit
b857b833
authored
Feb 25, 2020
by
Mark Dykes
Committed by
TrustedFirmware Code Review
Feb 25, 2020
Browse files
Merge "console: Integrate UART base address in generic console_t" into integration
parents
02ad9cd6
ac71344e
Changes
1
Show whitespace changes
Inline
Side-by-side
include/drivers/console.h
View file @
b857b833
...
...
@@ -14,7 +14,8 @@
#define CONSOLE_T_PUTC (U(2) * REGSZ)
#define CONSOLE_T_GETC (U(3) * REGSZ)
#define CONSOLE_T_FLUSH (U(4) * REGSZ)
#define CONSOLE_T_DRVDATA (U(5) * REGSZ)
#define CONSOLE_T_BASE (U(5) * REGSZ)
#define CONSOLE_T_DRVDATA (U(6) * REGSZ)
#define CONSOLE_FLAG_BOOT (U(1) << 0)
#define CONSOLE_FLAG_RUNTIME (U(1) << 1)
...
...
@@ -43,6 +44,7 @@ typedef struct console {
int
(
*
const
putc
)(
int
character
,
struct
console
*
console
);
int
(
*
const
getc
)(
struct
console
*
console
);
int
(
*
const
flush
)(
struct
console
*
console
);
uintptr_t
base
;
/* Additional private driver data may follow here. */
}
console_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment