METHOD AND SYSTEM FOR PROVIDING STACK MEMORY MANAGEMENT IN REAL-TIME OPERATING SYSTEMS
    5.
    发明申请
    METHOD AND SYSTEM FOR PROVIDING STACK MEMORY MANAGEMENT IN REAL-TIME OPERATING SYSTEMS 有权
    用于在实时操作系统中提供堆叠存储器管理的方法和系统

    公开(公告)号:US20150277977A1

    公开(公告)日:2015-10-01

    申请号:US14676366

    申请日:2015-04-01

    CPC classification number: G06F9/4881 G06F9/461 G06F9/5011 G06F9/5016

    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.

    Abstract translation: 提供了一种用于在基于实时操作系统(RTOS)的系统中提供存储器管理的方法和系统。 该方法包括通过包括第一级堆栈和第二级堆栈的两级堆栈方案来创建多个任务,通过将堆栈指针从第一级堆栈移动到第二级堆栈来调度第一任务以执行,确定是否 首先任务被抢占,如果第一任务没有被抢占,则将第二级堆栈分配给第一任​​务,改变要执行的活动任务,确定第一任务是否从第二状态放弃控制,并且是第 等待资源,如果第一个任务放弃自身并提供第二级堆栈供第二个任务使用,则将堆栈指针从第二级堆栈移回到第一级堆栈。

Patent Agency Ranking