Skip to content
This repository was archived by the owner on Jun 8, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions armv7a/hwlib/include/soc_a10/alt_clock_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@

#include "hwlib.h"

#ifdef __cplusplus
extern "C"
{
#endif

typedef uint32_t alt_freq_t;

/* ------------------------------------------------------------------
Expand Down Expand Up @@ -298,4 +303,7 @@ ALT_STATUS_CODE alt_clk_clock_enable(ALT_CLK_t clk);
*/
ALT_STATUS_CODE alt_clk_is_enabled(ALT_CLK_t clk);

#ifdef __cplusplus
}
#endif
#endif /* #ifndef __ALT_CLK_MGR_H__ */
8 changes: 8 additions & 0 deletions armv7a/hwlib/include/soc_a10/alt_sdram.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
#include "alt_interrupt.h"
#include "socal/hps.h"

#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */


/*****************************************************************************/
/*! \addtogroup ALT_SDRAM SDRam Controller API
Expand Down Expand Up @@ -282,4 +287,7 @@ ALT_STATUS_CODE alt_sdr_firewall_get(ALT_SDR_MEM_TARGET_t target, ALT_SDR_FIREWA

/*! @} */

#ifdef __cplusplus
}
#endif
#endif