Invention Grant
US09529625B2 Method and system for providing stack memory management in real-time operating systems
有权
在实时操作系统中提供堆栈内存管理的方法和系统
- Patent Title: Method and system for providing stack memory management in real-time operating systems
- Patent Title (中): 在实时操作系统中提供堆栈内存管理的方法和系统
-
Application No.: US14676366Application Date: 2015-04-01
-
Publication No.: US09529625B2Publication Date: 2016-12-27
- Inventor: Tushar Vrind , Balaji Somu Kandaswamy , Raju Siddappa Udava , Venkata Raju Indukuri
- Applicant: Samsung Electronics Co., Ltd.
- Applicant Address: KR
- Assignee: Samsung Electronics Co., Ltd
- Current Assignee: Samsung Electronics Co., Ltd
- Current Assignee Address: KR
- Agency: The Farrell Law Firm, P.C.
- Priority: KR10-2015-0021030 20150211
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/48 ; G06F9/50

Abstract:
A method and system for providing memory management in a Real-Time Operating System (RTOS) based system are provided. The method includes creating a plurality of tasks with a two level stack scheme comprising a first level stack and a second level stack, scheduling a first task for execution by moving a stack pointer from the first level stack to the second level stack, determining whether the first task is pre-empted, allocating the second level stack to the first task in a second state if the first task is not pre-empted, changing an active task for execution, determining whether the first task relinquishes control from the second state and is waiting for a resource, moving the stack pointer back from the second level stack to the first level stack if the first task relinquishes itself and providing the second level stack for use by a second task.
Public/Granted literature
- US20150277977A1 METHOD AND SYSTEM FOR PROVIDING STACK MEMORY MANAGEMENT IN REAL-TIME OPERATING SYSTEMS Public/Granted day:2015-10-01
Information query