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
776bd2b6
Unverified
Commit
776bd2b6
authored
Oct 12, 2018
by
Dimitris Papastamos
Committed by
GitHub
Oct 12, 2018
Browse files
Merge pull request #1630 from antonio-nino-diaz-arm/an/fix-console
pl011: cnds: cbmem: 16550: Fix comments
parents
02126db8
65199dc8
Changes
5
Show whitespace changes
Inline
Side-by-side
drivers/arm/pl011/aarch32/pl011_console.S
View file @
776bd2b6
...
@@ -89,8 +89,9 @@ endfunc console_pl011_core_init
...
@@ -89,8 +89,9 @@ endfunc console_pl011_core_init
.
globl
console_pl011_register
.
globl
console_pl011_register
/
*
-------------------------------------------------------
/
*
-------------------------------------------------------
*
init
console_pl011_register
(
console_pl011_t
*
console
,
*
int
console_pl011_register
(
uintptr_t
baseaddr
,
*
uintptr_t
base
,
uint32_t
clk
,
uint32_t
baud
)
*
uint32_t
clock
,
uint32_t
baud
,
*
console_pl011_t
*
console
)
;
*
Function
to
initialize
and
register
a
new
PL011
*
Function
to
initialize
and
register
a
new
PL011
*
console
.
Storage
passed
in
for
the
console
struct
*
console
.
Storage
passed
in
for
the
console
struct
*
*
must
*
be
persistent
(
i
.
e
.
not
from
the
stack
)
.
*
*
must
*
be
persistent
(
i
.
e
.
not
from
the
stack
)
.
...
...
drivers/arm/pl011/aarch64/pl011_console.S
View file @
776bd2b6
...
@@ -85,8 +85,9 @@ endfunc console_pl011_core_init
...
@@ -85,8 +85,9 @@ endfunc console_pl011_core_init
.
globl
console_pl011_register
.
globl
console_pl011_register
/
*
-----------------------------------------------
/
*
-----------------------------------------------
*
int
console_pl011_register
(
console_pl011_t
*
console
,
*
int
console_pl011_register
(
uintptr_t
baseaddr
,
uintptr_t
base
,
uint32_t
clk
,
uint32_t
baud
)
*
uint32_t
clock
,
uint32_t
baud
,
*
console_pl011_t
*
console
)
;
*
Function
to
initialize
and
register
a
new
PL011
*
Function
to
initialize
and
register
a
new
PL011
*
console
.
Storage
passed
in
for
the
console
struct
*
console
.
Storage
passed
in
for
the
console
struct
*
*
must
*
be
persistent
(
i
.
e
.
not
from
the
stack
)
.
*
*
must
*
be
persistent
(
i
.
e
.
not
from
the
stack
)
.
...
...
drivers/cadence/uart/aarch64/cdns_console.S
View file @
776bd2b6
...
@@ -54,8 +54,9 @@ endfunc console_cdns_core_init
...
@@ -54,8 +54,9 @@ endfunc console_cdns_core_init
.
globl
console_cdns_register
.
globl
console_cdns_register
/
*
-----------------------------------------------
/
*
-----------------------------------------------
*
int
console_cdns_register
(
console_cdns_t
*
console
,
*
int
console_cdns_register
(
uint64_t
baseaddr
,
uintptr_t
base
,
uint32_t
clk
,
uint32_t
baud
)
*
uint32_t
clock
,
uint32_t
baud
,
*
console_cdns_t
*
console
)
;
*
Function
to
initialize
and
register
a
new
CDNS
*
Function
to
initialize
and
register
a
new
CDNS
*
console
.
Storage
passed
in
for
the
console
struct
*
console
.
Storage
passed
in
for
the
console
struct
*
*
must
*
be
persistent
(
i
.
e
.
not
from
the
stack
)
.
*
*
must
*
be
persistent
(
i
.
e
.
not
from
the
stack
)
.
...
...
drivers/coreboot/cbmem_console/aarch64/cbmem_console.S
View file @
776bd2b6
...
@@ -19,8 +19,8 @@
...
@@ -19,8 +19,8 @@
.
globl
console_cbmc_flush
.
globl
console_cbmc_flush
/
*
-----------------------------------------------
/
*
-----------------------------------------------
*
int
console_cbmc_register
(
console_cbmc_t
*
consol
e
,
*
int
console_cbmc_register
(
uintptr_t
bas
e
,
*
uintptr_t
bas
e
)
*
console_cbmc_t
*
consol
e
)
;
*
Registers
a
new
CBMEM
console
instance
.
Reads
*
Registers
a
new
CBMEM
console
instance
.
Reads
*
the
size
field
from
the
buffer
header
structure
*
the
size
field
from
the
buffer
header
structure
*
and
stores
it
in
our
console_cbmc_t
struct
,
so
*
and
stores
it
in
our
console_cbmc_t
struct
,
so
...
...
drivers/ti/uart/aarch64/16550_console.S
View file @
776bd2b6
...
@@ -87,8 +87,9 @@ endfunc console_16550_core_init
...
@@ -87,8 +87,9 @@ endfunc console_16550_core_init
.
globl
console_16550_register
.
globl
console_16550_register
/
*
-----------------------------------------------
/
*
-----------------------------------------------
*
int
console_16550_register
(
console_16550_t
*
console
,
*
int
console_16550_register
(
uintptr_t
baseaddr
,
uintptr_t
base
,
uint32_t
clk
,
uint32_t
baud
)
*
uint32_t
clock
,
uint32_t
baud
,
*
console_16550_t
*
console
)
;
*
Function
to
initialize
and
register
a
new
16550
*
Function
to
initialize
and
register
a
new
16550
*
console
.
Storage
passed
in
for
the
console
struct
*
console
.
Storage
passed
in
for
the
console
struct
*
*
must
*
be
persistent
(
i
.
e
.
not
from
the
stack
)
.
*
*
must
*
be
persistent
(
i
.
e
.
not
from
the
stack
)
.
...
...
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