US 12,461,804 B2
Periodically determining a stack error using a direct memory access call
Avinash Halageri, Karnataka (IN); and Swathi G. Bhat, Karnataka (IN)
Assigned to Microchip Technology Incorporated, Chandler, AZ (US)
Filed by Microchip Technology Incorporated, Chandler, AZ (US)
Filed on Jun. 18, 2024, as Appl. No. 18/746,687.
Claims priority of application No. 202411034017 (IN), filed on Apr. 29, 2024.
Prior Publication US 2025/0335281 A1, Oct. 30, 2025
Int. Cl. G06F 11/00 (2006.01); G06F 11/07 (2006.01)
CPC G06F 11/0754 (2013.01) [G06F 11/073 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
periodically determining whether a stack pointer is beyond a limit in a stack through a direct memory access (DMA) call; and
identifying a stack error based on a determination that the stack pointer is beyond the limit in the stack;
wherein a periodicity of the determination of whether the stack pointer is beyond the limit in the stack through the DMA call is based on a size of space between the stack pointer and the limit in the stack.