{"id":55612,"date":"2025-08-14T04:04:36","date_gmt":"2025-08-13T20:04:36","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/55612.html"},"modified":"2025-08-14T04:04:36","modified_gmt":"2025-08-13T20:04:36","slug":"%e3%80%90uefi%e7%b3%bb%e5%88%97%e3%80%91smi%e7%b3%bb%e7%bb%9f%e7%ae%a1%e7%90%86%e4%b8%ad%e6%96%ad","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/55612.html","title":{"rendered":"\u3010UEFI\u7cfb\u5217\u3011SMI\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u4e00\u3001SMI\u7684\u4ecb\u7ecd<\/li>\n<li>\u4e8c\u3001SMI\u7684\u4f5c\u7528<\/li>\n<li>\n<ul>\n<li>SMI\u4f5c\u7528<\/li>\n<li>\u5982\u4f55\u89e6\u53d1SMI<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001SMM\u72b6\u6001\u7684\u8fdb\u5165\u548c\u9000\u51fa<\/li>\n<li>\n<ul>\n<li>1.SMM\u72b6\u6001\u7684\u8fdb\u5165\u548c\u9000\u51fa<\/li>\n<li>2.CPU\u7684\u5176\u4ed6\u72b6\u6001\u548cSMM\u72b6\u6001\u4e4b\u95f4\u7684\u8f6c\u6362<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001SMI\u6267\u884c\u7a0b\u5e8f\u5904\u7406\u8fc7\u7a0b<\/li>\n<li>\u4e94\u3001SMI action in Bios<\/li>\n<li>\u516d\u3001SMI\u76f8\u5173\u7684\u5b9e\u9645EDKII\u4ee3\u7801<\/li>\n<\/ul>\n<hr \/>\n<h2>\u4e00\u3001SMI\u7684\u4ecb\u7ecd<\/h2>\n<p>Sytem Management Interrupt&#xff0c;\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad\u3002 \u6253\u4e2a\u6bd4\u65b9&#xff0c;\u5de5\u4f5c\u7684\u65f6\u5019&#xff0c;\u7a81\u7136\u6253\u6765\u4e00\u4e2a\u7535\u8bdd&#xff0c;\u8fd9\u4e2a\u65f6\u5019\u4f60\u505c\u4e0b\u624b\u4e2d\u6240\u6709\u7684\u4e8b\u53bb\u63a5\u7535\u8bdd&#xff0c;\u7535\u8bdd\u6253\u5b8c\u4e86\u518d\u56de\u6765\u7ee7\u7eed\u5de5\u4f5c&#xff0c;\u6253\u7535\u8bdd\u8fd9\u4e2a\u8fc7\u7a0b\u5c31\u76f8\u5f53\u4e8eSMI\u3002<\/p>\n<p>\u5173\u4e8eSMI\u548cSMM&#xff08;system management mode&#xff09;&#xff1a; SMI\u53d1\u51fa\u540e&#xff0c;CPU\u8fdb\u5165SMM\u72b6\u6001\u3002 SMM\u662fintel\u5f15\u5165x86\u7684\u4e00\u79cdCPU\u7684\u6267\u884c\u6a21\u5f0f&#xff0c;\u53ea\u80fd\u901a\u8fc7SMI\u8fdb\u5165&#xff0c;\u5e76\u53ea\u80fd\u901a\u8fc7\u6267\u884cRSM\u6307\u4ee4\u9000\u51fa\u3002 SMM driver&#xff0c;SMM\u6a21\u5f0f\u4e0b\u7684\u6267\u884c\u7684\u7a0b\u5e8f&#xff0c;\u7531bios\u5b9e\u73b0&#xff0c;code\u91cc\u4f1a\u5199\u5165\u3002<\/p>\n<p>SMRAM&#xff1a;Sytem Management RAM\u3002 \u5185\u5b58\u4e2d\u7684\u4e00\u6bb5\u533a\u57df&#xff0c;\u6240\u6709\u7684SMM driver\u5728SMRAM\u4e2d\u8fd0\u884c&#xff0c;\u975eSMM\u4e0bSMRAM\u4e0d\u53ef\u8bbf\u95ee\u3002<\/p>\n<h2>\u4e8c\u3001SMI\u7684\u4f5c\u7528<\/h2>\n<h3>SMI\u4f5c\u7528<\/h3>\n<li>\u5904\u7406\u7cfb\u7edf\u4e8b\u4ef6&#xff0c;\u6bd4\u5982memory\u6216\u8005chipset error\u3002<\/li>\n<li>\u63a7\u5236\u786c\u4ef6&#xff0c;\u5b9e\u73b0\u4e00\u4e9b\u7279\u6b8a\u529f\u80fd\u6216\u8005\u865a\u62df\u67d0\u4e9b\u786c\u4ef6\u529f\u80fd\u6216\u89c4\u907f\u4e00\u4e9b\u786c\u4ef6\u4e0a\u7684bug\u3002<\/li>\n<p>\u6bd4\u5982\u67d0\u4e9b\u5237\u5199bios\u7684\u5de5\u5177\u4f7f\u7528SMI\u5b9e\u73b0\u5237\u5199\u5de5\u4f5c\u3002CPU\u8fdb\u5165SMM\u6a21\u5f0f\u540e&#xff0c;\u9f20\u6807\u548c\u952e\u76d8\u90fd\u662f\u4e0d\u80fd\u52a8\u7684&#xff0c;\u6b64\u65f6\u5176\u4ed6\u7684\u4e2d\u65ad\u90fd\u4e0d\u53ef\u5207\u65ad\u8fdb\u7a0b&#xff0c;\u76f4\u5230\u9000\u51faSMM\u3002\u5c31\u7b97\u518d\u6765\u4e00\u4e2aSMI\u4e5f\u8981\u7b49\u8fd9\u4e2aSMI\u5904\u7406\u5b8c\u9000\u51faSMM\u3001\u518d\u89e6\u53d1SMI\u8fdb\u5165SMM\u3002<\/p>\n<li>\u5b9e\u73b0\u7535\u6e90\u7ba1\u7406\u7684\u4e00\u4e9b\u529f\u80fd\u3002<\/li>\n<p>\u6bd4\u5982os\u4e0b\u8f93\u5165sleep number&#061;3\u7684\u7761\u7720\u6a21\u5f0f&#xff0c;\u4f1a\u89e6\u53d1SMI\u53bb\u505a\u4e00\u4e9b\u7535\u6e90\u7ba1\u7406\u7684\u529f\u80fd&#xff1a;\u5185\u5b58\u4e0d\u65ad\u7535\u3002<\/p>\n<li>\u5927\u591a\u6570\u60c5\u51b5\u4e0b&#xff0c;usb driver\u901a\u8fc7SMI\u5b9e\u73b0\u3002<\/li>\n<h3>\u5982\u4f55\u89e6\u53d1SMI<\/h3>\n<p>\u8fdb\u5165SMM\u7684\u552f\u4e00\u9014\u5f84\u662f\u4ea7\u751fSMI\u4fe1\u53f7\u3002 \u8fd9\u4e2a\u4fe1\u53f7\u4f1a\u901a\u8fc7CPU\u7684SMI pin\u811a\u4ea7\u751f&#xff0c;\u6216\u8005CPU\u4eceAPIC bus\u4e0a\u6536\u5230SMI message\u3002<\/p>\n<li>\n<p>\u786c\u4ef6\u89e6\u53d1 \u7cfb\u7edfevent error&#xff0c;\u5f53\u6709\u4e9b\u786c\u4ef6error\u4ea7\u751f\u7684\u65f6\u5019\u89e6\u53d1SMI\u3002 RTC alarm &#xff08;real time clock\u5b9e\u65f6\u59cb\u7ec8\u8b66\u544a&#xff09; GPIO\u89e6\u53d1 IO trap&#xff0c;\u8bfb\u5199\u67d0\u4e9bIO\u7aef\u53e3\u65f6\u89e6\u53d1SMI&#xff08;\u53ef\u4ee5\u5728\u4ee3\u7801\u91cc\u8bbe\u5b9a&#xff09;\u3002 \u5176\u5b83\u7b49&#xff0c;\u4f8b\u5982\u7535\u6e90\u6309\u94ae\u3002<\/p>\n<\/li>\n<li>\n<p>\u8f6f\u4ef6\u89e6\u53d1 \u5199\u4efb\u610f\u6570\u636e\u5230IO port 0XB2\u6216\u8005BIOS\u4e2d\u5b9a\u4e49\u7684\u5176\u4ed6port\u3002<\/p>\n<\/li>\n<h2>\u4e09\u3001SMM\u72b6\u6001\u7684\u8fdb\u5165\u548c\u9000\u51fa<\/h2>\n<h3>1.SMM\u72b6\u6001\u7684\u8fdb\u5165\u548c\u9000\u51fa<\/h3>\n<ul>\n<li>SMM\u72b6\u6001\u7684\u8fdb\u5165\u548c\u9000\u51fa\u8fc7\u7a0b<\/li>\n<\/ul>\n<p>\u548cinterrupt\u7684\u5904\u7406\u7c7b\u4f3c&#xff0c;\u4f46\u6709\u4e9b\u4e0d\u540c&#xff0c;SMI\u4ea7\u751f\u540e&#xff0c;\u5728\u8fdb\u5165SMM\u7684\u65f6\u5019&#xff0c;CPU\u4fdd\u5b58\u4e86\u4e2d\u65ad\u7a0b\u5e8f\u7684\u4e0a\u4e0b\u6587&#xff08;\u72b6\u6001\u3001\u6570\u636e&#xff09;\u5230SMRAM\u4e2d\u3002 CPU\u8df3\u8f6c\u5230SMRAM SmiHandler&#xff0c;\u6267\u884c\u5b8c\u6bd5\u540e&#xff0c;rsm\u6307\u4ee4\u6267\u884c&#xff0c;CPU restore context&#xff0c;\u539f\u6765\u7684\u7a0b\u5e8f\u7ee7\u7eed\u6267\u884c\u3002<\/p>\n<ul>\n<li>SMM\u72b6\u6001\u7684\u7279\u70b9<\/li>\n<\/ul>\n<p>SMM\u72b6\u6001\u4e0b\u6240\u6709\u4e2d\u65ad\u548cSMI\u88ab\u5c4f\u853d&#xff0c;SMI\u5904\u7406\u7a0b\u5e8f\u4e0d\u53ef\u91cd\u5165&#xff08;\u8fd8\u6ca1\u6267\u884c\u5b8c\u4e4b\u524d\u4e0d\u80fd\u8df3\u53bb\u6267\u884c\u5176\u4ed6\u7684SMI&#xff09;\u3002 SMI\u7684\u4f18\u5148\u7ea7\u6bd4exception\u548c\u4e2d\u65ad\u7684\u4f18\u5148\u7ea7\u9ad8\u3002\u5982\u679cNMI\u3001\u53ef\u5c4f\u853d\u786c\u4ef6\u4e2d\u65ad\u3001\u8c03\u8bd5\u6307\u4ee4\u548cSMI\u540c\u65f6\u5411CPU\u53d1\u9001\u4fe1\u53f7&#xff0c;\u53ea\u6709SMI\u4f1a\u88ab\u5904\u7406\u3002<\/p>\n<p>0x40-0xFE\u662f\u903b\u8f91\u8bbe\u5907\u7684\u914d\u7f6e&#xff0c;\u5206\u914d\u8d44\u6e90\u548c\u8fdb\u884c\u7ba1\u7406\u3002<\/p>\n<h3>2.CPU\u7684\u5176\u4ed6\u72b6\u6001\u548cSMM\u72b6\u6001\u4e4b\u95f4\u7684\u8f6c\u6362<\/h3>\n<p>SMI\u4fe1\u53f7\u4ea7\u751f\u540e&#xff0c;\u4e0d\u7ba1CPU\u662f\u5b9e\u6a21\u5f0f\u3001\u4fdd\u62a4\u6a21\u5f0f\u8fd8\u662f\u865a\u62df8086\u6a21\u5f0f&#xff0c;\u90fd\u4f1a\u5bfc\u81f4CPU\u5207\u6362\u5230SMM\u72b6\u6001\u3002 \u6267\u884c\u6307\u4ee4RSM\u540e&#xff0c;CPU\u56de\u5230\u8fdb\u5165SMM\u6a21\u5f0f\u4e4b\u524d\u7684\u90a3\u4e2a\u6a21\u5f0f\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250813200434-689cefd2e2f49.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u56db\u3001SMI\u6267\u884c\u7a0b\u5e8f\u5904\u7406\u8fc7\u7a0b<\/h2>\n<p>\u5185\u5b58\u5730\u5740\u7a7a\u95f4\u4e2d\u7684\u67d0\u4e24\u6bb5&#xff1a;CPU\u6b63\u5728\u6267\u884c\u7684\u7a0b\u5e8f\u3001SMRAM\u3002 SMI\u4ea7\u751f\u540e&#xff0c;CPU\u4ece\u5f53\u524d\u5730\u5740\u8df3\u51fa&#xff0c;\u7acb\u9a6c\u8fdb\u5165\u5230SMRAM\u91cc\u53bb&#xff0c;\u5165\u53e3\u5730\u5740\u4e3a&#xff1a;SMRAM\u8d77\u59cb\u5730\u5740(SMBase)&#043;8000H\u3002 SMI\u7684\u7a0b\u5e8f\u6267\u884c\u5b8c\u4e4b\u540e&#xff0c;CPU\u518d\u901a\u8fc7rsm\u6307\u4ee4\u9000\u51faSMM&#xff0c;\u56de\u5230\u539f\u5148\u7684\u5185\u5b58\u5730\u5740\u4e2d\u53bb\u3002<\/p>\n<ul>\n<li>SMRAM usage<\/li>\n<\/ul>\n<p>\u5f53CPU\u5728SMM\u91cc\u7684\u65f6\u5019&#xff0c;cpu\u6267\u884c\u4ee3\u7801\u5b9e\u5728SMRAM\u7a7a\u95f4\u91cc&#xff0c;SMBase\u9ed8\u8ba4\u5730\u5740\u572830000H\u3002 \u8f83\u65e9\u7684bios&#xff0c;post\u8fc7\u7a0b\u4e2dSMBase\u88ab\u8bbe\u5b9a\u4e3a\u4f4d\u4e8eA000:0\u6216B000:0&#xff0c;\u8fd9\u4e2a\u533a\u57df\u539f\u672c\u7528\u4e8edecode\u5230video buffer\u5730\u5740&#xff0c;\u8fdbSMI\u7684\u65f6\u5019&#xff0c;\u786c\u4ef6\u4f1a\u5c06\u8fd9\u4e2a\u5730\u5740\u5207\u6362\u5230\u771f\u5b9e\u7684\u5185\u5b58\u533a\u57df&#xff0c;\u73b0\u5728BIOS\u4e00\u822c\u5c06SMBase\u8bbe\u5b9a\u4e3a\u5728Tseg\u533a\u57df&#xff0c;\u7531CPU\u6216\u5317\u6865MCH\u63a7\u5236\u3002 SMRAM\u7a7a\u95f4\u6620\u5c04\u5230CPU\u7684\u7269\u7406\u5730\u5740\u7a7a\u95f4&#xff0c;CPU\u4f7f\u7528\u8fd9\u4e2a\u7a7a\u95f4\u6765\u4fdd\u5b58\u8fdb\u5165SMI\u4e4b\u524dCPU\u7684\u4e0a\u4e0b\u6587\u548c\u5b58\u50a8SMI\u7684\u5904\u7406\u7a0b\u5e8f\u4ee3\u7801\u3001\u6570\u636e\u548c\u5806\u6808\u3002\u5b83\u4e5f\u53ef\u4ee5\u7528\u6765\u5b58\u50a8SMmessage&#xff08;\u6bd4\u5982\u7cfb\u7edf\u914d\u7f6e\u548c\u5173\u95ed\u8bbe\u5907\u7684\u5177\u4f53\u4fe1\u606f&#xff09;\u7b49\u3002<\/p>\n<h2>\u4e94\u3001SMI action in Bios<\/h2>\n<ul>\n<li>SMRAM usage<\/li>\n<\/ul>\n<p>\u7531Bios\u5b9e\u73b0\u3002 \u5bfb\u5740\u7a7a\u95f40~4G\u3002 \u65e0\u7279\u6743\u7ea7\u522b&#xff0c;\u7c7b\u4f3cbig real mode&#xff0c;\u4e0d\u5b58\u5728\u4efb\u4f55\u6743\u9650\u7ea7\u522b\u6216\u5730\u5740\u6620\u5c04\u3002 \u8fdbSMM\u540e&#xff0c;CPU\u7684\u901a\u7528\u5bc4\u5b58\u5668\u7684\u503c\u4e0d\u786e\u5b9a&#xff0c;\u5176\u5b83\u6bb5\u5bc4\u5b58\u5668\u7b49\u88ab\u521d\u59cb\u5316\u4e3a\u7279\u5b9a\u503c\u3002 \u53ef\u4ee5\u6267\u884c\u6240\u6709\u6307\u4ee4\u6bd4\u5982IO\u8bfb\u5199&#xff0c;\u4f46\u662fCPU\u6307\u4ee4\u53ea\u5728SMRAM\u5185\u6267\u884c\u3002<\/p>\n<ul>\n<li>Bios\u4e2dSMI\u7a0b\u5e8f\u4f5c\u7528<\/li>\n<\/ul>\n<p>flash\u64cd\u4f5c&#xff0c;\u8bfb\u3001\u5199\u3001\u64e6\u9664&#xff0c;\u83b7\u53d6flash\u4fe1\u606f\u3002 get\/set smbios information\u3002 USB driver\u7684\u5b9e\u73b0\u3002 kbc emulation&#xff0c;\u952e\u76d8\u7684\u6a21\u62df\u3002 \u5b9e\u73b0\u67d0\u4e9b\u7c7b\u4f3ctimer\u7684\u529f\u80fd&#xff0c;\u6bd4\u5982RTC\u3002 error logging\u3002 \u5176\u5b83\u7b49&#xff0c;\u6bd4\u5982\u7535\u6e90\u7ba1\u7406\u7684s3\u3001s4\u7684\u5b9e\u73b0\u8c03\u7528smi\u3002<\/p>\n<ul>\n<li>SMI\u7a0b\u5e8f\u4f5c\u7528&#xff0c;\u4e3e\u4f8b<\/li>\n<\/ul>\n<li>\u7cfb\u7edfpost&#xff08;power-on-self-test\u5f00\u673a\u81ea\u68c0&#xff09;\u8fc7\u7a0b\u4e2d\u6309\u4e0bpower button\u5173\u673a\u3002<\/li>\n<li>\u8fdbDOS\u540e&#xff0c;\u8bfb\u5199USB key\u3002<\/li>\n<h2>\u516d\u3001SMI\u76f8\u5173\u7684\u5b9e\u9645EDKII\u4ee3\u7801<\/h2>\n<p>UEFI\u89c4\u5b9a\u4e86\u5f52\u4e8eSMI\u7684EFI_SMM_BASE2_PROTOCOL&#xff1a;<\/p>\n<p> struct _EFI_SMM_BASE2_PROTOCOL {<br \/>\n  EFI_SMM_INSIDE_OUT2           InSmm;<br \/>\n  EFI_SMM_GET_SMST_LOCATION2    GetSmstLocation;<br \/>\n};<\/p>\n<p>InSmm&#xff1a;\u8fd9\u4e2aserver\u63d0\u4f9b\u7684\u662f\u8fd9\u4e2adriver\u662f\u5426\u8fd0\u884c\u5728SMM\u521d\u59cb\u5316\u7684\u9636\u6bb5\u3002\u662f\u7684\u8bdd\u8fd4\u56de\u6210\u529f&#xff0c;\u5931\u8d25\u7684\u8bdd\u8fd4\u56deNULL\u3002<\/p>\n<p>GetSmstLocation&#xff1a;\u8fd9\u4e2a\u51fd\u6570\u662flocate\u5230system management service table&#xff08;SMST&#xff09;&#xff0c;SMST\u6709\u5355\u72ec\u7684smmallocatepool\u3001smminstallprotocol\u3001smmlocateprotocol\u51fd\u6570\u7b49&#xff0c;SMM\u4e0d\u80fd\u8c03\u7528\u4e4b\u524d\u5916\u90e8\u7684protocol\u3002<\/p>\n<ul>\n<li>SMM child dispatch protocol<\/li>\n<\/ul>\n<li>EFI_SMM_SW_DISPATCH2_PROTOCOL \u8f6f\u4ef6\u89e6\u53d1<\/li>\n<li>EFI_SMM_SX_DISPATCH2_PROTOCOL \u7535\u6e90Sleep\u89e6\u53d1<\/li>\n<li>EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL \u6309\u4e0b\u7535\u6e90\u6309\u94ae\u89e6\u53d1<\/li>\n<li>EFI_SMM_IO_TRAP_DISPATCH2_PROTOCOL \u8bbf\u95ee\u67d0\u4e2aio\u53e3\u89e6\u53d1<\/li>\n<p>SMM\u89e6\u53d1\u4ee3\u7801&#xff0c;\u5728inf\u7c7b\u578b\u4e3aDXE_SMM_DRIVER\u91cc\u7684c\u6587\u4ef6\u91cc\u6267\u884c\u3002<\/p>\n<p>\u4ee3\u7801\u91cc\u5148\u8c03\u7528InSmm\u786e\u4fdd\u5f53\u524d\u5904\u5728smm init\u9636\u6bb5&#xff0c;\u5982\u679c\u662f\u7684\u8bdd\u624d\u5f80\u4e0b\u6267\u884c\u3002<\/p>\n<p>EFI_STATUS                 Status<span class=\"token punctuation\">;<\/span><br \/>\nBOOLEAN                    InSmm<span class=\"token punctuation\">;<\/span><br \/>\nEFI_SMM_BASE2_PROTOCOL     <span class=\"token operator\">*<\/span>SmmBase2<span class=\"token punctuation\">;<\/span><br \/>\nEFI_SMM_SYSTEM_TABLE2  <span class=\"token operator\">*<\/span>mBootScriptSmst <span class=\"token operator\">&#061;<\/span> <span class=\"token constant\">NULL<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>  gBS<span class=\"token operator\">-&gt;<\/span><span class=\"token function\">LocateProtocol<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>gEfiSmmBase2ProtocolGuid<span class=\"token punctuation\">,<\/span> <span class=\"token constant\">NULL<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span>VOID <span class=\"token operator\">*<\/span><span class=\"token operator\">*<\/span><span class=\"token punctuation\">)<\/span><span class=\"token operator\">&amp;<\/span>SmmBase2<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  Status <span class=\"token operator\">&#061;<\/span> SmmBase2<span class=\"token operator\">-&gt;<\/span><span class=\"token function\">InSmm<\/span> <span class=\"token punctuation\">(<\/span>SmmBase2<span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>InSmm<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">EFI_ERROR<\/span> <span class=\"token punctuation\">(<\/span>Status<span class=\"token punctuation\">)<\/span><span class=\"token operator\">|<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">!<\/span>InSmm<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> RETURN_SUCCESS<span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><\/p>\n<p>  Status <span class=\"token operator\">&#061;<\/span> SmmBase2<span class=\"token operator\">-&gt;<\/span><span class=\"token function\">GetSmstLocation<\/span> <span class=\"token punctuation\">(<\/span>SmmBase2<span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>mBootScriptSmst<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>e.g.\u8981\u7528EFI_SMM_SW_DISPATCH2_PROTOCOL\u8fdb\u884c\u8f6f\u4ef6\u89e6\u53d1\u7684\u6ce8\u518c&#xff0c;\u5bf9\u5e94\u7684inf\u7684protocol\u91cc\u5305\u542b&#xff1a;<\/p>\n<p><span class=\"token punctuation\">[<\/span>Protocols<span class=\"token punctuation\">]<\/span><br \/>\n  gEfiSmmSwDispatch2ProtocolGuid<\/p>\n<p><span class=\"token comment\">\/\/\u6211\u81ea\u5df1\u5b9a\u4e49\u62109&#xff0c;\u89e6\u53d1smi&#xff08;\u8f6f\u4ef6\u89e6\u53d1&#xff0c;\u5199Sample_number\u5230B2&#xff09;\u540e\u51998\u523080\u53e3<\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">define<\/span> <span class=\"token macro-name\">Sample_number<\/span> <span class=\"token expression\"><span class=\"token number\">9<\/span><\/span><\/span><\/p>\n<p>EFI_STATUS<br \/>\nEFIAPI<br \/>\n<span class=\"token function\">MyCallback<\/span><span class=\"token punctuation\">(<\/span><br \/>\n  IN EFI_HANDLE  DispatchHandle<span class=\"token punctuation\">,<\/span><br \/>\n  IN CONST VOID  <span class=\"token operator\">*<\/span>Context<span class=\"token punctuation\">,<\/span><br \/>\n  IN OUT VOID    <span class=\"token operator\">*<\/span>CommBuffer<span class=\"token punctuation\">,<\/span><br \/>\n  IN OUT UINTN   <span class=\"token operator\">*<\/span>CommBufferSize<br \/>\n  <span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token function\">IoWrite8<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">0x80<\/span><span class=\"token punctuation\">,<\/span>Sample_number<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token keyword\">return<\/span> EFI_SUCCESS<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>EFI_STATUS<br \/>\n<span class=\"token function\">SwSample<\/span> <span class=\"token punctuation\">(<\/span><br \/>\n  VOID<br \/>\n  <span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\nEFI_SMM_SW_DISPATCH2_PROTOCOL  <span class=\"token operator\">*<\/span>SwDispatch<span class=\"token punctuation\">;<\/span><br \/>\nEFI_SMM_SW_REGISTER_CONTEXT    SwContext<span class=\"token punctuation\">;<\/span><br \/>\nEFI_HANDLE                     SwHandle<span class=\"token punctuation\">;<\/span><br \/>\nEFI_STATUS                 Status<span class=\"token punctuation\">;<\/span><\/p>\n<p>  Status <span class=\"token operator\">&#061;<\/span> gSmst<span class=\"token operator\">-&gt;<\/span><span class=\"token function\">SmmLocateProtocol<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>gEfiSmmSwDispatch2ProtocolGuid<span class=\"token punctuation\">,<\/span> <span class=\"token constant\">NULL<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span>VOID <span class=\"token operator\">*<\/span><span class=\"token operator\">*<\/span><span class=\"token punctuation\">)<\/span><span class=\"token operator\">&amp;<\/span>SwDispatch<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token function\">ASSERT_EFI_ERROR<\/span> <span class=\"token punctuation\">(<\/span>Status<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  SwContext<span class=\"token punctuation\">.<\/span>SwSmiInputValue <span class=\"token operator\">&#061;<\/span> Sample_number<span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/\u5177\u4f53\u6570\u503c\u81ea\u5df1\u5b9a\u4e49&#xff0c;\u8fd9\u662f\u8981\u5199\u5230B2\u53e3\u7684\u6570\u503c<\/span><br \/>\n  Status <span class=\"token operator\">&#061;<\/span> SwDispatch<span class=\"token operator\">-&gt;<\/span><span class=\"token function\">Register<\/span> <span class=\"token punctuation\">(<\/span>SwDispatch<span class=\"token punctuation\">,<\/span> MyCallback<span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>SwContext<span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>SwHandle<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/MyCallback\u662f\u8c03\u7528\u7684\u51fd\u6570<\/span><\/p>\n<p>e.g.\u8981\u7528EFI_SMM_SX_DISPATCH2_PROTOCOL\u8fdb\u884csleep\u89e6\u53d1&#xff0c;\u5bf9\u5e94\u7684inf\u7684protocol\u91cc\u5305\u542b&#xff1a;<\/p>\n<p><span class=\"token punctuation\">[<\/span>Protocols<span class=\"token punctuation\">]<\/span><br \/>\n  gEfiSmmSxDispatch2ProtocolGuid<\/p>\n<p>EFI_STATUS<br \/>\nEFIAPI<br \/>\n<span class=\"token function\">SmmS3EntryCallBack<\/span><span class=\"token punctuation\">(<\/span><br \/>\n  IN           EFI_HANDLE  DispatchHandle<span class=\"token punctuation\">,<\/span><br \/>\n  IN     CONST VOID        <span class=\"token operator\">*<\/span>Context         OPTIONAL<span class=\"token punctuation\">,<\/span><br \/>\n  IN OUT       VOID        <span class=\"token operator\">*<\/span>CommBuffer      OPTIONAL<span class=\"token punctuation\">,<\/span><br \/>\n  IN OUT       UINTN       <span class=\"token operator\">*<\/span>CommBufferSize  OPTIONAL<br \/>\n  <span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n  mDuringS3Resume <span class=\"token operator\">&#061;<\/span> TRUE<span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/\u81ea\u5df1\u5199<\/span><br \/>\n  <span class=\"token keyword\">return<\/span> EFI_SUCCESS<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>EFI_STATUS<br \/>\n<span class=\"token function\">SxSample<\/span> <span class=\"token punctuation\">(<\/span><br \/>\n  VOID<br \/>\n  <span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\nEFI_SMM_SX_DISPATCH2_PROTOCOL  <span class=\"token operator\">*<\/span>SxDispatch<span class=\"token punctuation\">;<\/span><br \/>\nEFI_SMM_SX_REGISTER_CONTEXT    EntryRegisterContext<span class=\"token punctuation\">;<\/span><br \/>\nEFI_HANDLE                     S3EntryHandle<span class=\"token punctuation\">;<\/span><br \/>\nEFI_STATUS                 Status<span class=\"token punctuation\">;<\/span><\/p>\n<p>  Status <span class=\"token operator\">&#061;<\/span> gSmst<span class=\"token operator\">-&gt;<\/span><span class=\"token function\">SmmLocateProtocol<\/span> <span class=\"token punctuation\">(<\/span><br \/>\n               <span class=\"token operator\">&amp;<\/span>gEfiSmmSxDispatch2ProtocolGuid<span class=\"token punctuation\">,<\/span><br \/>\n               <span class=\"token constant\">NULL<\/span><span class=\"token punctuation\">,<\/span><br \/>\n               <span class=\"token punctuation\">(<\/span>VOID <span class=\"token operator\">*<\/span><span class=\"token operator\">*<\/span><span class=\"token punctuation\">)<\/span><span class=\"token operator\">&amp;<\/span>SxDispatch <span class=\"token comment\">\/\/\u4e00\u4f1a\u513f\u8981\u7528\u6765register\u7684<\/span><br \/>\n               <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token function\">ASSERT_EFI_ERROR<\/span> <span class=\"token punctuation\">(<\/span>Status<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  EntryRegisterContext<span class=\"token punctuation\">.<\/span>Type  <span class=\"token operator\">&#061;<\/span> SxS3<span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/S3\u9636\u6bb5<\/span><br \/>\n  EntryRegisterContext<span class=\"token punctuation\">.<\/span>Phase <span class=\"token operator\">&#061;<\/span> SxEntry<span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/\u8fdb\u5165\u7684\u65f6\u5019<\/span><br \/>\n  Status                     <span class=\"token operator\">&#061;<\/span> SxDispatch<span class=\"token operator\">-&gt;<\/span><span class=\"token function\">Register<\/span> <span class=\"token punctuation\">(<\/span><br \/>\n                                                 SxDispatch<span class=\"token punctuation\">,<\/span><br \/>\n                                                 SmmS3EntryCallBack<span class=\"token punctuation\">,<\/span> <span class=\"token comment\">\/\/\u6211\u4eec\u5b9a\u4e49\u7684callback\u51fd\u6570<\/span><br \/>\n                                                 <span class=\"token operator\">&amp;<\/span>EntryRegisterContext<span class=\"token punctuation\">,<\/span><br \/>\n                                                 <span class=\"token operator\">&amp;<\/span>S3EntryHandle<br \/>\n                                                 <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb52\u6b21\u3002Sytem Management Interrupt\uff0c\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad\u3002\u6253\u4e2a\u6bd4\u65b9\uff0c\u5de5\u4f5c\u7684\u65f6\u5019\uff0c\u7a81\u7136\u6253\u6765\u4e00\u4e2a\u7535\u8bdd\uff0c\u8fd9\u4e2a\u65f6\u5019\u4f60\u505c\u4e0b\u624b\u4e2d\u6240\u6709\u7684\u4e8b\u53bb\u63a5\u7535\u8bdd\uff0c\u7535\u8bdd\u6253\u5b8c\u4e86\u518d\u56de\u6765\u7ee7\u7eed\u5de5\u4f5c\uff0c\u6253\u7535\u8bdd\u8fd9\u4e2a\u8fc7\u7a0b\u5c31\u76f8\u5f53\u4e8eSMI\u3002\u5173\u4e8eSMI\u548cSMM\uff08system management mode\uff09\uff1aSMI\u53d1\u51fa\u540e\uff0cCPU\u8fdb\u5165SMM\u72b6\u6001\u3002SMM\u662fintel\u5f15\u5165x86\u7684\u4e00\u79cdCPU\u7684\u6267\u884c\u6a21\u5f0f\uff0c\u53ea\u80fd\u901a\u8fc7SMI\u8fdb\u5165\uff0c\u5e76\u53ea\u80fd\u901a\u8fc7\u6267\u884cRSM\u6307\u4ee4\u9000\u51fa\u3002SMM driver\uff0cSMM\u6a21\u5f0f\u4e0b\u7684\u6267\u884c\u7684\u7a0b\u5e8f\uff0c\u7531bios\u5b9e\u73b0\uff0ccode\u91cc\u4f1a\u5199\u5165\u3002<\/p>\n","protected":false},"author":2,"featured_media":55611,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5581,55,5728,5727,292],"topic":[],"class_list":["post-55612","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-bios","tag-c","tag-uefi","tag-uefi-bios","tag-292"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010UEFI\u7cfb\u5217\u3011SMI\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/55612.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010UEFI\u7cfb\u5217\u3011SMI\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb52\u6b21\u3002Sytem Management Interrupt\uff0c\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad\u3002\u6253\u4e2a\u6bd4\u65b9\uff0c\u5de5\u4f5c\u7684\u65f6\u5019\uff0c\u7a81\u7136\u6253\u6765\u4e00\u4e2a\u7535\u8bdd\uff0c\u8fd9\u4e2a\u65f6\u5019\u4f60\u505c\u4e0b\u624b\u4e2d\u6240\u6709\u7684\u4e8b\u53bb\u63a5\u7535\u8bdd\uff0c\u7535\u8bdd\u6253\u5b8c\u4e86\u518d\u56de\u6765\u7ee7\u7eed\u5de5\u4f5c\uff0c\u6253\u7535\u8bdd\u8fd9\u4e2a\u8fc7\u7a0b\u5c31\u76f8\u5f53\u4e8eSMI\u3002\u5173\u4e8eSMI\u548cSMM\uff08system management mode\uff09\uff1aSMI\u53d1\u51fa\u540e\uff0cCPU\u8fdb\u5165SMM\u72b6\u6001\u3002SMM\u662fintel\u5f15\u5165x86\u7684\u4e00\u79cdCPU\u7684\u6267\u884c\u6a21\u5f0f\uff0c\u53ea\u80fd\u901a\u8fc7SMI\u8fdb\u5165\uff0c\u5e76\u53ea\u80fd\u901a\u8fc7\u6267\u884cRSM\u6307\u4ee4\u9000\u51fa\u3002SMM driver\uff0cSMM\u6a21\u5f0f\u4e0b\u7684\u6267\u884c\u7684\u7a0b\u5e8f\uff0c\u7531bios\u5b9e\u73b0\uff0ccode\u91cc\u4f1a\u5199\u5165\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/55612.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-13T20:04:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250813200434-689cefd2e2f49.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/55612.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/55612.html\",\"name\":\"\u3010UEFI\u7cfb\u5217\u3011SMI\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-13T20:04:36+00:00\",\"dateModified\":\"2025-08-13T20:04:36+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/55612.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/55612.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/55612.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010UEFI\u7cfb\u5217\u3011SMI\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010UEFI\u7cfb\u5217\u3011SMI\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/55612.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010UEFI\u7cfb\u5217\u3011SMI\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb52\u6b21\u3002Sytem Management Interrupt\uff0c\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad\u3002\u6253\u4e2a\u6bd4\u65b9\uff0c\u5de5\u4f5c\u7684\u65f6\u5019\uff0c\u7a81\u7136\u6253\u6765\u4e00\u4e2a\u7535\u8bdd\uff0c\u8fd9\u4e2a\u65f6\u5019\u4f60\u505c\u4e0b\u624b\u4e2d\u6240\u6709\u7684\u4e8b\u53bb\u63a5\u7535\u8bdd\uff0c\u7535\u8bdd\u6253\u5b8c\u4e86\u518d\u56de\u6765\u7ee7\u7eed\u5de5\u4f5c\uff0c\u6253\u7535\u8bdd\u8fd9\u4e2a\u8fc7\u7a0b\u5c31\u76f8\u5f53\u4e8eSMI\u3002\u5173\u4e8eSMI\u548cSMM\uff08system management mode\uff09\uff1aSMI\u53d1\u51fa\u540e\uff0cCPU\u8fdb\u5165SMM\u72b6\u6001\u3002SMM\u662fintel\u5f15\u5165x86\u7684\u4e00\u79cdCPU\u7684\u6267\u884c\u6a21\u5f0f\uff0c\u53ea\u80fd\u901a\u8fc7SMI\u8fdb\u5165\uff0c\u5e76\u53ea\u80fd\u901a\u8fc7\u6267\u884cRSM\u6307\u4ee4\u9000\u51fa\u3002SMM driver\uff0cSMM\u6a21\u5f0f\u4e0b\u7684\u6267\u884c\u7684\u7a0b\u5e8f\uff0c\u7531bios\u5b9e\u73b0\uff0ccode\u91cc\u4f1a\u5199\u5165\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/55612.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-13T20:04:36+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250813200434-689cefd2e2f49.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/55612.html","url":"https:\/\/www.wsisp.com\/helps\/55612.html","name":"\u3010UEFI\u7cfb\u5217\u3011SMI\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-13T20:04:36+00:00","dateModified":"2025-08-13T20:04:36+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/55612.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/55612.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/55612.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010UEFI\u7cfb\u5217\u3011SMI\u7cfb\u7edf\u7ba1\u7406\u4e2d\u65ad"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/55612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=55612"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/55612\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/55611"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=55612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=55612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=55612"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=55612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}