grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Detect key modifier status in 'sleep --interruptible'


From: Robert Millan
Subject: Re: [PATCH] Detect key modifier status in 'sleep --interruptible'
Date: Mon, 24 Aug 2009 14:44:21 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, Aug 24, 2009 at 02:23:52PM +0200, Robert Millan wrote:
> Index: include/grub/i386/pc/memory.h
> ===================================================================
> --- include/grub/i386/pc/memory.h     (revision 2520)
> +++ include/grub/i386/pc/memory.h     (working copy)
> @@ -78,6 +78,15 @@
>  /* The data segment of the pseudo real mode.  */
>  #define GRUB_MEMORY_MACHINE_PSEUDO_REAL_DSEG 0x20
>  
> +#define GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR      0x400
> +
> +static struct grub_machine_bios_data_area
> +{
> +  grub_uint8_t unused1[0x17];
> +  grub_uint16_t keyboard_status; /* 0x17 */ 
> +  grub_uint8_t unused2[0xf0 - 0x19];
> +}
> +

Btw, Colin pointed at this URL:

  http://heim.ifi.uio.no/~stanisls/helppc/bios_data_area.html

I suppose it'd be a good idea to include it in a comment next to the struct
definition.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]