Hi, Andrew: Thanks a lot and I really appreciate your suggestion. But the assembly language code is for getting started, and I may have to write C language embedded with assembly language and compile through EDK. That is why I have to use assembly language to achieve the restart function. And I have some doubts, if I call functions that already exists in BaseLib->Ia32,for example: #include<Library/BaseLib.h> Void main() { WriteMsr64(0,0); } This can be compiled successfully and .efi file can be generated. Best regards!
发送自 Windows 10 版邮件应用 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel