UEFI(Unified Extensible Firmware Interface) is the next generation firmware interface standard, aimed at replacing the traditional BIOS. The latest open source project based on UEFI standard released by Intel is EDKII (EFI Dev Kit) framework. With the further promotion and open sourcing of UEFI, more and more BIOS manufacturers and research institutes get involved in UEFI research and development. Limited to the protection of intellectual property, however, research and development of multiprocessor under Intel IA32and64architecture is still mainly accomplished by Intel engineers. And firmware driver of multiprocessor exists as binary file in EDKII framework. These two points cause limitation of IA32and64multiprocessor research, at the same time, there is no systematic guidance for multiprocessor firmware and driver development.This paper studies each functional module’s realization mechanism of the Intel Xeon-E5multiprocessor under IA32and64architecture, and realizes Xeon-E5multiprocessor UEFI firmware driver development based on above study. For modern software engineering, driver development project generally follows related development specifications, this subject also largely references software development manual and standard specification of IA32and64architecture. In addition, specific program development uses modular programming methods to realize each function design and implementation. The thesis describes the data structures and registers used and managed by each functional module, as well as analysis of each functional realization mechanism. At last, it uses pseudo code to state how to implement each function of the processor.The development platform in this project is the latest server platform configured with Intel Xeon-E5double processor. And at present, Xeon processor based on Sandy Bridge core is the most advanced processor on server platform, that follows IA32and64architecture. This thesis researches and realizes almost all of processor functions defined by IA32and64architecture. Beyond that, the thesis innovatively researches multiprocessor communication and management mechanism in detail and gives the pseudo code examples, which provides the development of multiprocessor system with a certain reference value. |