blob: 30b39f14d9bf4d156a64801534413258b6d8c1b7 [file] [log] [blame]
Julius Werner385176d2017-06-13 15:53:45 -07001/*
2 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef CBMEM_CONSOLE_H
8#define CBMEM_CONSOLE_H
Julius Werner385176d2017-06-13 15:53:45 -07009
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000010#include <drivers/console.h>
Julius Werner385176d2017-06-13 15:53:45 -070011
Andre Przywarac2f8d6d2020-01-25 01:07:19 +000012#define CONSOLE_T_CBMC_SIZE CONSOLE_T_DRVDATA
Julius Werner385176d2017-06-13 15:53:45 -070013
14#ifndef __ASSEMBLER__
15
16typedef struct {
17 console_t console;
Julius Werner385176d2017-06-13 15:53:45 -070018 uint32_t size;
19} console_cbmc_t;
20
21int console_cbmc_register(uintptr_t base, console_cbmc_t *console);
22
23#endif /* __ASSEMBLER__ */
24
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000025#endif /* CBMEM_CONSOLE_H */