Pekka Enberg wrote:
> On 9/7/05, Miloslav Trmac <[EMAIL PROTECTED]> wrote:
>
>>+static int __init map_bios(void)
>>+{
>>+ static const unsigned char __initdata signature[]
>>+ = { 0x42, 0x21, 0x55, 0x30 };
>>+
>>+ void __iomem *base;
>>+ size_t offset;
>>+ uint32_t entr
Andrew Morton wrote:
> Miloslav Trmac <[EMAIL PROTECTED]> wrote:
>
>>+static void call_bios(struct regs *regs)
>> +{
>> +unsigned long flags;
>> +
>> +preempt_disable();
>> +local_irq_save(flags);
>> +asm volatile ("pushl %%ebp;"
>> + "movl %[data], %%ebp;"
>> +
On 9/7/05, Miloslav Trmac <[EMAIL PROTECTED]> wrote:
> +static int __init map_bios(void)
> +{
> + static const unsigned char __initdata signature[]
> + = { 0x42, 0x21, 0x55, 0x30 };
> +
> + void __iomem *base;
> + size_t offset;
> + uint32_t entry_point;
> +
> + base
Miloslav Trmac <[EMAIL PROTECTED]> wrote:
>
> +static void call_bios(struct regs *regs)
> +{
> +unsigned long flags;
> +
> +preempt_disable();
> +local_irq_save(flags);
> +asm volatile ("pushl %%ebp;"
> + "movl %[data], %%ebp;"
> + "call *%[
Hello,
attached (as a patch against 2.6.13-git6) is a driver for laptop buttons
on my Fujitsu-Siemens Amilo Pro V2000; it seems quite a few other
laptops use the same interface (with differing sets of buttons).
Thanks,
Mirek
A driver for laptop buttons using an x86 BIOS interface that is
a
5 matches
Mail list logo