METHOD FOR SWITCHING ADDRESS SPACES VIA AN INTERMEDIATE ADDRESS SPACE

    公开(公告)号:US20190004965A1

    公开(公告)日:2019-01-03

    申请号:US15639800

    申请日:2017-06-30

    Applicant: VMware, Inc.

    Abstract: A method of re-mapping a boot loader image from a first to a second address space includes: determining a difference in a virtual address of the boot loader image in the first and second address spaces; building page tables for a third address space that maps a code section within the boot loader image at first and second address ranges separated by the difference and the code section causes execution to jump from a first instruction in the first address range to a second instruction in the second address range; executing an instruction of the code section in the first address space using pages tables for the first address space; executing the first instruction and then the second instruction using the page tables for the third address space; and executing an instruction of the boot loader image in the second address space using page tables for the second address space.

    EXPOSING MEMORY-MAPPED IO DEVICES TO DRIVERS BY EMULATING PCI BUS AND PCI DEVICE CONFIGURATION SPACE
    22.
    发明申请
    EXPOSING MEMORY-MAPPED IO DEVICES TO DRIVERS BY EMULATING PCI BUS AND PCI DEVICE CONFIGURATION SPACE 审中-公开
    通过仿真PCI总线和PCI设备配置空间来向存储器映射IO设备

    公开(公告)号:US20160378696A1

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

    申请号:US14754569

    申请日:2015-06-29

    Applicant: VMware, Inc.

    CPC classification number: G06F13/1694 G06F13/4282

    Abstract: Devices are emulated as PCI devices so that existing PCI drivers can be used for the devices. This is accomplished by creating a shim PCI device with a emulated PCI configuration space, accessed via a emulated PCI Extended Configuration Access Mechanism (ECAM) space which is emulated by accesses to trapped unbacked memory addresses. When system software accesses the PCI ECAM space to probe for PCI configuration data or program base address registers of the PCI ECAM space, an exception is raised and the exception is handled by a secure monitor that is executing at a higher privilege level than the system software. The secure monitor in handling the exception emulates the PCI configuration space access of the emulated PCI device corresponding to the ECAM address accessed, such that system software may discover the device and bind and appropriately configure a PCI driver to it with the right IRQ and memory base ranges.

    Abstract translation: 器件被仿真为PCI器件,以便现有的PCI驱动器可用于器件。 这是通过创建具有模拟PCI配置空间的片上PCI设备来实现的,该配置空间通过仿真的PCI扩展配置访问机制(ECAM)空间来访问,该空间由被捕获的未回读存储器地址的访问模拟。 当系统软件访问PCI ECAM空间以探测PCI ECAM空间的PCI配置数据或程序基址寄存器时,会发生异常,并且由比系统软件更高的权限级别执行的安全监视器处理异常 。 处理异常时的安全监视器模拟对应于所访问的ECAM地址的仿真PCI设备的PCI配置空间访问,以便系统软件可以发现设备并使用正确的IRQ和存储器基础来绑定并适当地配置PCI驱动程序 范围。

Patent Agency Ranking