{"id":2364,"date":"2018-10-17T08:09:31","date_gmt":"2018-10-17T00:09:31","guid":{"rendered":"https:\/\/www.aoisnow.net\/blog\/?p=2364"},"modified":"2018-10-17T08:09:31","modified_gmt":"2018-10-17T00:09:31","slug":"tont-41583-%e5%a6%82%e6%9e%9cflushinstructioncache%e5%95%a5%e4%ba%8b%e4%b9%9f%e4%b8%8d%e5%81%9a%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e8%bf%98%e8%a6%81%e8%b0%83%e7%94%a8%e5%ae%83%e5%91%a2%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.aoisnow.net\/blog\/archives\/2364","title":{"rendered":"TONT 41583 \u5982\u679cFlushInstructionCache\u5565\u4e8b\u4e5f\u4e0d\u505a\uff0c\u4e3a\u4ec0\u4e48\u8fd8\u8981\u8c03\u7528\u5b83\u5462\uff1f"},"content":{"rendered":"<p>\u5b58\u5728\u7684\u7406\u7531\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/20031208-00\/?p=41583\" target=\"_blank\" rel=\"noopener\">https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/20031208-00\/?p=41583<\/a><\/p>\n<p>If you look at the implementation of FlushInstructionCache on Windows 95, you&#8217;ll see that it&#8217;s just a return instruction. It doesn&#8217;t actually do anything. So why do you have to call it?<\/p>\n<p>\u770b\u4e00\u770bWindows 95\u4e2dFlushInstructionCache\u65b9\u6cd5\u7684\u5b9e\u73b0\uff0c\u4f1a\u53d1\u73b0\u5b83\u53ea\u662f\u7b80\u5355\u5730\u8fd4\u56de\u4e00\u4e0b\u5c31\u6ca1\u4e86\uff0c\u770b\u4e0a\u53bb\u5e76\u6ca1\u6709\u505a\u4efb\u4f55\u4e8b\u3002\u90a3\u4e48\uff0c\u4e3a\u4ec0\u4e48\u4f60\u8fd8\u8981\u8c03\u7528\u5b83\u5462\uff1f<\/p>\n<p>Because the act of calling it is the whole point. The control transfers implicit in calling a function suffice to flush the instruction cache on a Pentium. The function doesn&#8217;t have to do anything else; it is fact that you called a function that is important.<\/p>\n<p>\u56e0\u4e3a\u8c03\u7528\u672c\u8eab\u5c31\u662f\u610f\u4e49\u6240\u5728\u3002\u901a\u8fc7\u8c03\u7528\u8fd9\u4e2a\u51fd\u6570\uff0c\u5c31\u53ef\u4ee5\u9690\u5f0f\u5730\u5728Pentium\u5904\u7406\u5668\u4e0a\u5237\u65b0\u6307\u4ee4\u7f13\u5b58\u3002\u51fd\u6570\u672c\u8eab\u4e0d\u7528\u505a\u4efb\u4f55\u4e8b\uff0c\u800c\u8c03\u7528\u8fd9\u4e2a\u65b9\u6cd5\u672c\u8eab\u624d\u662f\u6700\u91cd\u8981\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b58\u5728\u7684\u7406\u7531\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-2364","post","type-post","status-publish","format-standard","hentry","category-tont_history"],"_links":{"self":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/2364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/comments?post=2364"}],"version-history":[{"count":0,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/2364\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/media?parent=2364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/categories?post=2364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/tags?post=2364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}