mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Cho, joon-woo" <jwc@core.kaist.ac.kr>
To: <linux-kernel@vger.kernel.org>
Subject: [Q] How can I transfer data from hard disk to PCI device's memory
Date: Thu, 7 Aug 2003 14:45:37 +0900	[thread overview]
Message-ID: <005a01c35ca7$210f71e0$a5a5f88f@core8fyzomwjks> (raw)

Hello.

I want to transfer data 'directly' from hard disk to some PCI device which
has memory

with the helpf of kernel(file system, device driver).

In above sentence 'directly' means that data does not go through main memory
of host.


So I am analyzing kernel code, but I am so confused because of memory system

complexity (page, buffer, ... ).

I find buffer head structure(struct buffer_head) has b_data pointer
variable.

I think kernel transfer data from HDD to this pointer variable.

Can I map this pointer variable(b_data) to PCI device's memory?


I am very confused because this part is highly related with complex memory
system

(page & buffer).

Please give me some hint. Thanks.



             reply	other threads:[~2003-08-07  5:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-07  5:45 Cho, joon-woo [this message]
2003-08-07 12:05 ` Alan Cox
2003-08-07 12:57   ` [Q] How can I transfer data from hard disk to PCI device'smemory Cho, joon-woo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005a01c35ca7$210f71e0$a5a5f88f@core8fyzomwjks' \
    --to=jwc@core.kaist.ac.kr \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®