{"id":388,"date":"2023-07-26T13:45:11","date_gmt":"2023-07-26T05:45:11","guid":{"rendered":"https:\/\/blog.taiyang.space\/?p=388"},"modified":"2023-07-26T13:45:12","modified_gmt":"2023-07-26T05:45:12","slug":"l2-%e5%af%b9gdt%e5%92%8cldt%e7%9a%84%e7%90%86%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/blog.taiyang.space\/?p=388","title":{"rendered":"L2-\u5bf9GDT\u548cLDT\u7684\u7406\u89e3"},"content":{"rendered":"<h2 id=\"1\u5185\u5b58\u5bfb\u5740\">1\u3001\u5185\u5b58\u5bfb\u5740<\/h2>\n<h3 id=\"11-\u5b9e\u6a21\u5f0f\u4e0b\u7684\u5185\u5b58\u5bfb\u5740\">1.1 \u5b9e\u6a21\u5f0f\u4e0b\u7684\u5185\u5b58\u5bfb\u5740<\/h3>\n<p>\u5b9e\u6a21\u5f0f\uff08\u4e5f\u5c31\u662f 8086 \u7684\u6a21\u5f0f\uff09\u4e0b\u7684\u5bfb\u5740\u65b9\u5f0f\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>\u6bb5\u9996\u5730\u5740 x 16 + \u504f\u79fb\u91cf = \u7269\u7406\u5730\u5740\uff1b<code>\u5373cs&lt;&lt;4+ip<\/code><\/p><\/blockquote>\n<p>\u4e58\u4ee5 16 \u662f\u56e0\u4e3a\u5728 8086 CPU\u4e2d\uff0c\u5730\u5740\u7ebf\u662f20\u4f4d\uff0c\u4f46\u5bc4\u5b58\u5668\u662f16\u4f4d\u7684\uff08\u6216\u8005\u8bf4\u7528\u6765\u5bfb\u5740\u7684\u6bb5\u5bc4\u5b58\u5668\u53ea\u670916\u4f4d\uff09\uff0c\u6700\u9ad8\u5bfb\u574064KB\uff0c\u5b83\u65e0\u6cd5\u5bfb\u5740\u52301M\u5185\u5b58\u3002\u4e8e\u662f\uff0cIntel \u8bbe\u8ba1\u4e86\u8fd9\u79cd\u5bfb\u5740\u65b9\u5f0f\uff0c\u8fd9\u4e5f\u9020\u6210\u4e86\u6bb5\u7684\u9996\u5730\u5740\u5fc5\u987b\u662f16\u7684\u500d\u6570\u7684\u9650\u5236\u3002<\/p>\n<h3 id=\"12-\u4fdd\u62a4\u6a21\u5f0f\u4e0b\u5206\u6bb5\u673a\u5236\u7684\u5185\u5b58\u5bfb\u5740\">1.2 \u4fdd\u62a4\u6a21\u5f0f\u4e0b\u5206\u6bb5\u673a\u5236\u7684\u5185\u5b58\u5bfb\u5740<\/h3>\n<p>\u4fdd\u62a4\u6a21\u5f0f\u548c\u5b9e\u6a21\u5f0f\u7684\u5bfb\u5740\u65b9\u5f0f\u6709\u7740\u5f88\u5927\u7684\u4e0d\u540c\u3002\u4fdd\u62a4\u6a21\u5f0f\u4e0b\u5185\u5b58\u5bfb\u5740\u7684\u65b9\u5f0f\u4e3a\uff1a\u5229\u7528\u6bb5\u9009\u62e9\u5b50\uff08\u901a\u5e38\u60c5\u51b5\u4e0b\u4e5f\u5c31\u662f\u5b9e\u6a21\u5f0f\u4e0b\u7684\u6bb5\u5bc4\u5b58\u5668\uff1acs\u3001ds\u7b49\uff09\u4ece\u6bb5\u63cf\u8ff0\u7b26\u8868\uff08GDT\u3001LDT\u90fd\u662f\u6bb5\u63cf\u8ff0\u7b26\u8868\uff09\u4e2d\u627e\u5230\u5bf9\u5e94\u7684\u6bb5\u63cf\u8ff0\u7b26\uff0c\u56e0\u4e3a\u6bb5\u63cf\u8ff0\u7b26\u4e2d\u542b\u6709\u9700\u8981\u5bfb\u5740\u7684\u6bb5\u57fa\u5730\u5740\u3001\u6bb5\u957f\u5ea6\uff0c\u6bb5\u5c5e\u6027\u7b49\u4fe1\u606f\uff0c\u6240\u4ee5\u5229\u7528\u901a\u8fc7\u6bb5\u9009\u62e9\u5b50\u627e\u5230\u7684\u6bb5\u63cf\u8ff0\u7b26\u548c\u504f\u79fb\u91cf\u5c31\u53ef\u4ee5\u5bfb\u5740\u5230\u5bf9\u5e94\u7684\u5185\u5b58\u5730\u5740\u3002\u5728\u672a\u5f00\u542f\u5206\u9875\u673a\u5236\u7684\u60c5\u51b5\u4e0b\uff0c\u6b64\u65f6\u4fdd\u62a4\u6a21\u5f0f\u4e0b\u7684\u5bfb\u5740\u65b9\u5f0f\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>\u6bb5\u63cf\u8ff0\u7b26\u4e2d\u7684\u57fa\u5730\u5740 + \u504f\u79fb\u91cf = \u7269\u7406\u5730\u5740<\/p><\/blockquote>\n<p>\u8fd9\u4e00\u6bb5\u8bdd\uff0c\u51fa\u73b0\u4e86\u4e09\u4e2a\u65b0\u540d\u8bcd\uff1a\u6bb5\u9009\u62e9\u5b50\u3001\u6bb5\u63cf\u8ff0\u7b26\u8868\u3001\u6bb5\u63cf\u8ff0\u7b26<\/p>\n<p><strong>\u53ef\u4ee5\u5148\u7b80\u5355\u7406\u89e3\uff1a\u6bb5\u63cf\u8ff0\u7b26\u8868 \u662f\u4e00\u4e2a\u6570\u7ec4\uff0c\u8fd9\u4e2a\u6570\u7ec4\u4e2d\u7684\u6bcf\u4e00\u9879\u90fd\u662f\u4e00\u4e2a \u6bb5\u63cf\u8ff0\u7b26\uff0c\u6bb5\u9009\u62e9\u5b50 \u4f5c\u4e3a \u6bb5\u63cf\u8ff0\u7b26\u8868 \u7684\u7d22\u5f15\uff0c\u5176\u5b9e \u6bb5\u9009\u62e9\u5b50 \u5c31\u662f\u6570\u7ec4\u7684\u4e0b\u6807\u3002<\/strong><\/p>\n<p>\u8bf4\u4eba\u8bdd\uff1a<\/p>\n<ul>\n<li>\u6bb5\u63cf\u8ff0\u7b26\u8868\uff1a\u6570\u7ec4<\/li>\n<li>\u6bb5\u63cf\u8ff0\u7b26\uff1a\u6570\u7ec4\u5143\u7d20<\/li>\n<li>\u6bb5\u9009\u62e9\u5b50\uff1a\u6570\u7ec4\u4e0b\u6807<\/li>\n<\/ul>\n<p>\u6211\u4eec\u518d\u770b\u4e00\u4e0b\u5b9e\u6a21\u5f0f\u4e0b\u548c\u4fdd\u62a4\u6a21\u5f0f\u4e0b \uff0c\u4e0b\u9762\u4e24\u6761\u6c47\u7f16\u6307\u4ee4\u7684\u533a\u522b\uff08\u4e0b\u9762\u4e24\u53e5\u4ee3\u7801\u90fd\u6765\u81ea Linux0.11 \uff09\uff1a<\/p>\n<pre><code class=\"language-shell\" lang=\"shell\">jmpi go, INITSEG ! \u8be5\u6307\u4ee4\u5728\u5b9e\u6a21\u5f0f\u4e0b\u6267\u884c, go\u662f\u4e2a\u6c47\u7f16\u6807\u53f7\uff0c\u662f\u504f\u79fb\u5730\u5740\uff0cINITSEG \u662f\u6bb5\u57fa\u5730\u5740\uff08\u5728mov\u6307\u4ee4\u4e2d\u6bb5\u57fa\u5730\u5740\n                 ! \u901a\u5e38\u662fcs\u3001ds\u7b49\uff09\u3002\u6240\u4ee5\u8be5\u6307\u4ee4\u8981\u8df3\u8f6c INITSEG &lt;&lt; 4 + go \u5730\u5740\u53bb\u6267\u884c\u3002\n                 \njmpi 0, 8        ! \u8be5\u6307\u4ee4\u5728\u4fdd\u62a4\u6a21\u5f0f\u4e0b\u6267\u884c\uff0c0 \u4e3a\u504f\u79fb\u5730\u5740\uff0c8 \u4e3a\u6bb5\u9009\u62e9\u5b50\uff08\u5728mov\u6307\u4ee4\u4e2d\u6bb5\u9009\u62e9\u5b50\u901a\u5e38\u662fcs\u3001ds\u7b49\uff09\u3002\n                 ! \u6240\u4ee5\u8be5\u6307\u4ee4\u5229\u7528 8 \u627e\u5230\u5bf9\u5e94\u7684\u6bb5\u63cf\u8ff0\u7b26\uff0c\u5728\u5229\u7528\u6bb5\u63cf\u8ff0\u7b26\u4e2d\u7684\u6bb5\u57fa\u5730\u5740 + \u504f\u79fb\u5730\u5740\u627e\u5230\u5bf9\u5e94\u7684\u7269\u7406\u5730\u5740\u3002\n<\/code><\/pre>\n<h2 id=\"2\u4ec0\u4e48\u662fgdt\">2\u3001\u4ec0\u4e48\u662fGDT<\/h2>\n<p>GDT \u5c31\u662f\u6bb5\u63cf\u8ff0\u7b26\u8868\u7684\u4e00\u79cd\u3002GDT \u5168\u540d\u662f(Global Describe Table)<strong>\u5168\u5c40\u63cf\u8ff0\u7b26\u8868<\/strong>\uff0c\u5b58\u653e\u5728\u5185\u5b58\u4e2d\uff08GDT\u53ef\u4ee5\u88ab\u653e\u5728\u5185\u5b58\u7684\u4efb\u4f55\u4f4d\u7f6e\uff09\uff0c\u53ea\u6709\u4e00\u5f20\u4e14\u5168\u5c40\u53ef\u89c1\u3002\u7ecf\u8fc7\u4e0a\u4e00\u8282\u7684\u5206\u6790\uff0cGDT \u5c31\u662f\u4e00\u4e2a\u6bb5\u63cf\u8ff0\u7b26\u7c7b\u578b\u7684\u6570\u7ec4\u3002\u5f62\u8c61\u70b9\u8868\u793a\u7684\u8bdd\uff0c\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-c\" lang=\"c\">\/\/ Discriptor\u5c31\u662f\u6bb5\u63cf\u8ff0\u7b26\uff0c\u8be5\u7ed3\u6784\u4f53\u5927\u5c0f\u4e3a 64 bit\nstruct Discriptor {\n    elemType Base;        \/\/ \u6bb5\u7269\u7406\u9996\u5730\u5740\n    elemType Limit;       \/\/ \u6bb5\u754c\u9650\n    elemType Access;      \/\/ \u6bb5\u5c5e\u6027\n};\n\/\/ discriptorTable[n] \u5c31\u662f\u63cf\u8ff0\u7b26\u8868(GDT)\nstruct Discriptor  discriptorTable[n] = {...};\n<\/code><\/pre>\n<p>\u6bb5\u63cf\u8ff0\u7b26 \u670964\u4f4d\uff0c\u6bb5\u63cf\u8ff0\u7b26\u7684\u5b9e\u9645\u7ed3\u6784\u5982\u4e0b\uff08\u5176\u5b9e\u6bb5\u63cf\u8ff0\u7b26\u4e0d\u662f\u4e0a\u9762\u8bf4\u7684\u90a3\u4e2a\u7ed3\u6784\u4f53\uff0c\u4e0d\u8fc7\u5185\u5bb9\u4e5f\u6ca1\u4ec0\u4e48\u533a\u522b\u3002\u53e6\u5916\u6bb5\u63cf\u8ff0\u7b26\u4e3a\u4ec0\u4e48\u4f1a\u8fd9\u4e48\u5947\u602a\uff0c\u597d\u50cf\u662f\u4e3a\u4e86\u517c\u5bb9\u4e4b\u524d\u7684\u67b6\u6784\uff09\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202307261219473.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u4ece\u56fe\u4e2d\u53ef\u4ee5\u770b\u51fa \u6bb5\u63cf\u8ff0\u7b26\u8868 \u4e2d\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u4fe1\u606f\u2014\u2014\u6bb5\u57fa\u5730\u5740\u3002\u5173\u4e8e \u6bb5\u5c5e\u6027 \u53ef\u4ee5\u7b80\u5355\u4e86\u89e3\u4e00\u4e0b\uff1a<\/p>\n<ol start=\"\">\n<li>G:<\/li>\n<li>\n<ol start=\"\">\n<li>G=0\u65f6\uff0c\u6bb5\u9650\u957f\u768420\u4f4d\u4e3a\u5b9e\u9645\u6bb5\u9650\u957f\uff0c\u6700\u5927\u9650\u957f\u4e3a2^20=1MB<\/li>\n<li>G=1\u65f6\uff0c\u5219\u5b9e\u9645\u6bb5\u9650\u957f\u4e3a20\u4f4d\u6bb5\u9650\u957f\u4e58\u4ee52^12=4KB\uff0c\u6700\u5927\u9650\u957f\u8fbe\u52304GB<\/li>\n<\/ol>\n<\/li>\n<li>DPL\uff1a\u7279\u6743\u7ea7\uff0c0\u4e3a\u6700\u9ad8\u7279\u6743\u7ea7\uff0c3\u4e3a\u6700\u4f4e\uff0c\u8868\u793a\u8bbf\u95ee\u8be5\u6bb5\u65f6CPU\u6240\u9700\u5904\u4e8e\u7684\u6700\u4f4e\u7279\u6743\u7ea7\u3002\uff08 \u533a\u522b\u4e00\u4e0bCPL\uff1aCPL\u662f\u5f53\u524d\u8fdb\u7a0b\u7684\u6743\u9650\u7ea7\u522b(Current Privilege Level)\uff0c\u662f\u5f53\u524d\u6b63\u5728\u6267\u884c\u7684\u4ee3\u7801\u6240\u5728\u7684\u6bb5\u7684\u7279\u6743\u7ea7\uff0c\u5b58\u5728\u4e8ecs\u5bc4\u5b58\u5668\u7684\u4f4e\u4e24\u4f4d\u3002\uff09<\/li>\n<\/ol>\n<h2 id=\"3\u4ec0\u4e48\u662fldt\">3\u3001\u4ec0\u4e48\u662fLDT<\/h2>\n<p>LDT \u7684\u5168\u79f0\u662f\u5c40\u90e8\u6bb5\u63cf\u8ff0\u7b26\u8868\u3002LDT \u7684\u7ed3\u6784\u4e0e GDT \u7c7b\u4f3c\uff0c\u4e5f\u5b58\u653e\u5728\u5185\u5b58\u4e2d\uff0c\u4e0eGDT\u4e0d\u540c\u7684\u662f\uff0cLDT\u5728\u7cfb\u7edf\u4e2d\u53ef\u4ee5\u5b58\u5728\u591a\u4e2a\uff08\u5f53\u7136LDT\u4e5f\u53ef\u4ee5\u6ca1\u6709\uff09\uff0c\u5e76\u4e14\u4eceLDT\u7684\u540d\u5b57\u53ef\u4ee5\u5f97\u77e5\uff0cLDT\u4e0d\u662f\u5168\u5c40\u53ef\u89c1\u7684\uff0c\u5b83\u4eec\u53ea\u5bf9\u5f15\u7528\u5b83\u4eec\u7684\u4efb\u52a1\u53ef\u89c1\uff0c\u6bcf\u4e2a\u4efb\u52a1\u6700\u591a\u53ef\u4ee5\u62e5\u6709\u4e00\u4e2aLDT\u3002\u53e6\u5916\uff0c\u6bcf\u4e00\u4e2aLDT\u81ea\u8eab\u4f5c\u4e3a\u4e00\u4e2a\u6bb5\u5b58\u5728\uff0c\u5b83\u4eec\u7684\u6bb5\u63cf\u8ff0\u7b26\u88ab\u653e\u5728GDT\u4e2d\u3002<\/p>\n<p>IA-32 \u4e3a LDT \u7684\u5165\u53e3\u5730\u5740\u4e5f\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5bc4\u5b58\u5668 LDTR\uff0c\u56e0\u4e3a\u5728\u4efb\u4f55\u65f6\u523b\u53ea\u80fd\u6709\u4e00\u4e2a\u4efb\u52a1\uff08\u6216\u8005\u8bf4\u8fdb\u7a0b\uff09\u5728\u8fd0\u884c\uff0c\u6240\u4ee5 LDT \u5bc4\u5b58\u5668\u5168\u5c40\u4e5f\u53ea\u9700\u8981\u6709\u4e00\u4e2a\u3002\u5982\u679c\u6bcf\u4e2a\u4efb\u52a1\u90fd\u62e5\u6709\u81ea\u8eab\u7684 LDT\uff0c\u90a3\u4e48\u5728\u5207\u6362\u5230\u4e0b\u4e00\u4e2a\u4efb\u52a1\u7684\u65f6\u5019\uff0c\u5c31\u8981\u4fee\u6539 LDTR \uff0c\u8ba9 LDTR \u6307\u5411\u4e0b\u4e00\u4e2a\u4efb\u52a1\u7684 LDT\u3002\u4fee\u6539\u65b9\u5f0f\u5c31\u662f\u901a\u8fc7 LLDT \u6307\u4ee4\u5c06\u4e0b\u4e00\u4e2a\u4efb\u52a1\u7684 LDT \u7684 \u6bb5\u63cf\u8ff0\u7b26\u7684\u7d22\u5f15\uff08\u4e5f\u5c31\u662f\u6bb5\u9009\u62e9\u5b50\uff09\u88c5\u5165\u6b64\u5bc4\u5b58\u5668\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202307261219456.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>LLDT \u6307\u4ee4\u4e0e LGDT \u6307\u4ee4\u4e0d\u540c\uff1a<\/p>\n<ul>\n<li>LGDT \u6307\u4ee4\u7684\u64cd\u4f5c\u6570\u662f\u4e00\u4e2a 32-bit \u7684\u5185\u5b58\u5730\u5740\uff0c\u8fd9\u4e2a\u5185\u5b58\u5730\u5740\u6307\u5411\u4e00\u4e2a48bit\u7684\u5185\u5b58\u7a7a\u95f4\uff0c\u8fd9\u4e2a\u5185\u5b58\u7a7a\u95f4\u91cc\u5b58\u653e\u4e86 32-bit GDT \u7684\u5165\u53e3\u5730\u5740\uff0c\u4ee5\u53ca 16-bit \u7684GDT Limit\u3002LGDT \u6307\u4ee4\u4f1a\u5c06\u8fd948bit\u5185\u5bb9\u52a0\u8f7d\u5230 GDTR\u4e2d\u3002<\/li>\n<li>LLDT \u6307\u4ee4\u7684\u64cd\u4f5c\u6570\u662f\u4e00\u4e2a16-bit\u7684 \u9009\u62e9\u5b50\uff0c\u8fd9\u4e2a\u9009\u62e9\u5b50\u4e3b\u8981\u5185\u5bb9\u662f\uff1a\u88ab\u88c5\u5165\u7684 LDT \u7684\u6bb5\u63cf\u8ff0\u7b26\u5728 GDT \u4e2d\u7684\u7d22\u5f15\u503c\u3002LLDT \u6307\u4ee4\u4f1a\u5c06\u8fd9\u4e2a16-bit\u7684 \u9009\u62e9\u5b50\u52a0\u8f7d\u5230 LDTR \u4e2d\u3002<\/li>\n<\/ul>\n<h2 id=\"4\u6bb5\u9009\u62e9\u5b50\">4\u3001\u6bb5\u9009\u62e9\u5b50<\/h2>\n<p>\u539f\u5148<strong>\u5b9e\u6a21\u5f0f<\/strong>\u4e0b\u7684\u5404\u4e2a\u6bb5\u5bc4\u5b58\u5668\u4f5c\u4e3a\u4fdd\u62a4\u6a21\u5f0f\u4e0b\u7684\u6bb5\u9009\u62e9\u5b50\uff08\u4e5f\u53ef\u4ee5\u79f0\u4e3a\u6bb5\u9009\u62e9\u5668\u3001\u6bb5\u9009\u62e9\u7b26\uff09\uff0c80486\u4e2d\u67096\u4e2a(\u5373CS,SS,DS,ES,FS,GS)16\u4f4d\u7684\u6bb5\u5bc4\u5b58\u5668\u3002\u6bb5\u9009\u62e9\u5b50 CS \u5bf9\u5e94\u8868\u793a\u7684\u6bb5\u4ecd\u4e3a\u4ee3\u7801\u6bb5\uff0cSS \u5bf9\u5e94\u8868\u793a\u7684\u6bb5\u4ecd\u4e3a\u5806\u6808\u6bb5\u3002<strong>\u5f53\u7136\u6bb5\u9009\u62e9\u5b50\u4e5f\u4e0d\u90fd\u662f\u6bb5\u5bc4\u5b58\u5668\uff0c\u800c\u662f\u6839\u636e\u5177\u4f53\u7684\u6c47\u7f16\u6307\u4ee4\u800c\u5b9a\uff0c\u5c31\u50cf\u7b2c1\u8282\u4e2d\u7684\u90a3\u4e2a jmpi \u6307\u4ee4\uff0c\u9009\u62e9\u5b50\u5c31\u662f\u4e00\u4e2a\u5e38\u6570\u3002<\/strong><\/p>\n<p>\u6bb5\u9009\u62e9\u5b50\u5927\u5c0f\u4e3a 16bit\u3002\u6bb5\u9009\u62e9\u5b50\u5305\u62ec\u4e09\u90e8\u5206\uff1a\u63cf\u8ff0\u7b26\u7d22\u5f15\uff08index\uff09\u3001TI\u3001\u8bf7\u6c42\u7279\u6743\u7ea7\uff08RPL\uff09\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202307261219375.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\uff08\u56fe5.1\u5b58\u5728\u4e00\u4e9b\u9519\u8bef\uff1a\u6bb5\u9009\u62e9\u5b50\u7684\u5927\u5c0f\u5e94\u8be5\u662f0~15 \u5171 16bit\uff0c\u5176\u4e2d RPL \u4e3a bit0 &#8211; bit1\u3001TI \u4e3a bit2\u3001Index \u4e3a bit3 &#8211; bit15\uff09<\/p>\n<ul>\n<li>Index\uff08\u63cf\u8ff0\u7b26\u7d22\u5f15\uff09\u90e8\u5206\u8868\u793a\u6240\u9700\u8981\u7684\u6bb5\u63cf\u8ff0\u7b26\u5728\u63cf\u8ff0\u7b26\u8868\u7684\u4f4d\u7f6e\uff08\u5982Index = 1\uff0c\u8868\u793a\u6bb5\u63cf\u8ff0\u7b26\u8868\u7684\u7b2c1\u9879\u6bb5\u63cf\u8ff0\u7b26\uff09\uff0c\u7531\u8fd9\u4e2a\u4f4d\u7f6e\u518d\u6839\u636e\u5728 GDTR \u4e2d\u5b58\u50a8\u7684\u63cf\u8ff0\u7b26\u8868\u57fa\u5740\u5c31\u53ef\u4ee5\u627e\u5230\u76f8\u5e94\u7684\u63cf\u8ff0\u7b26\u3002\u7136\u540e\u7528\u63cf\u8ff0\u7b26\u8868\u4e2d\u7684\u6bb5\u57fa\u5740\u52a0\u4e0a\u903b\u8f91\u5730\u5740\uff08SEL:OFFSET\uff09\u7684OFFSET\u5c31\u53ef\u4ee5\u8f6c\u6362\u6210\u7ebf\u6027\u5730\u5740\u3002<\/li>\n<li><strong>TI \u503c\u53ea\u6709\u4e00\u4f4d0\u62161\uff0c0\u4ee3\u8868\u9009\u62e9\u5b50\u662f\u5728 GDT \u4e2d\u7d22\u5f15\uff0c1\u4ee3\u8868\u9009\u62e9\u5b50\u662f\u5728 LDT \u4e2d\u7d22\u5f15\u3002<\/strong><\/li>\n<li>\u8bf7\u6c42\u7279\u6743\u7ea7\uff08RPL\uff09\u5219\u4ee3\u8868\u9009\u62e9\u5b50\u7684\u7279\u6743\u7ea7\uff0c\u5171\u67094\u4e2a\u7279\u6743\u7ea7\uff080\u7ea7\u30011\u7ea7\u30012\u7ea7\u30013\u7ea7\uff09\u3002<\/li>\n<\/ul>\n<h2 id=\"5\u5173\u4e8e\u7279\u6743\u7ea7\u7684\u8bf4\u660e\">5\u3001\u5173\u4e8e\u7279\u6743\u7ea7\u7684\u8bf4\u660e<\/h2>\n<p>\u4efb\u52a1\u4e2d\u7684\u6bcf\u4e00\u4e2a\u6bb5\u90fd\u6709\u4e00\u4e2a\u7279\u5b9a\u7684\u7ea7\u522b\u3002\u6bcf\u5f53\u4e00\u4e2a\u7a0b\u5e8f\u8bd5\u56fe\u8bbf\u95ee\u67d0\u4e00\u4e2a\u6bb5\u65f6\uff0c\u5c31\u5c06\u8be5\u7a0b\u5e8f\u6240\u62e5\u6709\u7684\u7279\u6743\u7ea7\u4e0e\u8981\u8bbf\u95ee\u7684\u7279\u6743\u7ea7\u8fdb\u884c\u6bd4\u8f83\uff0c\u4ee5\u51b3\u5b9a\u80fd\u5426\u8bbf\u95ee\u8be5\u6bb5\u3002\u7cfb\u7edf\u7ea6\u5b9a\uff0cCPU\u53ea\u80fd\u8bbf\u95ee\u540c\u4e00\u7279\u6743\u7ea7\u6216\u7ea7\u522b\u8f83\u4f4e\u7279\u6743\u7ea7\u7684\u6bb5\u3002<\/p>\n<p>Linux0.11\u4e2d\u53ea\u662f\u7528\u4e862\u4e2a\u7279\u6743\u7ea7\uff1a0\u7ea7\u548c3\u7ea7\uff0c\u5176\u4e2d\u64cd\u4f5c\u7cfb\u7edf\u7684\u5185\u6838\u533a\u4e3a0\u7ea7\uff0c\u7528\u6237\u533a\u4e3a3\u7ea7\u3002\u7279\u6743\u7ea7\u67093\u79cd\u7c7b\u578b\uff1aCPL\u3001DPL\u548cRPL\u3002<\/p>\n<ul>\n<li>CPL\u4e3a<strong>\u5f53\u524d\u7279\u6743\u7ea7<\/strong>\uff0c\u8868\u793a\u5f53\u524d\u6b63\u5728\u6267\u884c\u7684\u7a0b\u5e8f\u7684\u7279\u6743\u7ea7\uff0c\u5b58\u653e\u5728cs\u548css\u5bc4\u5b58\u5668\u4e2d\u3002int\u6307\u4ee4\u53ef\u4ee5\u5c06 CPL \u6539\u4e3a0<\/li>\n<li>DPL\u4e3a\u63cf\u8ff0\u7b26\u7279\u6743\u7ea7\uff0c\u8868\u793a\u8981\u8bbf\u95ee\u7684\u6bb5\u6216\u95e8\u7684\u7279\u6743\u7ea7\uff08<strong>\u76ee\u6807\u7279\u6743\u7ea7<\/strong>\uff09\u3002DPL\u5b58\u653e\u5728\u6bb5\u63cf\u8ff0\u7b26\u6216\u95e8\u63cf\u7b26\u4e2d\u3002<\/li>\n<li>RPL\u4e3a<strong>\u8bf7\u6c42\u7279\u6743\u7ea7<\/strong>\uff0c\u5b58\u653e\u5728\u6bb5\u9009\u62e9\u5b50\uff08\u5982ds\uff0ccs\u7b49\u6bb5\u5bc4\u5b58\u5668\uff0c\u4e0d\u8fc7RPL\u901a\u5e38\u88ab\u7528\u5728ds\u4e2d\uff09\u4e2d\u3002\u82e5\u8fd9\u4e2a\u6bb5\u9009\u62e9\u5b50\u662f cs\uff0c\u90a3\u4e48\u6b64\u65f6RPL \u5c31\u7b49\u4e8e CPL \uff08\u56e0\u4e3aCPL\u53ea\u5b58\u653e\u5728 cs \u4e2d\uff09\u3002<\/li>\n<\/ul>\n<p>\u5f53\u7a0b\u5e8f\u8bbf\u95ee\u4e00\u4e2a\u6bb5\u65f6\uff0c\u5904\u7406\u5668\u4f1a\u68c0\u67e5CPL\u3001DPL\u548cRPL\uff0c <strong>\u53ea\u6709\u5f53 DPL&gt;= CPL \u4e14 DPL&gt;= RPL \u65f6\u5904\u7406\u5668\u624d\u4f1a\u5141\u8bb8\u7a0b\u5e8f\u8bbf\u95ee\u8be5\u6bb5<\/strong>\u3002\u4f8b\u5982 CPL = 3\uff0cRPL = 3\uff0c DPL = 0 \u65f6\u7a0b\u5e8f\u8bbf\u95ee\u7684\u8bf7\u6c42\u65f6\u4e0d\u88ab\u5141\u8bb8\u7684\u3002<\/p>\n<h2 id=\"6\u518d\u770b\u4fdd\u62a4\u6a21\u5f0f\u4e0b\u5206\u6bb5\u673a\u5236\u7684\u5185\u5b58\u5bfb\u5740\">6\u3001\u518d\u770b\u4fdd\u62a4\u6a21\u5f0f\u4e0b\u5206\u6bb5\u673a\u5236\u7684\u5185\u5b58\u5bfb\u5740<\/h2>\n<h3 id=\"61-\u8bbf\u95eegdt\">6.1 \u8bbf\u95eeGDT<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202307261219429.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u5f53<strong>TI = 0<\/strong>\u65f6\u8868\u793a\u6bb5\u63cf\u8ff0\u7b26\u5728 GDT \u4e2d\uff0c\u5982\u4e0a\u56fe\u6240\u793a\uff1a<\/p>\n<ol start=\"\">\n<li>\u5148\u4ece GDTR \u5bc4\u5b58\u5668\u4e2d\u83b7\u5f97 GDT \u57fa\u5740\uff1b<\/li>\n<li>\u7136\u540e\u518d\u6839\u636e\u6bb5\u9009\u62e9\u5b50\uff08\u6bb5\u9009\u62e9\u5668\uff09\u9ad813\u4f4d\u7684\u4f4d\u7f6e\u7d22\u5f15\u503c\u5f97\u5230\u6bb5\u63cf\u8ff0\u7b26\uff1b<\/li>\n<li>\u6bb5\u63cf\u8ff0\u7b26\u7b26\u5305\u542b\u6bb5\u7684\u57fa\u5740\u3001\u9650\u957f\u3001\u4f18\u5148\u7ea7\u7b49\u5404\u79cd\u5c5e\u6027\uff0c\u8fd9\u5c31\u5f97\u5230\u4e86\u6bb5\u7684\u8d77\u59cb\u5730\u5740\uff08\u57fa\u5740\uff09\uff0c\u518d\u4ee5\u57fa\u5740\u52a0\u4e0a\u504f\u79fb\u5730\u5740\uff1b<\/li>\n<\/ol>\n<h3 id=\"62-\u8bbf\u95eeldt\">6.2 \u8bbf\u95eeLDT<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202307261219421.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u5f53 TI = 1 \u65f6\u8868\u793a\u6bb5\u63cf\u8ff0\u7b26\u5728 LDT \u4e2d\uff0c\u5982\u4e0a\u56fe\u6240\u793a\uff1a<\/p>\n<ol start=\"\">\n<li>\u8fd8\u662f\u5148\u4ece GDTR \u5bc4\u5b58\u5668\u4e2d\u83b7\u5f97 GDT \u57fa\u5740\uff1b<\/li>\n<li>\u4ece LDTR \u5bc4\u5b58\u5668\u4e2d\u83b7\u53d6 LDT \u6240\u5728\u6bb5\u7684\u4f4d\u7f6e\u7d22\u5f15 (LDTR\u9ad813\u4f4d)\uff0c\u6b64\u65f6 LDTR \u53ef\u4ee5\u770b\u6210\u4e00\u4e2a\u6bb5\u9009\u62e9\u5b50\uff1b<\/li>\n<li>\u901a\u8fc7\u8fd9\u4e2a\u4f4d\u7f6e\u7d22\u5f15 (LDTR\u9ad813\u4f4d)\uff0c\u5728 GDT \u4e2d\u5f97\u5230 LDT \u7684\u6bb5\u63cf\u8ff0\u7b26\u4ece\u800c\u5f97\u5230 LDT \u6bb5\u57fa\u5740\uff1b<\/li>\n<li>\u5229\u7528\u6bb5\u9009\u62e9\u5b50\uff08\u6bb5\u9009\u62e9\u5668\uff09\u9ad813\u4f4d\u4f4d\u7f6e\u7d22\u5f15\u503c\u4ece LDT \u6bb5\u4e2d\u5f97\u5230\u9700\u8981\u8bbf\u95ee\u7684\u5185\u5b58\u7684\u6bb5\u63cf\u8ff0\u7b26\uff1b<\/li>\n<li>\u6bb5\u63cf\u8ff0\u7b26\u7b26\u5305\u542b\u6bb5\u7684\u57fa\u5740\u3001\u9650\u957f\u3001\u4f18\u5148\u7ea7\u7b49\u5404\u79cd\u5c5e\u6027\uff0c\u8fd9\u5c31\u5f97\u5230\u4e86\u6bb5\u7684\u8d77\u59cb\u5730\u5740\uff08\u57fa\u5740\uff09\uff0c\u518d\u4ee5\u57fa\u5740\u52a0\u4e0a\u504f\u79fb\u5730\u5740 yyyyyyyy \u5f97\u5230\u6700\u540e\u7684\u7ebf\u6027\u5730\u5740\uff1b<\/li>\n<\/ol>\n<h3 id=\"7\u603b\u7ed3\">7\u3001\u603b\u7ed3<\/h3>\n<p>\u5176\u5b9eGDT\u53ea\u662f\u4e00\u4e2a\u6bb5\u63cf\u8ff0\u7b26\u7c7b\u578b\u7684\u6570\u7ec4\uff0c\u5b83\u4e3b\u8981\u662f\u7528\u4e8e\u5185\u5b58\u5bfb\u627e\u3002\u4e3a\u4e86\u5bf9\u90e8\u5206\u5185\u5b58\u533a\u57df\uff08\u5b58\u653e\u7740\u6838\u5fc3\u6570\u636e\uff09\u8fdb\u884c\u4fdd\u62a4\uff0c\u56e0\u6b64\u5c06\u6bb5\u63cf\u8ff0\u7b26\u8bbe\u8ba1\u6210\u4e86\u4e09\u90e8\u4efd\u3002\u800cLDT\u7684\u7ed3\u6784\u548cGDT\u7c7b\u4f3c\uff0c\u6211\u4eec\u53ef\u4ee5\u8fd9\u6837\u7406\u89e3GDT\u548cLDT\uff1aGDT\u4e3a\u4e00\u7ea7\u63cf\u8ff0\u7b26\u8868\uff0cLDT\u4e3a\u4e8c\u7ea7\u63cf\u8ff0\u7b26\u8868\u3002<\/p>\n<p><strong>LDT\u4e0d\u5305\u542b\u5728GDT\u4e2d\u3002GDT\u4e2d\u53ea\u662f\u5305\u542b\u4e86LDT\u63cf\u8ff0\u7b26\uff08\u4e00\u4e2a\u6307\u5411LDT\u8d77\u59cb\u5730\u5740\u7684\u6307\u9488\uff09\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u5185\u5b58\u5bfb\u5740 1.1 \u5b9e\u6a21\u5f0f\u4e0b\u7684\u5185\u5b58\u5bfb\u5740 \u5b9e\u6a21\u5f0f\uff08\u4e5f\u5c31\u662f 8086 \u7684\u6a21\u5f0f\uff09\u4e0b\u7684\u5bfb\u5740\u65b9\u5f0f\u5982\u4e0b\uff1a \u6bb5\u9996\u5730\u5740 x  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[118,120,115,121],"class_list":["post-388","post","type-post","status-publish","format-standard","hentry","category-10","tag-gdt","tag-ldt","tag-os","tag-121"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>L2-\u5bf9GDT\u548cLDT\u7684\u7406\u89e3 - #\u762b\u7537\u65e5\u8bb0<\/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:\/\/blog.taiyang.space\/?p=388\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"L2-\u5bf9GDT\u548cLDT\u7684\u7406\u89e3 - #\u762b\u7537\u65e5\u8bb0\" \/>\n<meta property=\"og:description\" content=\"1\u3001\u5185\u5b58\u5bfb\u5740 1.1 \u5b9e\u6a21\u5f0f\u4e0b\u7684\u5185\u5b58\u5bfb\u5740 \u5b9e\u6a21\u5f0f\uff08\u4e5f\u5c31\u662f 8086 \u7684\u6a21\u5f0f\uff09\u4e0b\u7684\u5bfb\u5740\u65b9\u5f0f\u5982\u4e0b\uff1a \u6bb5\u9996\u5730\u5740 x [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.taiyang.space\/?p=388\" \/>\n<meta property=\"og:site_name\" content=\"#\u762b\u7537\u65e5\u8bb0\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-26T05:45:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-26T05:45:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picture.chentaiyang.space\/202307261219473.png\" \/>\n<meta name=\"author\" content=\"taiyang\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"taiyang\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.taiyang.space\/?p=388#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.taiyang.space\/?p=388\"},\"author\":{\"name\":\"taiyang\",\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\"},\"headline\":\"L2-\u5bf9GDT\u548cLDT\u7684\u7406\u89e3\",\"datePublished\":\"2023-07-26T05:45:11+00:00\",\"dateModified\":\"2023-07-26T05:45:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.taiyang.space\/?p=388\"},\"wordCount\":178,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\"},\"keywords\":[\"GDT\",\"LDT\",\"OS\",\"\u6bb5\u63cf\u8ff0\u7b26\"],\"articleSection\":[\"\u64cd\u4f5c\u7cfb\u7edf\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.taiyang.space\/?p=388#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.taiyang.space\/?p=388\",\"url\":\"https:\/\/blog.taiyang.space\/?p=388\",\"name\":\"L2-\u5bf9GDT\u548cLDT\u7684\u7406\u89e3 - #\u762b\u7537\u65e5\u8bb0\",\"isPartOf\":{\"@id\":\"https:\/\/blog.taiyang.space\/#website\"},\"datePublished\":\"2023-07-26T05:45:11+00:00\",\"dateModified\":\"2023-07-26T05:45:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.taiyang.space\/?p=388#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.taiyang.space\/?p=388\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.taiyang.space\/?p=388#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/blog.taiyang.space\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"L2-\u5bf9GDT\u548cLDT\u7684\u7406\u89e3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.taiyang.space\/#website\",\"url\":\"https:\/\/blog.taiyang.space\/\",\"name\":\"#\u762b\u7537\u65e5\u8bb0\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.taiyang.space\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\",\"name\":\"taiyang\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg\",\"contentUrl\":\"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg\",\"width\":612,\"height\":640,\"caption\":\"taiyang\"},\"logo\":{\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/blog.taiyang.space\"],\"url\":\"https:\/\/blog.taiyang.space\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"L2-\u5bf9GDT\u548cLDT\u7684\u7406\u89e3 - #\u762b\u7537\u65e5\u8bb0","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:\/\/blog.taiyang.space\/?p=388","og_locale":"zh_CN","og_type":"article","og_title":"L2-\u5bf9GDT\u548cLDT\u7684\u7406\u89e3 - #\u762b\u7537\u65e5\u8bb0","og_description":"1\u3001\u5185\u5b58\u5bfb\u5740 1.1 \u5b9e\u6a21\u5f0f\u4e0b\u7684\u5185\u5b58\u5bfb\u5740 \u5b9e\u6a21\u5f0f\uff08\u4e5f\u5c31\u662f 8086 \u7684\u6a21\u5f0f\uff09\u4e0b\u7684\u5bfb\u5740\u65b9\u5f0f\u5982\u4e0b\uff1a \u6bb5\u9996\u5730\u5740 x [&hellip;]","og_url":"https:\/\/blog.taiyang.space\/?p=388","og_site_name":"#\u762b\u7537\u65e5\u8bb0","article_published_time":"2023-07-26T05:45:11+00:00","article_modified_time":"2023-07-26T05:45:12+00:00","og_image":[{"url":"https:\/\/picture.chentaiyang.space\/202307261219473.png"}],"author":"taiyang","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"taiyang","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.taiyang.space\/?p=388#article","isPartOf":{"@id":"https:\/\/blog.taiyang.space\/?p=388"},"author":{"name":"taiyang","@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c"},"headline":"L2-\u5bf9GDT\u548cLDT\u7684\u7406\u89e3","datePublished":"2023-07-26T05:45:11+00:00","dateModified":"2023-07-26T05:45:12+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.taiyang.space\/?p=388"},"wordCount":178,"commentCount":0,"publisher":{"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c"},"keywords":["GDT","LDT","OS","\u6bb5\u63cf\u8ff0\u7b26"],"articleSection":["\u64cd\u4f5c\u7cfb\u7edf"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.taiyang.space\/?p=388#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.taiyang.space\/?p=388","url":"https:\/\/blog.taiyang.space\/?p=388","name":"L2-\u5bf9GDT\u548cLDT\u7684\u7406\u89e3 - #\u762b\u7537\u65e5\u8bb0","isPartOf":{"@id":"https:\/\/blog.taiyang.space\/#website"},"datePublished":"2023-07-26T05:45:11+00:00","dateModified":"2023-07-26T05:45:12+00:00","breadcrumb":{"@id":"https:\/\/blog.taiyang.space\/?p=388#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.taiyang.space\/?p=388"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.taiyang.space\/?p=388#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.taiyang.space\/"},{"@type":"ListItem","position":2,"name":"L2-\u5bf9GDT\u548cLDT\u7684\u7406\u89e3"}]},{"@type":"WebSite","@id":"https:\/\/blog.taiyang.space\/#website","url":"https:\/\/blog.taiyang.space\/","name":"#\u762b\u7537\u65e5\u8bb0","description":"","publisher":{"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.taiyang.space\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c","name":"taiyang","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/","url":"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg","contentUrl":"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg","width":612,"height":640,"caption":"taiyang"},"logo":{"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/blog.taiyang.space"],"url":"https:\/\/blog.taiyang.space\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts\/388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=388"}],"version-history":[{"count":1,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts\/388\/revisions"}],"predecessor-version":[{"id":389,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts\/388\/revisions\/389"}],"wp:attachment":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}