Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 01:23:54 -0800 (PST)
From:      Jake Burkholder <jake@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 exception.s simplelock.s support.s swtch.s vm86bios.s src/sys/i386/include asmacros.h src/sys/i386/isa apic_vector.s icu_vector.s ipl.s
Message-ID:  <200012130923.eBD9NsY26689@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jake        2000/12/13 01:23:54 PST

  Modified files:
    sys/i386/i386        exception.s simplelock.s support.s 
                         swtch.s vm86bios.s 
    sys/i386/include     asmacros.h 
    sys/i386/isa         apic_vector.s icu_vector.s ipl.s 
  Log:
  Introduce a new potientially cleaner interface for accessing per-cpu
  variables from i386 assembly language.  The syntax is PCPU(member)
  where member is the capitalized name of the per-cpu variable, without
  the gd_ prefix.  Example: movl %eax,PCPU(CURPROC).  The capitalization
  is due to using the offsets generated by genassym rather than the symbols
  provided by linking with globals.o.  asmacros.h is the wrong place for
  this but it seemed as good a place as any for now.  The old implementation
  in asnames.h has not been removed because it is still used to de-mangle
  the symbols used by the C variables for the UP case.
  
  Revision  Changes    Path
  1.74      +11 -11    src/sys/i386/i386/exception.s
  1.13      +13 -11    src/sys/i386/i386/simplelock.s
  1.76      +38 -38    src/sys/i386/i386/support.s
  1.102     +20 -20    src/sys/i386/i386/swtch.s
  1.21      +9 -9      src/sys/i386/i386/vm86bios.s
  1.19      +7 -1      src/sys/i386/include/asmacros.h
  1.60      +17 -16    src/sys/i386/isa/apic_vector.s
  1.24      +3 -3      src/sys/i386/isa/icu_vector.s
  1.42      +5 -5      src/sys/i386/isa/ipl.s



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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