Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2010 17:35:00 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/acpica acpi_switch.S acpi_wakecode.S acpi_wakeup.c src/sys/amd64/amd64 cpu_switch.S genassym.c mp_machdep.c src/sys/amd64/include pcb.h
Message-ID:  <201008021735.o72HZKWF025245@repoman.freebsd.org>

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

jkim        2010-08-02 17:35:00 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/acpica     acpi_switch.S acpi_wakecode.S 
                         acpi_wakeup.c 
    sys/amd64/amd64      cpu_switch.S genassym.c mp_machdep.c 
    sys/amd64/include    pcb.h 
  Log:
  SVN rev 210777 on 2010-08-02 17:35:00Z by jkim
  
  - Merge savectx2() with savectx() and struct xpcb with struct pcb. [1]
  savectx() is only used for panic dump (dumppcb) and kdb (stoppcbs).  Thus,
  saving additional information does not hurt and it may be even beneficial.
  Unfortunately, struct pcb has grown larger to accommodate more data.
  Move 512-byte long pcb_user_save to the end of struct pcb while I am here.
  - savectx() now saves FPU state unconditionally and copy it to the PCB of
  FPU thread if necessary.  This gives panic dump and kdb a chance to take
  a look at the current FPU state even if the FPU is "supposedly" not used.
  - Resuming CPU now unconditionally reinitializes FPU.  If the saved FPU
  state was irrelevant, it could be in an unknown state.
  
  Suggested by:   bde [1]
  
  Revision  Changes    Path
  1.8       +44 -51    src/sys/amd64/acpica/acpi_switch.S
  1.7       +2 -2      src/sys/amd64/acpica/acpi_wakecode.S
  1.33      +13 -14    src/sys/amd64/acpica/acpi_wakeup.c
  1.176     +55 -90    src/sys/amd64/amd64/cpu_switch.S
  1.180     +17 -22    src/sys/amd64/amd64/genassym.c
  1.321     +2 -2      src/sys/amd64/amd64/mp_machdep.c
  1.74      +19 -22    src/sys/amd64/include/pcb.h



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