* question about probe_roms
@ 2002-03-26 11:23 Jason Xia
0 siblings, 0 replies; only message in thread
From: Jason Xia @ 2002-03-26 11:23 UTC (permalink / raw)
To: linux-kernel
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 --
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-03-26 11:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-26 11:23 question about probe_roms Jason Xia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox