[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070910173344.4bd2ae9e@the-village.bc.nu>
Date: Mon, 10 Sep 2007 17:33:44 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: PnP driver <mkrameshid@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Calling PnP bios routines like get device node from x86_84 arch
On Mon, 10 Sep 2007 08:06:20 -0700 (PDT)
PnP driver <mkrameshid@...il.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists