A vehicular control system includes an electronic control unit (ECU) that includes (i) a next stack activation size hardware register and (ii) a hardware memory initializer configured to initialize memory. The ECU determines a maximum stack size of a vehicle control function called by a root function. The vehicle control function controls a system of the equipped vehicle. The next stack activation size hardware register stores a value equivalent to the determined maximum stack size of the first function. The ECU, prior to executing the vehicle function and while executing the root function, triggers execution of the hardware memory initializer. The hardware memory initializer initializes memory in parallel with execution of the root function based on the next stack activation size hardware register. The ECU executes the vehicle control function responsive to receiving an indication of completion from the hardware memory initializer indicating the memory initialization is complete.
VEHICULAR CONTROL SYSTEM WITH AUTOMATIC STACK CLEARING OF STACK FRAME
2022-01-13
Patent
Electronic Resource
English
IPC: | B60W CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION , Gemeinsame Steuerung oder Regelung von Fahrzeug-Unteraggregaten verschiedenen Typs oder verschiedener Funktion / B60R Fahrzeuge, Fahrzeugausstattung oder Fahrzeugteile, soweit nicht anderweitig vorgesehen , VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR |
Vehicular control system with automatic stack clearing of stack frame
European Patent Office | 2023
|