Patent ID: 11907774
Assignee: LUTRON TECHNOLOGY COMPANY LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A non-transitory, machine-readable, storage device that includes instructions that, when executed by processor circuitry, causes the processor circuitry to:
responsive to a call by an operating system (OS) update application using a OS stack to execute a boot function included with a boot loader application using a boot stack:
determine whether the stack pointer register points to the OS stack or points to a boot stack associated with the boot loader application;
copy first data values the OS stack to the boot stack responsive to the determination that the stack pointer register points to the OS stack;
transition the stack pointer register to point from the OS stack to the boot stack; and

execute the boot function using the boot stack and the first data values copied from the OS stack; and
responsive to completion of the boot function using the boot stack:
copy second data values generated by the execution of the boot function using the boot stack from the boot stack to the OS stack;
transition the stack pointer register from the boot stack to point to the OS stack;
and
continue execution of the OS update application using the OS stack and the second data values copied from the boot stack.