cvs commit: src/sys/ia64/ia64 machdep.c

Marcel Moolenaar marcel at FreeBSD.org
Wed Jun 11 17:15:20 PDT 2003


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 at fujitsu-siemens.com>
  
  Revision  Changes    Path
  1.140     +10 -2     src/sys/ia64/ia64/machdep.c


More information about the cvs-src mailing list