{"id":32738,"date":"2023-09-15T11:12:35","date_gmt":"2023-09-15T03:12:35","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=32738"},"modified":"2023-09-15T11:12:35","modified_gmt":"2023-09-15T03:12:35","slug":"ckdszxj","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/32738.html","title":{"rendered":"\u4e32\u53e3DMA\u8bbe\u7f6e\u8be6\u89e3"},"content":{"rendered":"
\u4e32\u53e3DMA\u8bbe\u7f6e\u662f\u4e00\u79cd\u4f7f\u7528DMA\uff08Direct Memory Access\uff09\u6280\u672f\u6765\u4f20\u8f93\u6570\u636e\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u6781\u5927\u5730\u63d0\u9ad8\u4f20\u8f93\u6548\u7387\uff0c\u51cf\u5c11CPU\u7684\u8d1f\u62c5\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u4e32\u53e3DMA\u8bbe\u7f6e\u7684\u7528\u9014\u3001\u539f\u7406\u548c\u5b9e\u73b0\u65b9\u6cd5\uff0c\u4ee5\u4fbf\u8bfb\u8005\u80fd\u591f\u4e86\u89e3\u4e32\u53e3DMA\u8bbe\u7f6e\u7684\u57fa\u672c\u77e5\u8bc6\uff0c\u5e76\u80fd\u591f\u81ea\u884c\u5b9e\u73b0\u4e32\u53e3DMA\u8bbe\u7f6e\u3002<\/p>\n
\u4e32\u53e3DMA\u8bbe\u7f6e\u7684\u4e3b\u8981\u7528\u9014\u662f\u63d0\u9ad8\u4f20\u8f93\u6548\u7387\uff0c\u51cf\u5c11CPU\u7684\u8d1f\u62c5\u3002\u7531\u4e8e\u4e32\u53e3DMA\u8bbe\u7f6e\u80fd\u591f\u76f4\u63a5\u4ece\u5185\u5b58\u53d1\u9001\u6570\u636e\uff0c\u800c\u65e0\u9700CPU\u7684\u53c2\u4e0e\uff0c\u56e0\u6b64\u53ef\u4ee5\u5927\u5927\u51cf\u5c11CPU\u7684\u8d1f\u62c5\uff0c\u63d0\u9ad8\u4f20\u8f93\u6548\u7387\u3002\u6b64\u5916\uff0c\u4e32\u53e3DMA\u8bbe\u7f6e\u8fd8\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5b9a\u65f6\u4f20\u8f93\uff0c\u4ece\u800c\u5b9e\u73b0\u5b9a\u65f6\u89e6\u53d1\u4f20\u8f93\u6570\u636e\u7684\u76ee\u7684\u3002<\/p>\n
\u4e32\u53e3DMA\u8bbe\u7f6e\u7684\u539f\u7406\u662f\u4f7f\u7528DMA\u6280\u672f\uff0c\u5c06\u6570\u636e\u4ece\u5185\u5b58\u76f4\u63a5\u53d1\u9001\u5230\u4e32\u53e3\uff0c\u800c\u65e0\u9700CPU\u7684\u53c2\u4e0e\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0cCPU\u53ea\u9700\u8981\u8bbe\u7f6e\u597dDMA\uff0c\u7136\u540e\u5c06\u6570\u636e\u590d\u5236\u5230DMA\u53d1\u9001\u7f13\u51b2\u533a\uff0c\u5373\u53ef\u5b9e\u73b0\u6570\u636e\u7684\u53d1\u9001\u3002\u8fd9\u6837\uff0cCPU\u5c31\u53ef\u4ee5\u8282\u7701\u5927\u91cf\u7684\u65f6\u95f4\uff0c\u4ece\u800c\u63d0\u9ad8\u4f20\u8f93\u6548\u7387\u3002<\/p>\n
\u9996\u5148\uff0c\u9700\u8981\u8bbe\u7f6eDMA\u53d1\u9001\u7f13\u51b2\u533a\uff0c\u5c06\u5176\u8bbe\u7f6e\u4e3a\u4e32\u53e3\u53d1\u9001\u6570\u636e\u7684\u7f13\u51b2\u533a\u3002\u8fd9\u4e00\u6b65\u9700\u8981\u5148\u8bbe\u7f6eDMA\u7684\u6e90\u5730\u5740\uff0c\u7136\u540e\u8bbe\u7f6eDMA\u7684\u76ee\u6807\u5730\u5740\uff0c\u6700\u540e\u8bbe\u7f6eDMA\u7684\u4f20\u8f93\u6a21\u5f0f\uff0c\u8bbe\u7f6e\u5b8c\u6210\u540e\uff0cDMA\u5c31\u53ef\u4ee5\u5f00\u59cb\u4f20\u8f93\u6570\u636e\u3002<\/p>\n
\u63a5\u4e0b\u6765\uff0c\u9700\u8981\u8bbe\u7f6e\u4e32\u53e3\uff0c\u5c06\u4e32\u53e3\u8bbe\u7f6e\u4e3aDMA\u53d1\u9001\u6a21\u5f0f\uff0c\u5373\u8bbe\u7f6e\u4e32\u53e3\u7684\u53d1\u9001\u6a21\u5f0f\u4e3aDMA\u6a21\u5f0f\uff0c\u540c\u65f6\u8bbe\u7f6eDMA\u53d1\u9001\u7f13\u51b2\u533a\u7684\u5730\u5740\uff0c\u4ee5\u4fbfDMA\u53ef\u4ee5\u53d1\u9001\u6570\u636e\u3002<\/p>\n
\u6700\u540e\uff0c\u9700\u8981\u542f\u52a8DMA\uff0c\u8ba9DMA\u5f00\u59cb\u53d1\u9001\u6570\u636e\u3002\u5728\u8fd9\u4e00\u6b65\uff0c\u9700\u8981\u8bbe\u7f6eDMA\u7684\u53d1\u9001\u957f\u5ea6\uff0c\u5373DMA\u53d1\u9001\u7684\u6570\u636e\u957f\u5ea6\uff0c\u8bbe\u7f6e\u5b8c\u6210\u540e\uff0cDMA\u5c31\u53ef\u4ee5\u5f00\u59cb\u53d1\u9001\u6570\u636e\u4e86\u3002<\/p>\n
\u4ee5\u4e0a\u5c31\u662f\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u7684\u4e32\u53e3DMA\u8bbe\u7f6e\u7684\u7528\u9014\u3001\u539f\u7406\u548c\u5b9e\u73b0\u65b9\u6cd5\uff0c\u5e0c\u671b\u80fd\u591f\u5e2e\u52a9\u8bfb\u8005\u4e86\u89e3\u4e32\u53e3DMA\u8bbe\u7f6e\u7684\u57fa\u672c\u77e5\u8bc6\uff0c\u5e76\u80fd\u591f\u81ea\u884c\u5b9e\u73b0\u4e32\u53e3DMA\u8bbe\u7f6e\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":" \u4e32\u53e3DMA\u8bbe\u7f6e\u662f\u4e00\u79cd\u4f7f\u7528DMA\uff08Direct Memory Access\uff09\u6280\u672f\u6765\u4f20\u8f93\u6570\u636e\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u6781\u5927\u5730\u63d0\u9ad8\u4f20\u8f93\u6548\u7387\uff0c\u51cf\u5c11CPU\u7684\u8d1f\u62c5\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u4e32\u53e3DMA\u8bbe\u7f6e\u7684\u7528<\/p>\n","protected":false},"author":1,"featured_media":3671,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[69],"class_list":["post-32738","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cktx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/32738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=32738"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/32738\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/3671"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=32738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=32738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=32738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}