Display optimization method based on Xen safety computer
暂无分享,去创建一个
The invention provides a display optimization method based on Xen safety computer. The method comprises the following steps: simplifying the back end of a host system, customizing the front-end drive of a client system, and optimizing the communication between the front end and the back end. The step of simplifying the back end of a host system comprises is realized as follows: implementing a PCI(Peripheral Component Interconnect) equipment interface and introducing the support of Frame Buffer, and directly drawing the frame buffer image on a screen by reading and writing the Frame Buffer; the step of customizing the front-end drive of a client system is realized as follows: directly obtaining the internal storage I/O (Input/Output) and the port I/O resource provided by the back-end device, and implementing the display environment based on the Frame Buffer through the system Graphics Device Interface (GDI) display interface; and the step of optimizing the communication between the front end and the back end is realized as follows: registering an appointed I/O port in the host system by the back-end device firstly, and directly initiating the callback function implemented by the back end when the front-end drive accesses theses I/Os so as to complete the synchronous interaction of the front end and the back end; then, providing a memory space interacted with the front-end drive by the back end, mapping the memory space to the memory space of the client system, and implementing the interaction in a way of sharing the memory.