Re: Calling PnP bios routines like get device node from x86_84 arch

From: Alan Cox
Date: Mon Sep 10 2007 - 12:26:22 EST


On Mon, 10 Sep 2007 08:06:20 -0700 (PDT)
PnP driver <mkrameshid@xxxxxxxxx> wrote:

>
> Hi,
> I am very new to linux kernel driver development. I need to develop a
> driver for calling BIOS routines like get device node. I could call it
> in i386 architecture using the PnP driver.

We use ACPI on AMD64 so you should be parsing the ACPI tables not trying
to rely on legacy interfaces which if I rememeber the spec rightly aren't
even guaranteed safe to call when ACPI is active.

What are you actually trying to achieve.

> But in x86_64 arch I couldn't see any support. Even I tried to
> implement it similar to the i386. But there is no API get_cpu_gdt_table().
> Is there any other way to get the cpu_gdt_table? or any other way to
> call the BIOS routines.

Assuming you even have a BIOS - you may have EFI underlying or
Linuxbios or be a virtual machine.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/