Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2009 20:13:36 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/x86bios x86bios.c
Message-ID:  <200909232013.n8NKDlma087949@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jkim        2009-09-23 20:13:36 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/x86bios      x86bios.c 
  Log:
  SVN rev 197442 on 2009-09-23 20:13:36Z by jkim
  
  - Use spin lock instead of default mutex for safety.  INT/IRET instructions
  save/clear/restore flags but emulated flags have no effect on the host.
  I believe BIOS writers never meant to run their code in emulated
  environment with interrupt enabled. :-)
  - Use memcpy(3) instead of copying individual members.  I believe struct
  x86regs was intentionally copied from the first half of struct x86emu_regs
  for this very purpose.
  - Fix some style nits and consistencies.
  
  Reviewed by:    delphij, paradox (ddkprog yahoo com)
  
  Revision  Changes    Path
  1.4       +40 -74    src/sys/dev/x86bios/x86bios.c



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