METHOD AND APPARATUS FOR PROVIDING A PREEMPTIVE TASK SCHEDULING SCHEME IN A REAL TIME OPERATING SYSTEM
    1.
    发明申请
    METHOD AND APPARATUS FOR PROVIDING A PREEMPTIVE TASK SCHEDULING SCHEME IN A REAL TIME OPERATING SYSTEM 有权
    用于在实时操作系统中提供预定任务调度方案的方法和装置

    公开(公告)号:US20150293793A1

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

    申请号:US14667204

    申请日:2015-03-24

    CPC classification number: G06F9/4887

    Abstract: Method and apparatuses are provided for providing preemptive task scheduling for a Real Time Operating System (RTOS). A two-level priority is assigned to each task that is created. The two-level priority includes a kernel priority and a user-defined priority. A priority bitmap corresponding to the kernel priority is created. A priority bit in the priority bitmap is enabled. The priority bit indicates a status of a respective task

    Abstract translation: 提供了用于为实时操作系统(RTOS)提供抢占任务调度的方法和装置。 为创建的每个任务分配两级优先级。 两级优先级包括内核优先级和用户定义的优先级。 创建与内核优先级相对应的优先级位图。 优先级位图中的优先级位被使能。 优先级位表示相应任务的状态

    Method and system for providing stack memory management in real-time operating systems
    2.
    发明授权
    Method and system for providing stack memory management in real-time operating systems 有权
    在实时操作系统中提供堆栈内存管理的方法和系统

    公开(公告)号:US09529625B2

    公开(公告)日:2016-12-27

    申请号: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)的系统中提供存储器管理的方法和系统。 该方法包括通过包括第一级堆栈和第二级堆栈的两级堆栈方案来创建多个任务,通过将堆栈指针从第一级堆栈移动到第二级堆栈来调度第一任务以执行,确定是否 首先任务被抢占,如果第一任务没有被抢占,则将第二级堆栈分配给第一任​​务,改变要执行的活动任务,确定第一任务是否从第二状态放弃控制,并且是第 等待资源,如果第一个任务放弃自身并提供第二级堆栈供第二个任务使用,则将堆栈指针从第二级堆栈移回到第一级堆栈。

    Method and system for providing stack memory management in real-time operating systems

    公开(公告)号:US10248456B2

    公开(公告)日:2019-04-02

    申请号:US15374603

    申请日:2016-12-09

    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.

Patent Agency Ranking