Ejemplo n.º 1
0
static u32 __init i865_stolen_base(int num, int slot, int func, size_t stolen_size)
{
    u16 toud = 0;

    toud = read_pci_config_16(0, 0, 0, I865_TOUD);

    return (phys_addr_t)(toud << 16) + i845_tseg_size();
}
Ejemplo n.º 2
0
static u32 __init i845_stolen_base(int num, int slot, int func, size_t stolen_size)
{
	return i830_mem_size() - i845_tseg_size() - stolen_size;
}