Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2011 23:03:37 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/atkbdc atkbd.c
Message-ID:  <201106062303.p56N3pK5046284@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

jkim        2011-06-06 23:03:37 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/atkbdc       atkbd.c 
  Log:
  SVN rev 222795 on 2011-06-06 23:03:37Z by jkim
  
  Validate INT 15h and 16h vectors more strictly.  Traditionally these entry
  points are fixed addresses and (U)EFI CSM specification also mandated that.
  Unfortunately, (U)EFI CSM specification does not specifically mention this
  is to call service routine via interrupt vector table or to jump directly
  to the entry point.  As a result, some CSM seems to install two routines
  and acts differently, depending on how it was executed, unfortunately.
  When INT 15h is used, it calls a function pointer (which is probably a UEFI
  service function).  When it jumps directly to the entry point, it executes
  a simple and traditional INT 15h service routine.  Therefore, actually there
  are two possible fixes, i. e., this fix or jumping directly to the fixed
  entry point.  However, we chose this fix because a) keyboard typematic
  support via BIOS is becoming extremely rarer and b) we cannot support random
  service routine installed by a firmware or a boot loader.  This should fix
  Lenovo X220 laptop, specifically.
  
  Reviewed by:    delphij
  MFC after:      3 days
  
  Revision  Changes    Path
  1.64      +2 -1      src/sys/dev/atkbdc/atkbd.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106062303.p56N3pK5046284>