发明申请
- 专利标题: Leveraging transactional memory hardware to accelerate virtualization and emulation
- 专利标题(中): 利用事务性内存硬件来加速虚拟化和仿真
-
申请号: US11823224申请日: 2007-06-27
-
公开(公告)号: US20090006750A1公开(公告)日: 2009-01-01
- 发明人: Martin Taillefer , Darek Mihocka , Bruno Silva
- 申请人: Martin Taillefer , Darek Mihocka , Bruno Silva
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 主分类号: G06F12/00
- IPC分类号: G06F12/00
摘要:
Various technologies and techniques are disclosed for using transactional memory hardware to accelerate virtualization or emulation. State isolation can be facilitated by providing isolated private state on transactional memory hardware and storing the stack of a host that is performing an emulation in the isolated private state. Memory accesses performed by a central processing unit can be monitored by software to detect that a guest being emulated has made a self modification to its own code sequence. Transactional memory hardware can be used to facilitate dispatch table updates in multithreaded environments by taking advantage of the atomic commit feature. An emulator is provided that uses a dispatch table stored in main memory to convert a guest program counter into a host program counter. The dispatch table is accessed to see if the dispatch table contains a particular host program counter for a particular guest program counter.