发明名称 Operating System Context Switching
摘要 A technique for quickly switching between a first operating system (OS) and a second OS involves deactivating the first OS and loading the second OS from dynamic memory. The technique can include inserting a context switching layer between the first OS and a hardware layer to facilitate context switching. It may be desirable to allocate dynamic memory for the second OS and preserve state of the first OS before deactivating the first OS and loading the second OS from the dynamic memory.
申请公布号 US2017097846(A1) 申请公布日期 2017.04.06
申请号 US201615351203 申请日期 2016.11.14
申请人 Acer Cloud Technology, Inc. 发明人 Princen John;Berndt Sandra;Cui Miao;Gamble Nigel;Ho Wilson
分类号 G06F9/46;G06F9/44;G06F9/455 主分类号 G06F9/46
代理机构 代理人
主权项 1. A system comprising: a hardware layer comprising hardware; a context switching layer insertion engine; an operating system (OS) memory allocation engine coupled to the context switching layer insertion engine; an OS state preservation engine including a processor, the OS state preservation engine coupled to the context switching layer insertion engine; a memory boot engine including a processor, the memory boot engine coupled to the context switching layer insertion engine; wherein, in operation: the OS memory allocation engine allocates first dynamic memory for a first OS and loads first data associated with the first OS into the first dynamic memory, and allocates second dynamic memory for a second OS and loads second data associated with the second OS into the second dynamic memory;the context switching layer insertion engine receives a switch instruction to switch from the first OS to the second OS, creates, in response to the switch instruction and after the OS memory allocation engine allocates first dynamic memory and the second dynamic memory, a context switching layer having direct access, to the hardware in the hardware layer, and inserts the context switching layer between the first OS and the hardware layer;the memory boot engine transfers to the second OS the direct access to the hardware, and loads, in response to the switch instruction, the second OS from the second dynamic memory without invoking one or more boot sequences of the second OS.
地址 Sunnyvale CA US