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

Claim 5:
6. A method comprising:
responsive to a call by an operating system (OS) update application executed by processor circuitry using a OS stack to execute a boot function included with a boot loader application using a boot stack:
determining, by the processor circuitry, whether the stack pointer register points to the OS stack or points to the boot stack;
copying, by the processor circuitry, first data values from the OS stack to the boot stack responsive to the determination that the stack pointer register points to the OS stack;
transitioning the stack pointer register to point from the OS stack to the boot stack; and executing, by the processor circuitry, the boot function using the boot stack and the first data values copied from the OS stack;

responsive to completion of the boot function;
copying, by the processor circuitry, second data values generated by the execution of the boot function using the boot stack from the boot stack to the OS stack;
transitioning, by the processor circuitry, the stack pointer register from the boot stack to point to the OS stack; and
continuing, by the processor circuitry, execution of the OS update application using the OS stack.