Loading...
Searching...
No Matches
syscalls_common.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Gunar Schorcht
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
19
20#include <stdarg.h>
21#include <stdbool.h>
22#include <stdint.h>
23#include <stdlib.h>
24
25#include "esp_common.h"
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
32void syscalls_init(void);
33
35unsigned int get_free_heap_size(void);
36
38uint32_t system_get_time(void);
39
41uint32_t system_get_time_ms(void);
42
44void *system_secure_memset(void *s, int c, size_t n);
45
46#ifdef __cplusplus
47}
48#endif
Common helper macros for ESP SoCs.
void syscalls_init(void)
Necessary initializations of system call functions.
void * system_secure_memset(void *s, int c, size_t n)
memset version that the compiler should not be allowed to optimize this
uint32_t system_get_time_ms(void)
Time since boot in ms (32bit version)
uint32_t system_get_time(void)
Time since boot in us (32bit version)
unsigned int get_free_heap_size(void)
Determine free heap size.