Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2003 17:15:19 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ia64/ia64 machdep.c
Message-ID:  <200306120015.h5C0FJ2l064312@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2003/06/11 17:15:19 PDT

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        machdep.c 
  Log:
  Make sure pcpu->pc_pcb is pointing to a 16-byte aligned address. The
  PCB contains FP registers, whose alignment must be 16 bytes at least.
  Since the PCB pointed to by pc_pcb is immediately after the PCPU
  itself, round-up the size of thge PCPU to a multiple of 16 bytes. The
  PCPU is page aligned.
  
  This fixes a misalignment trap caused by stopping a CPU in a SMP
  kernel, such as been done when entering the debugger.
  
  Reported by: Alan Robinson <alan.robinson@fujitsu-siemens.com>
  
  Revision  Changes    Path
  1.140     +10 -2     src/sys/ia64/ia64/machdep.c



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