rusEFI
The most advanced open source ECU
bootloader
src
rusefi_stubs.cpp
Go to the documentation of this file.
1
#include "
pch.h
"
2
3
#include "
hardware.h
"
4
5
/*
6
* We need only a small portion of code from rusEFI codebase in the bootloader.
7
* Mostly it's tunerstudio_io.cpp. And other files like efi_gpio.cpp etc. needed only to make it work.
8
* And stubs needed just to settle down compiler errors.
9
* The whole idea of bootloader is to make it as small as possible. And reasonably independent.
10
*/
11
12
void
chDbgPanic3
(
const
char
*
/*msg*/
,
const
char
*
/*file*/
,
int
/*line*/
) {
13
}
14
15
void
logHardFault
(uint32_t type, uintptr_t faultAddress,
struct
port_extctx* ctx, uint32_t csfr) { }
16
17
void
setPinConfigurationOverrides
() { }
18
19
// this is supposed to be taken from chconf_common.h but it does not work? I am not sure why :(
20
// TODO: make this be defined by chconf_common.h?
21
//#if ! ENABLE_PERF_TRACE
22
void
irqEnterHook
() {}
23
void
irqExitHook
() {}
24
void
contextSwitchHook
() {}
25
void
threadInitHook
(
void
*) {}
26
void
onLockHook
() {}
27
void
onUnlockHook
() {}
28
//#endif /* ENABLE_PERF_TRACE */
hardware.h
pch.h
irqExitHook
void irqExitHook()
Definition:
rusefi_stubs.cpp:23
threadInitHook
void threadInitHook(void *)
Definition:
rusefi_stubs.cpp:25
logHardFault
void logHardFault(uint32_t type, uintptr_t faultAddress, struct port_extctx *ctx, uint32_t csfr)
Definition:
rusefi_stubs.cpp:15
chDbgPanic3
void chDbgPanic3(const char *, const char *, int)
Definition:
rusefi_stubs.cpp:12
irqEnterHook
void irqEnterHook()
Definition:
rusefi_stubs.cpp:22
onLockHook
void onLockHook()
Definition:
rusefi_stubs.cpp:26
contextSwitchHook
void contextSwitchHook()
Definition:
rusefi_stubs.cpp:24
onUnlockHook
void onUnlockHook()
Definition:
rusefi_stubs.cpp:27
setPinConfigurationOverrides
void setPinConfigurationOverrides()
Definition:
rusefi_stubs.cpp:17
Generated on Thu Dec 28 2023 00:29:31 for rusEFI by
1.9.1