only:dead

This commit is contained in:
rusefillc 2024-02-16 19:05:41 -05:00
parent 3bdce9d2f3
commit 43c0bda002
6 changed files with 4 additions and 18 deletions

View File

@ -75,7 +75,6 @@
#define EFI_SIGNAL_EXECUTOR_SLEEP FALSE
#define EFI_SIGNAL_EXECUTOR_ONE_TIMER TRUE
#define EFI_SIGNAL_EXECUTOR_HW_TIMER FALSE
#define FUEL_MATH_EXTREME_LOGGING FALSE

View File

@ -82,7 +82,6 @@
#define EFI_SIGNAL_EXECUTOR_SLEEP FALSE
#define EFI_SIGNAL_EXECUTOR_ONE_TIMER TRUE
#define EFI_SIGNAL_EXECUTOR_HW_TIMER FALSE
#define FUEL_MATH_EXTREME_LOGGING FALSE

View File

@ -162,7 +162,6 @@
#define EFI_SIGNAL_EXECUTOR_SLEEP FALSE
#define EFI_SIGNAL_EXECUTOR_ONE_TIMER TRUE
#define EFI_SIGNAL_EXECUTOR_HW_TIMER FALSE
#define FUEL_MATH_EXTREME_LOGGING FALSE

View File

@ -143,14 +143,6 @@ static void sayHello() {
efiPrintf("EFI_TUNER_STUDIO=%d", 0);
#endif
#ifdef EFI_SIGNAL_EXECUTOR_SLEEP
efiPrintf("EFI_SIGNAL_EXECUTOR_SLEEP=%d", EFI_SIGNAL_EXECUTOR_SLEEP);
#endif
#ifdef EFI_SIGNAL_EXECUTOR_HW_TIMER
efiPrintf("EFI_SIGNAL_EXECUTOR_HW_TIMER=%d", EFI_SIGNAL_EXECUTOR_HW_TIMER);
#endif
#if defined(EFI_SHAFT_POSITION_INPUT)
efiPrintf("EFI_SHAFT_POSITION_INPUT=%d", EFI_SHAFT_POSITION_INPUT);
#endif

View File

@ -20,7 +20,7 @@ bit_cast(const From& src) noexcept
static_assert(std::is_trivially_constructible_v<To>,
"This implementation additionally requires "
"destination type to be trivially constructible");
To dst;
std::memcpy(&dst, &src, sizeof(To));
return dst;
@ -61,9 +61,10 @@ private:
*/
#pragma pack(push, 4)
struct scheduling_s {
#if EFI_SIGNAL_EXECUTOR_SLEEP
#if EFI_SIMULATOR
// used by signal_executor_sleep executor implementation
virtual_timer_t timer;
#endif /* EFI_SIGNAL_EXECUTOR_SLEEP */
#endif /* EFI_SIMULATOR */
/**
* timestamp represented as 64-bit value of ticks since MCU start

View File

@ -30,8 +30,6 @@
bool printSchedulerDebug = true;
#endif // EFI_PRINTF_FUEL_DETAILS
#if EFI_SIGNAL_EXECUTOR_SLEEP
struct CallbackContext
{
scheduling_s* scheduling = nullptr;
@ -119,5 +117,3 @@ void SleepExecutor::cancel(scheduling_s* s) {
s->action = {};
}
#endif /* EFI_SIGNAL_EXECUTOR_SLEEP */