[parisc-linux] Dump: need disk layout function.

Grant Grundler grundler@dsl2.external.hp.com
Thu, 28 Mar 2002 10:00:30 -0700


Matthew Wilcox wrote:
> How can a disc have HPA and SPA?  Are you trying to find the HPA/SPA of
> the disc's controller?

I thought the boot and dump devices have a faked HPA for IODC.
The code in palo/ipl/pdc_misc.c looks like it:

int
pdc_iodc_bootin(unsigned devaddr, char *memaddr, unsigned size)
{
    int r;

        r = firmware_call(PAGE0->mem_boot.iodc_io,
			PAGE0->mem_boot.hpa, ENTRY_IO_BOOTIN,
			PAGE0->mem_boot.spa, PAGE0->mem_boot.dp.layers,
			pdc_result, devaddr, memaddr, size, size);
....