From: Jason Xia <jasonxia@SoftHome.net>
To: linux-kernel@vger.kernel.org
Subject: question about probe_roms
Date: Tue, 26 Mar 2002 19:23:51 +0800 [thread overview]
Message-ID: <3CA05A47.9090602@SoftHome.net> (raw)
Hi:
I'm reading linux kernel 2.4 source code and puzzled with
probe_roms().
In this function , rom was probed and request_resource was called. but I
don't understand these codes:
for (base = 0xC0000; base < 0xE0000; base+=2048) {
romstart = bus_to_virt(base);
if (!romsignature(romstart))
continue;
request_resource(&iomem_resource, rom_resources+roms);
roms++;
break;
}
Because whether video rom is start from 0xC000:0000 or not, we request
a memory
resource start at 0xC0000 (I don't find any code change the contents of
rom_resources)
So I think these codes assume that there is a video rom at 0xc0000, but
if this is true,
why not request_resource as SystemRom?
Thank you in advance.
Best regards !
-- jason --
reply other threads:[~2002-03-26 11:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3CA05A47.9090602@SoftHome.net \
--to=jasonxia@softhome.net \
--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