{"id":62317,"date":"2023-10-26T20:59:40","date_gmt":"2023-10-26T12:59:40","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=62317"},"modified":"2023-10-26T20:59:40","modified_gmt":"2023-10-26T12:59:40","slug":"djshcqzzgl","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/62317.html","title":{"rendered":"DMA\u63a5\u6536\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6"},"content":{"rendered":"

  DMA\uff08Direct Memory Access\uff09\u662f\u4e00\u79cd\u9ad8\u6548\u7684\u5b58\u50a8\u5668\u8bbf\u95ee\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u8ba9\u5916\u8bbe\u76f4\u63a5\u8bbf\u95ee\u4e3b\u673a\u5b58\u50a8\u5668\uff0c\u800c\u4e0d\u9700\u8981\u4e3b\u673a\u7684\u53c2\u4e0e\u3002\u5728DMA\u6280\u672f\u4e2d\uff0c\u7f13\u51b2\u533a\u6307\u9488\uff08Buffer Pointer\uff09\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u53c2\u6570\uff0c\u5b83\u6307\u793a\u4e86DMA\u8bbf\u95ee\u5b58\u50a8\u5668\u7684\u4f4d\u7f6e\uff0c\u4ee5\u53caDMA\u4f20\u8f93\u6570\u636e\u7684\u5927\u5c0f\u3002\u672c\u6587\u5c06\u4ecb\u7ecdDMA\u63a5\u6536\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6\u7684\u6982\u5ff5\uff0c\u4ee5\u53ca\u5b83\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002<\/p>\n

\u4ec0\u4e48\u662fDMA\u63a5\u6536\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6\uff1f<\/h2>\n

  DMA\u63a5\u6536\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6\u662f\u6307\u5728DMA\u4f20\u8f93\u8fc7\u7a0b\u4e2d\uff0c\u5f53\u4e00\u4e2aDMA\u4f20\u8f93\u8fc7\u7a0b\u5b8c\u6210\u540e\uff0c\u7f13\u51b2\u533a\u6307\u9488\u4f1a\u88ab\u91cd\u7f6e\u4e3a0\uff0c\u4ee5\u4fbf\u4e0b\u4e00\u6b21DMA\u4f20\u8f93\u4ece0\u5f00\u59cb\u3002<\/strong><\/p>\n

DMA\u63a5\u6536\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6\u7684\u5b9e\u73b0\u65b9\u5f0f<\/h2>\n

  \u786c\u4ef6\u5b9e\u73b0<\/h3>\n

  \u5728\u786c\u4ef6\u5b9e\u73b0\u7684\u65b9\u5f0f\u4e2d\uff0cDMA\u63a5\u6536\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6eDMA\u63a7\u5236\u5668\u7684\u63a7\u5236\u5bc4\u5b58\u5668\u6765\u5b9e\u73b0\u3002\u901a\u5e38\uff0cDMA\u63a7\u5236\u5668\u7684\u63a7\u5236\u5bc4\u5b58\u5668\u4e2d\u4f1a\u6709\u4e00\u4e2a\u7279\u6b8a\u7684\u4f4d\uff0c\u7528\u4e8e\u8bbe\u7f6eDMA\u4f20\u8f93\u5b8c\u6210\u540e\u662f\u5426\u9700\u8981\u5c06\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6\u3002\u5f53\u8be5\u4f4d\u7f6e1\u65f6\uff0cDMA\u4f20\u8f93\u5b8c\u6210\u540e\u4f1a\u5c06\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6\uff1b\u5f53\u8be5\u4f4d\u7f6e0\u65f6\uff0cDMA\u4f20\u8f93\u5b8c\u6210\u540e\u4e0d\u4f1a\u5c06\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6\u3002<\/p>\n

  \u8f6f\u4ef6\u5b9e\u73b0<\/h3>\n

  \u5728\u8f6f\u4ef6\u5b9e\u73b0\u7684\u65b9\u5f0f\u4e2d\uff0cDMA\u63a5\u6536\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6\u53ef\u4ee5\u901a\u8fc7\u7f16\u5199\u4e00\u6bb5\u7a0b\u5e8f\u6765\u5b9e\u73b0\u3002\u5728DMA\u4f20\u8f93\u5b8c\u6210\u540e\uff0c\u7a0b\u5e8f\u4f1a\u5c06\u7f13\u51b2\u533a\u6307\u9488\u8bbe\u7f6e\u4e3a0\uff0c\u4ee5\u4fbf\u4e0b\u4e00\u6b21DMA\u4f20\u8f93\u4ece0\u5f00\u59cb\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  DMA\u63a5\u6536\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6\u662f\u6307\u5728DMA\u4f20\u8f93\u8fc7\u7a0b\u4e2d\uff0c\u5f53\u4e00\u4e2aDMA\u4f20\u8f93\u8fc7\u7a0b\u5b8c\u6210\u540e\uff0c\u7f13\u51b2\u533a\u6307\u9488\u4f1a\u88ab\u91cd\u7f6e\u4e3a0\uff0c\u4ee5\u4fbf\u4e0b\u4e00\u6b21DMA\u4f20\u8f93\u4ece0\u5f00\u59cb\u3002<\/strong>DMA\u63a5\u6536\u7f13\u51b2\u533a\u6307\u9488\u5f52\u96f6\u53ef\u4ee5\u901a\u8fc7\u786c\u4ef6\u5b9e\u73b0\u548c\u8f6f\u4ef6\u5b9e\u73b0\u4e24\u79cd\u65b9\u5f0f\u6765\u5b9e\u73b0\u3002\u5728\u786c\u4ef6\u5b9e\u73b0\u7684\u65b9\u5f0f\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6eDMA\u63a7\u5236\u5668\u7684\u63a7\u5236\u5bc4\u5b58\u5668\u6765\u5b9e\u73b0\uff1b\u800c\u5728\u8f6f\u4ef6\u5b9e\u73b0\u7684\u65b9\u5f0f\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u7f16\u5199\u4e00\u6bb5\u7a0b\u5e8f\u6765\u5b9e\u73b0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

DMA\uff08DirectMemoryAccess\uff09\u662f\u4e00\u79cd\u9ad8\u6548\u7684\u5b58\u50a8\u5668\u8bbf\u95ee\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u8ba9\u5916\u8bbe\u76f4\u63a5\u8bbf\u95ee\u4e3b\u673a\u5b58\u50a8\u5668\uff0c\u800c\u4e0d\u9700\u8981\u4e3b\u673a\u7684\u53c2\u4e0e\u3002\u5728DMA\u6280\u672f\u4e2d\uff0c\u7f13\u51b2\u533a\u6307\u9488\uff08Buffer<\/p>\n","protected":false},"author":1,"featured_media":1839,"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":[305],"class_list":["post-62317","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/62317","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=62317"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/62317\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=62317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=62317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=62317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}