Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2001 11:55:43 -0800 (PST)
From:      Jake Burkholder <jake@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/alpha/include globals.h src/sys/i386/include globaldata.h globals.h src/sys/ia64/include globals.h
Message-ID:  <200101061955.f06Jth936476@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jake        2001/01/06 11:55:43 PST

  Modified files:
    sys/alpha/include    globals.h 
    sys/i386/include     globaldata.h globals.h 
    sys/ia64/include     globals.h 
  Log:
  Implement accessors for per-cpu variables which don't depend on the
  symbols in globals.s.
  
  	PCPU_GET(name) returns the value of the per-cpu variable
  	PCPU_PTR(name) returns a pointer to the per-cpu variable
  	PCPU_SET(name, val) sets the value of the per-cpu variable
  
  In general these are not yet used, compatibility macros remain.
  
  Unifdef SMP struct globaldata, this makes variables such as cpuid
  available for UP as well.
  
  Rebuilding modules is probably a good idea, but I believe old
  modules will still work, as most of the old infrastructure
  remains.
  
  Revision  Changes    Path
  1.5       +2 -1      src/sys/alpha/include/globals.h
  1.17      +3 -4      src/sys/i386/include/globaldata.h
  1.15      +45 -149   src/sys/i386/include/globals.h
  1.4       +2 -1      src/sys/ia64/include/globals.h



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?200101061955.f06Jth936476>