zephyr/soc/posix/inf_clock/posix_board_if.h
Kumar Gala a1b77fd589 zephyr: replace zephyr integer types with C99 types
git grep -l 'u\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g"
	git grep -l 's\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g"

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-06-08 08:23:57 -05:00

33 lines
617 B
C

/*
* Copyright (c) 2017 Oticon A/S
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _POSIX_CORE_BOARD_PROVIDED_IF_H
#define _POSIX_CORE_BOARD_PROVIDED_IF_H
#include "zephyr/types.h"
/*
* This file lists the functions the posix "inf_clock" soc
* expect the the board to provide
*
* All functions listed here must be provided by the implementation of the board
*
* See soc_irq.h for more
*/
#ifdef __cplusplus
extern "C" {
#endif
void posix_irq_handler(void);
void posix_exit(int exit_code);
uint64_t posix_get_hw_cycle(void);
#ifdef __cplusplus
}
#endif
#endif /* _POSIX_CORE_BOARD_PROVIDED_IF_H */