Line 1... |
Line 1... |
// #################################################################################################
|
// #################################################################################################
|
// # << NEORV32: neorv32_rte.h - NEORV32 Runtime Environment >> #
|
// # << NEORV32: neorv32_rte.h - NEORV32 Runtime Environment >> #
|
// # ********************************************************************************************* #
|
// # ********************************************************************************************* #
|
// # BSD 3-Clause License #
|
// # BSD 3-Clause License #
|
// # #
|
// # #
|
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. #
|
// # Copyright (c) 2021, Stephan Nolting. All rights reserved. #
|
// # #
|
// # #
|
// # Redistribution and use in source and binary forms, with or without modification, are #
|
// # Redistribution and use in source and binary forms, with or without modification, are #
|
// # permitted provided that the following conditions are met: #
|
// # permitted provided that the following conditions are met: #
|
// # #
|
// # #
|
// # 1. Redistributions of source code must retain the above copyright notice, this list of #
|
// # 1. Redistributions of source code must retain the above copyright notice, this list of #
|
Line 41... |
Line 41... |
|
|
#ifndef neorv32_rte_h
|
#ifndef neorv32_rte_h
|
#define neorv32_rte_h
|
#define neorv32_rte_h
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* RTE trap IDs.
|
* NEORV32 runtime environment trap IDs.
|
**************************************************************************/
|
**************************************************************************/
|
enum NEORV32_RTE_TRAP_enum {
|
enum NEORV32_RTE_TRAP_enum {
|
RTE_TRAP_I_MISALIGNED = 0, /**< Instruction address misaligned */
|
RTE_TRAP_I_MISALIGNED = 0, /**< Instruction address misaligned */
|
RTE_TRAP_I_ACCESS = 1, /**< Instruction (bus) access fault */
|
RTE_TRAP_I_ACCESS = 1, /**< Instruction (bus) access fault */
|
RTE_TRAP_I_ILLEGAL = 2, /**< Illegal instruction */
|
RTE_TRAP_I_ILLEGAL = 2, /**< Illegal instruction */
|
Line 74... |
Line 74... |
void neorv32_rte_print_hw_version(void);
|
void neorv32_rte_print_hw_version(void);
|
void neorv32_rte_print_credits(void);
|
void neorv32_rte_print_credits(void);
|
void neorv32_rte_print_logo(void);
|
void neorv32_rte_print_logo(void);
|
void neorv32_rte_print_license(void);
|
void neorv32_rte_print_license(void);
|
|
|
|
uint32_t neorv32_rte_get_compiler_isa(void);
|
|
int neorv32_rte_check_isa(int silent);
|
|
|
#endif // neorv32_rte_h
|
#endif // neorv32_rte_h
|
|
|
No newline at end of file
|
No newline at end of file
|