rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
log_hard_fault.h
Go to the documentation of this file.
1#pragma once
2
3
4#ifdef __cplusplus
5extern "C"
6{
7#endif /* __cplusplus */
8
9#if EFI_PROD_CODE
10#include <hal.h>
11
12void logHardFault(uint32_t type, uintptr_t faultAddress, void* sp, port_extctx* ctx, uint32_t csfr);
13#endif // EFI_PROD_CODE
14
15#ifdef __cplusplus
16}
17#endif /* __cplusplus */
void logHardFault(uint32_t type, uintptr_t faultAddress, void *sp, port_extctx *ctx, uint32_t csfr)