Invention Grant
- Patent Title: Method for allocating memory
-
Application No.: US16070688Application Date: 2016-12-23
-
Publication No.: US10606498B2Publication Date: 2020-03-31
- Inventor: James Crosby , Brendan James Moran
- Applicant: Arm IP Limited
- Applicant Address: GB Cambridge
- Assignee: Arm IP Limited
- Current Assignee: Arm IP Limited
- Current Assignee Address: GB Cambridge
- Agency: Leveque IP Law, P.C.
- Priority: GB1601003.5 20160119; GB1617459.1 20160119
- International Application: PCT/GB2016/054053 WO 20161223
- International Announcement: WO2017/125711 WO 20170727
- Main IPC: G06F3/06
- IPC: G06F3/06 ; G06F12/02 ; G06F13/24

Abstract:
A method for managing a discontinuous call stack is disclosed to more efficiently use the memory of devices without a memory management unit. The method comprising: storing a stack location indicator indicating a top of said discontinuous call stack in a data store; using said stack location indicator to identify a current memory block of said discontinuous call stack from said plurality of memory blocks, said current memory block storing said top of said discontinuous call stack and a previous location indicator indicating a location of a previous memory block of said discontinuous call stack; determining an amount of memory available in said current memory block; determining an amount of memory required for a stack frame; determining an amount of memory required for an interrupt allowance; allocating said stack frame and said interrupt allowance at least one memory block from said plurality of memory blocks in response to said determinations; storing said stack frame in said allocated memory block; and updating said stack location indicator in said data store.
Public/Granted literature
- US20190026024A1 METHOD FOR ALLOCATING MEMORY Public/Granted day:2019-01-24
Information query