代码如下 Aspm.c文件 #include <Uefi.h> #include <Library/UefiLib.h> #include <Library/IoLib.h> #define AddressPort 0xCF8 #define ...