The NetBSD Project

CVS log for src/sys/arch/alpha/alpha/cpu.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / alpha / alpha

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.107 / (download) - annotate - [select for diffs], Sun May 22 11:27:33 2022 UTC (8 months, 2 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.106: +3 -3 lines
Diff to previous 1.106 (colored)

fix various small typos, mainly in comments.

Revision 1.106 / (download) - annotate - [select for diffs], Sat Apr 9 23:39:18 2022 UTC (9 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)

alpha: Convert cpu_iccb_send from membar_exit to membar_release.

XXX Maybe this should really use alpha_mb, since it's not writing to
normal MI-type memory so technically the membr_* semantics doesn't
apply?

Revision 1.105 / (download) - annotate - [select for diffs], Sun Feb 27 14:17:10 2022 UTC (11 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.104: +5 -4 lines
Diff to previous 1.104 (colored)

alpha: Fix placement of membar for sending ICCB message.

While here, reduce it to membar_exit -- it's obviously not needed for
store-before-load here (although alpha doesn't have anything weaker
than the full sequential consistency `mb'), and although we do need a
store-before-load (and load-before-load) to spin waiting for the CPU
to wake up, that already happens a few lines below with alpha_mb in
the loop anyway.  So no need for membar_sync, which is just `mb'
under the hood -- deleting the membar_sync in this place can't hurt.

The membar_sync had been inserted automatically when converting from
an older style of atomic_ops(3) API.

Revision 1.103.6.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:20 2021 UTC (20 months, 3 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored) next main 1.104 (colored)

Sync with HEAD.

Revision 1.104 / (download) - annotate - [select for diffs], Wed May 5 03:54:16 2021 UTC (21 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored)

Decorate cpu_info_list with __read_mostly; it's never modified once
all the CPUs are attached.

Revision 1.103 / (download) - annotate - [select for diffs], Thu Oct 15 01:00:01 2020 UTC (2 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs
Branch point for: thorpej-i2c-spi-conf
Changes since 1.102: +318 -64 lines
Diff to previous 1.102 (colored)

Expose a bunch of CPU details, including implementation version and
architecture extensions, via sysctl:

hw.cpu0.model = 21264A-0 (EV67)
hw.cpu0.major = 11
hw.cpu0.minor = 0
hw.cpu0.implver = 2
hw.cpu0.amask = 0x1307
hw.cpu0.bwx = 1
hw.cpu0.fix = 1
hw.cpu0.cix = 1
hw.cpu0.mvi = 1
hw.cpu0.pat = 1
hw.cpu0.pmi = 1
hw.cpu0.vax_fp = 1
hw.cpu0.ieee_fp = 1
hw.cpu0.primary_eligible = 1
hw.cpu0.primary = 1
hw.cpu0.cpu_id = 0
hw.cpu0.pcc_freq = 239990688

as well as some potentially interesting system-level variables:

machdep.cctr = 0
machdep.is_qemu = 1

Should address the basic concern in PR port-alpha/15835.

Revision 1.102 / (download) - annotate - [select for diffs], Sat Oct 10 03:05:04 2020 UTC (2 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.101: +5 -3 lines
Diff to previous 1.101 (colored)

Fix cycle counter-based time keeping on Alpha in MP environments by using
a simpler calibration algorithm for the CC timecounter.  Proposed in 2018
by Naruaki Etomi:

    https://mail-index.netbsd.org/tech-kern/2018/01/14/msg022940.html

This patch is largely based on the proposed change, but avoids changing
any other timecounter logic, and re-factors things a bit to keep them
as MI as possible.

Revision 1.101 / (download) - annotate - [select for diffs], Tue Sep 29 01:33:00 2020 UTC (2 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.100: +25 -2 lines
Diff to previous 1.100 (colored)

Improve time keeping and host CPU usage when running in Qemu:
- clockattach(): Allow multiple calls when running in Qemu. Anything
  after this first one is ignored, but this gives us a change to use
  a clock source provided by the VM directly, rather than relying on
  a more expensive hardware emulation.
- Add cpu_initclocks_secondary(), to handle clock setup on secondary
  CPUs, if needed.
- Allow us to use the WTINT PALcode call in cpu_idle() to idle in a lower
  power state (Qemu's PALcode supports this).
- Use the Qemu per-cpu set-alarm-rel call as the hardclock interrupt
  source.  In Qemu environments, reduce hz to 50 (rather than the
  default 1024) to give the clock a snowball's chance when running on
  a host system with hz=100.  XXX We have to manually re-calculate
  tick and tickadj.  There should be MI code to do this for us.  Also
  in Qemu environments, let hardclock() drive the sched clock by setting
  schedhz=0.

Revision 1.100 / (download) - annotate - [select for diffs], Fri Sep 4 01:56:29 2020 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.99: +13 -7 lines
Diff to previous 1.99 (colored)

Decorate some symbols with the appropriate things for better cache
behavior.  Assert that cpu_infos are cache line aligned.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Aug 29 20:06:59 2020 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.98: +4 -4 lines
Diff to previous 1.98 (colored)

- Centralize per-CPU pmap initialization into a new pmap_init_cpu()
  function.  Call in from pmap_bootstrap() for the boot CPU, and
  from cpu_hatch() for secondaary CPUs.
- Eliminiate the dedicated I-stream memory barrier IPI; handle it all from
  the TLB shootdown IPI.  Const poison, and add some additional memory
  barriers and a TBIA to the PAUSE IPI.
- Completly rewrite TLB management in the alpha pmap module, borrowing
  somoe ideas from the x86 pmap and adapting them to the alpha environment.
  See the comments for theory of operation.  Add a bunch of stats that
  can be reported (disabled by default).
- Add some additional symbol decorations to improve cache behavior on
  MP systems.  Ensure coherency unit alignment for several structures
  in the pmap module.  Use hashed locks for pmap structures.
- Start out all new processes on the kernel page tables until their
  first trip though pmap_activate() to avoid the potential of polluting
  the current ASN in TLB with cross-process mappings.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Aug 7 14:20:08 2020 UTC (2 years, 6 months ago) by fcambus
Branch: MAIN
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored)

Use CPU_IS_PRIMARY macro on alpha and sparc64.

Revision 1.96.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:45 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.96: +5 -2 lines
Diff to previous 1.96 (colored) next main 1.97 (colored)

Sync with HEAD

Revision 1.97 / (download) - annotate - [select for diffs], Mon Apr 8 00:47:21 2019 UTC (3 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.96: +5 -2 lines
Diff to previous 1.96 (colored)

Add some additional CPU and system types.

Revision 1.95.6.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:46 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

update from HEAD

Revision 1.95.24.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:27 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.96 / (download) - annotate - [select for diffs], Sat Oct 10 17:00:12 2015 UTC (7 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored)

PR port-alpha/50325: cosmetic fix for cpu attach message
from Felix Deichmann.

Revision 1.94.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:53 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.94: +11 -11 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

sync with head

Revision 1.94.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:30:46 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.94: +11 -11 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

merge to -current.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Feb 6 02:14:10 2012 UTC (11 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.94: +11 -11 lines
Diff to previous 1.94 (colored)

Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c

Revision 1.94 / (download) - annotate - [select for diffs], Thu Jul 28 03:21:14 2011 UTC (11 years, 6 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.93: +1 -1 lines
Diff to previous 1.93 (colored)

One more typo in #ifdef DEBUG.

Revision 1.93 / (download) - annotate - [select for diffs], Thu Jul 28 03:15:20 2011 UTC (11 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored)

Fix DEBUG build.

Revision 1.90.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:18:50 2011 UTC (11 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.90: +68 -61 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Jun 14 15:34:21 2011 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.91: +65 -57 lines
Diff to previous 1.91 (colored)

Major cleanup of alpha device drivers.
Switch to CFATTACH_DECL_NEW.
struct device * -> device_t
struct cfdata * -> cfdata_t
Use of device_xname.  No direct access to struct device members.
Use aprint* (not complete).

Revision 1.88.4.1 / (download) - annotate - [select for diffs], Sun Jun 12 00:23:51 2011 UTC (11 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.88: +5 -6 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

sync with head

Revision 1.91 / (download) - annotate - [select for diffs], Tue Jun 7 00:48:30 2011 UTC (11 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.90: +5 -6 lines
Diff to previous 1.90 (colored)

Switch alpha to use PCU to manage the FPU.
Tested by mhitch and review by rmind.

Revision 1.90 / (download) - annotate - [select for diffs], Fri Dec 17 02:36:35 2010 UTC (12 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.89: +4 -2 lines
Diff to previous 1.89 (colored)

Fix build by pulling in uvm/uvm_extern.h.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Dec 15 01:32:31 2010 UTC (12 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.88: +2 -4 lines
Diff to previous 1.88 (colored)

remove unneeded <uvm/uvm_extern.h> includes

Revision 1.82.16.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:33:53 2010 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.82: +9 -5 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

sync to netbsd-5

Revision 1.81.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:01:57 2010 UTC (12 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.81.4.3: +5 -6 lines
Diff to previous 1.81.4.3 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

sync with head

Revision 1.88 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:11 2009 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211
Branch point for: rmind-uvmplock
Changes since 1.87: +4 -4 lines
Diff to previous 1.87 (colored)

Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Nov 21 05:35:40 2009 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.86: +3 -4 lines
Diff to previous 1.86 (colored)

- Use lwp_getpcb() on Alpha.
- Replace and clean struct user usage, slightly simplify some code parts.
- Include sys/user.h in MD proc.h .

Revision 1.81.4.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:34 2009 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.81.4.2: +9 -5 lines
Diff to previous 1.81.4.2 (colored) to branchpoint 1.81 (colored)

sync with head

Revision 1.82.14.1 / (download) - annotate - [select for diffs], Wed Sep 16 04:14:33 2009 UTC (13 years, 4 months ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE
Changes since 1.82: +9 -5 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Pull up following revision(s) (requested by mhitch in ticket #949):
	sys/arch/alpha/alpha/cpu.c: revision 1.86
There's now some per-cpu initialization that occurs before the secondary
cpus are told to begin running.  Since the seconedary cpus weren't being
added to the cpu_info list until then, that initialization wasn't being
done and resulted in crashes on the secondary cpus.  Add the secondary
cpus to the cpu_info_list after they've been started (but waiting to be
told to start running).  This fixes the problem specifically stated in
PR port-alpha/41106.  MP alphas will now at least boot and begin running,
but will eventually crash in various ways later.

Revision 1.82.10.1 / (download) - annotate - [select for diffs], Wed Sep 16 04:12:48 2009 UTC (13 years, 4 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.82: +9 -5 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Pull up following revision(s) (requested by mhitch in ticket #949):
	sys/arch/alpha/alpha/cpu.c: revision 1.86
There's now some per-cpu initialization that occurs before the secondary
cpus are told to begin running.  Since the seconedary cpus weren't being
added to the cpu_info list until then, that initialization wasn't being
done and resulted in crashes on the secondary cpus.  Add the secondary
cpus to the cpu_info_list after they've been started (but waiting to be
told to start running).  This fixes the problem specifically stated in
PR port-alpha/41106.  MP alphas will now at least boot and begin running,
but will eventually crash in various ways later.

Revision 1.86 / (download) - annotate - [select for diffs], Sun Sep 6 18:06:24 2009 UTC (13 years, 5 months ago) by mhitch
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.85: +9 -5 lines
Diff to previous 1.85 (colored)

There's now some per-cpu initialization that occurs before the secondary
cpus are told to begin running.  Since the seconedary cpus weren't being
added to the cpu_info list until then, that initialization wasn't being
done and resulted in crashes on the secondary cpus.  Add the secondary
cpus to the cpu_info_list after they've been started (but waiting to be
told to start running).  This fixes the problem specifically stated in
PR port-alpha/41106.  MP alphas will now at least boot and begin running,
but will eventually crash in various ways later.

Revision 1.83.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:16:04 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.83: +5 -11 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.81.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:27 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.81.4.1: +10 -14 lines
Diff to previous 1.81.4.1 (colored) to branchpoint 1.81 (colored)

sync with head.

Revision 1.82.8.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:33:33 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.82.8.1: +5 -11 lines
Diff to previous 1.82.8.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

Sync with HEAD.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Mar 14 15:35:59 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.84: +4 -10 lines
Diff to previous 1.84 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.84 / (download) - annotate - [select for diffs], Sat Mar 14 14:45:52 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored)

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.82.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:15:53 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.82: +7 -5 lines
Diff to previous 1.82 (colored)

Sync with HEAD.

Revision 1.80.14.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:47 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.80.14.2: +5 -3 lines
Diff to previous 1.80.14.2 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Sync with HEAD.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Dec 16 22:35:22 2008 UTC (14 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.82: +7 -5 lines
Diff to previous 1.82 (colored)

replace bitmask_snprintf(9) with snprintb(3)

Revision 1.80.14.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:45 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.80.14.1: +0 -7 lines
Diff to previous 1.80.14.1 (colored) to branchpoint 1.80 (colored)

Sync with HEAD.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:20 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.81: +2 -9 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

sync with head.

Revision 1.81.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:44 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.81: +2 -9 lines
Diff to previous 1.81 (colored)

sync with head.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:10 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5-0, netbsd-5, matt-nb5-mips64
Changes since 1.81: +2 -9 lines
Diff to previous 1.81 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.80.14.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:10 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.80: +17 -16 lines
Diff to previous 1.80 (colored)

Sync with HEAD.

Revision 1.80.10.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:51 2008 UTC (14 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.80: +17 -16 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

sync with head.

Revision 1.76.6.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:51 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.76.6.2: +17 -16 lines
Diff to previous 1.76.6.2 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

sync with HEAD

Revision 1.71.16.5 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:13 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.71.16.4: +17 -16 lines
Diff to previous 1.71.16.4 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

sync with head.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Mar 10 13:43:33 2008 UTC (14 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.80: +17 -16 lines
Diff to previous 1.80 (colored)

Use MI atomic operations.

Revision 1.76.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:44:31 2008 UTC (15 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.76.6.1: +12 -3 lines
Diff to previous 1.76.6.1 (colored) to branchpoint 1.76 (colored)

sync with HEAD

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:16:17 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.78: +12 -3 lines
Diff to previous 1.78 (colored) next main 1.79 (colored)

Sync with HEAD.

Revision 1.71.16.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:23:48 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.71.16.3: +12 -3 lines
Diff to previous 1.71.16.3 (colored) to branchpoint 1.71 (colored)

sync with head

Revision 1.73.30.5 / (download) - annotate - [select for diffs], Mon Dec 3 19:02:22 2007 UTC (15 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.73.30.4: +2 -8 lines
Diff to previous 1.73.30.4 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

Sync with HEAD.

Revision 1.73.30.4 / (download) - annotate - [select for diffs], Mon Dec 3 18:34:29 2007 UTC (15 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.73.30.3: +18 -3 lines
Diff to previous 1.73.30.3 (colored) to branchpoint 1.73 (colored)

Sync with HEAD.

Revision 1.76.4.3 / (download) - annotate - [select for diffs], Mon Dec 3 16:13:47 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.76.4.2: +9 -2 lines
Diff to previous 1.76.4.2 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Sync with HEAD.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Nov 28 17:40:02 2007 UTC (15 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.79: +9 -2 lines
Diff to previous 1.79 (colored)

Hook in the atomic ops on alpha.

Revision 1.76.4.2 / (download) - annotate - [select for diffs], Wed Nov 21 21:52:56 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.76.4.1: +5 -3 lines
Diff to previous 1.76.4.1 (colored) to branchpoint 1.76 (colored)

Sync with HEAD.

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Wed Nov 21 21:19:05 2007 UTC (15 years, 2 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.77: +5 -3 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Sync with HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Mon Nov 19 02:12:11 2007 UTC (15 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.78: +5 -3 lines
Diff to previous 1.78 (colored)

Set curlwp for the boot CPU before entering main().

Revision 1.76.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:13:40 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.76: +2 -5 lines
Diff to previous 1.76 (colored)

sync with HEAD

Revision 1.71.16.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:24:57 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.71.16.2: +2 -5 lines
Diff to previous 1.71.16.2 (colored) to branchpoint 1.71 (colored)

sync with head.

Revision 1.76.4.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:42:03 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.76: +2 -5 lines
Diff to previous 1.76 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.78 / (download) - annotate - [select for diffs], Wed Oct 17 19:52:55 2007 UTC (15 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base
Branch point for: mjf-devfs
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.73.38.3 / (download) - annotate - [select for diffs], Tue Oct 16 18:23:31 2007 UTC (15 years, 3 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.73.38.2: +2 -5 lines
Diff to previous 1.73.38.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

Sync with HEAD

Revision 1.76.8.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:47:29 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.76: +2 -5 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

sync with head.

Revision 1.73.30.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:37:12 2007 UTC (15 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.73.30.2: +2 -5 lines
Diff to previous 1.73.30.2 (colored) to branchpoint 1.73 (colored)

Sync with head.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Oct 8 20:06:17 2007 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Changes since 1.76: +2 -5 lines
Diff to previous 1.76 (colored)

Merge run time accounting changes from the vmlocking branch. These make
the LWP "start time" per-thread instead of per-CPU.

Revision 1.73.38.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:21:54 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.73.38.1: +4 -3 lines
Diff to previous 1.73.38.1 (colored) to branchpoint 1.73 (colored)

Sync with HEAD

Revision 1.71.16.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:22:12 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.71.16.1: +15 -50 lines
Diff to previous 1.71.16.1 (colored) to branchpoint 1.71 (colored)

sync with head.

Revision 1.73.30.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:36:44 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.73.30.1: +4 -3 lines
Diff to previous 1.73.30.1 (colored) to branchpoint 1.73 (colored)

Sync with HEAD.

Revision 1.75.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:46:56 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.75: +4 -3 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

Sync with HEAD.

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:04:51 2007 UTC (15 years, 6 months ago) by matt
Branch: matt-mips64
Changes since 1.75: +4 -3 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

Sync with HEAD.

Revision 1.76 / (download) - annotate - [select for diffs], Sat Jul 21 11:59:55 2007 UTC (15 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.75: +4 -3 lines
Diff to previous 1.75 (colored)

Add MI todr(9) support and timercounter(9) support with kern_cctr.c to alpha:
- use todr(9) API with MI mc146818(4) driver and remove homegrown
  todr stuff from MD alpha/clock.c and alpha/mcclock.c
- also remove obsolete cc_microtime stuff from MD code
- add ci_pcc_freq member in struct cpu_info for cpu_frequency(), and
  calibrate it with mc146818 interval clock in mcclock attachment
- call cc_init() in cpu_initclocks(9) because all alpha cpus have
  a pcc counter

Tested on DEC 3000/300 and AlphaPC 164, but not on any SMP machines yet.

Revision 1.73.32.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:57:20 2007 UTC (15 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.73: +13 -49 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

Sync with head.

Revision 1.73.30.1 / (download) - annotate - [select for diffs], Sun May 27 12:26:51 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.73: +13 -49 lines
Diff to previous 1.73 (colored)

Sync with head.

Revision 1.73.38.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:26 2007 UTC (15 years, 8 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.73: +13 -49 lines
Diff to previous 1.73 (colored)

Update to HEAD.

Revision 1.75 / (download) - annotate - [select for diffs], Fri May 18 02:45:18 2007 UTC (15 years, 8 months ago) by mhitch
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment, matt-mips64
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored)

Fix alpha MP for idlelwp:  ci_idle_lwp was added to cpu_info
structure, but never initialized.  There's already a cpu_idlelwp
in ci_data, which appears to be the same thing, so use that instead.

Revision 1.74 / (download) - annotate - [select for diffs], Thu May 17 14:51:11 2007 UTC (15 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.73: +13 -49 lines
Diff to previous 1.73 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.73.36.2 / (download) - annotate - [select for diffs], Thu Apr 19 01:03:08 2007 UTC (15 years, 9 months ago) by thorpej
Branch: thorpej-atomic
Changes since 1.73.36.1: +10 -3 lines
Diff to previous 1.73.36.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

Add support for hot-patching the membar ops when we detect MP.

Revision 1.73.36.1 / (download) - annotate - [select for diffs], Wed Apr 18 04:16:36 2007 UTC (15 years, 9 months ago) by thorpej
Branch: thorpej-atomic
Changes since 1.73: +14 -14 lines
Diff to previous 1.73 (colored)

Convert to the new atomic op API.

Revision 1.73.26.2 / (download) - annotate - [select for diffs], Sat Mar 24 11:36:00 2007 UTC (15 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.73.26.1: +3 -7 lines
Diff to previous 1.73.26.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

initialize ci->ci_schedstate.spc_mutex of APs.
(sched_rqinit is called before APs are attached.)

Revision 1.73.26.1 / (download) - annotate - [select for diffs], Tue Mar 20 12:07:11 2007 UTC (15 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.73: +17 -49 lines
Diff to previous 1.73 (colored)

adapt alpha.

Revision 1.71.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:48:00 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.71: +5 -5 lines
Diff to previous 1.71 (colored)

sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Dec 24 20:06:46 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-idlelwp-base8, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp, vmlocking, thorpej-atomic, ppcoea-renovation, mjf-ufs-trans
Changes since 1.72: +5 -5 lines
Diff to previous 1.72 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.72 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:10 2005 UTC (17 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

merge ktrace-lwp.

Revision 1.70.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:11:44 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70.2.2: +2 -2 lines
Diff to previous 1.70.2.2 (colored) next main 1.71 (colored)

Fix the sync with head I botched.

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:30:53 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70.2.1: +0 -0 lines
Diff to previous 1.70.2.1 (colored)

Sync with HEAD.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:31:03 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Sync with HEAD

Revision 1.71 / (download) - annotate - [select for diffs], Mon Oct 27 07:07:35 2003 UTC (19 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

uninitialized variables

Revision 1.70 / (download) - annotate - [select for diffs], Wed Feb 5 12:16:41 2003 UTC (20 years ago) by nakayama
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

Share alpha/microtime.c with i386 and sparc64 as kern_microtime.c.
(approved by martin)

Revision 1.69 / (download) - annotate - [select for diffs], Fri Jan 17 22:11:17 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.68: +6 -6 lines
Diff to previous 1.68 (colored)

Merge the nathanw_sa branch.

Revision 1.64.2.6 / (download) - annotate - [select for diffs], Mon Dec 16 17:23:12 2002 UTC (20 years, 1 month ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.64.2.5: +4 -4 lines
Diff to previous 1.64.2.5 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

LWPify some MULTIPROCESSOR code.

Revision 1.64.2.5 / (download) - annotate - [select for diffs], Fri Oct 18 02:33:55 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.64.2.4: +4 -5 lines
Diff to previous 1.64.2.4 (colored) to branchpoint 1.64 (colored)

Catch up to -current.

Revision 1.63.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:30:43 2002 UTC (20 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.63.2.3: +4 -5 lines
Diff to previous 1.63.2.3 (colored) next main 1.64 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.68 / (download) - annotate - [select for diffs], Wed Oct 2 04:06:37 2002 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.67: +4 -5 lines
Diff to previous 1.67 (colored)

Use CFATTACH_DECL().

Revision 1.67 / (download) - annotate - [select for diffs], Fri Sep 27 20:29:25 2002 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Declare all cfattach structures const.

Revision 1.63.2.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:31:20 2002 UTC (20 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.63.2.2: +5 -2 lines
Diff to previous 1.63.2.2 (colored)

sync kqueue branch with HEAD

Revision 1.64.14.2 / (download) - annotate - [select for diffs], Fri Aug 30 00:18:47 2002 UTC (20 years, 5 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.64.14.1: +5 -2 lines
Diff to previous 1.64.14.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

catch up with -current.

Revision 1.64.2.4 / (download) - annotate - [select for diffs], Thu Aug 1 02:40:58 2002 UTC (20 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.64.2.3: +5 -2 lines
Diff to previous 1.64.2.3 (colored) to branchpoint 1.64 (colored)

Catch up to -current.

Revision 1.64.16.1 / (download) - annotate - [select for diffs], Mon Jul 29 14:45:34 2002 UTC (20 years, 6 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.64: +5 -2 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Pull up revision 1.66 (requested by he in ticket #552):
Add identifiers for newer 21264 CPUs (B, C and D), EV68 variants.
Information gleaned from corresponding code in FreeBSD.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Jul 25 15:39:41 2002 UTC (20 years, 6 months ago) by he
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.65: +5 -2 lines
Diff to previous 1.65 (colored)

Add identifiers for newer 21264 CPUs (B, C and D), EV68 variants.
Information gleaned from corresponding code in FreeBSD.

Revision 1.64.14.1 / (download) - annotate - [select for diffs], Tue Jul 9 05:27:14 2002 UTC (20 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.64: +2 -3 lines
Diff to previous 1.64 (colored)

catch up with -current.

Revision 1.64.2.3 / (download) - annotate - [select for diffs], Mon Jun 24 22:03:06 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.64.2.2: +4 -4 lines
Diff to previous 1.64.2.2 (colored) to branchpoint 1.64 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.63.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:34:06 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.63.2.1: +2 -3 lines
Diff to previous 1.63.2.1 (colored)

catch up with -current on kqueue branch

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Thu Jun 20 03:37:29 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.64.2.1: +712 -0 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored)

Catch up to -current.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Jun 2 14:44:35 2002 UTC (20 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.64: +2 -3 lines
Diff to previous 1.64 (colored)

move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:10:38 2001 UTC (21 years, 6 months ago) by lukem
Branch: kqueue
Changes since 1.63: +91 -40 lines
Diff to previous 1.63 (colored)

update to -current

Revision 1.64.2.1, Fri Jul 13 21:34:35 2001 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.64: +0 -713 lines
FILE REMOVED

file cpu.c was added on branch nathanw_sa on 2002-06-20 03:37:29 +0000

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jul 13 21:34:35 2001 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, nathanw_sa, gehenna-devsw
Changes since 1.63: +91 -40 lines
Diff to previous 1.63 (colored)

Change the way we spin up CPUs.  Now boot the CPU as soon as we
discover it, but make it block on a semaphore until the MI kernel
says that we can let the secondary processors loose.  This allows
us to announce the extensions on the secondary CPUs, and to compute
the intersection of all the extensions across all CPUs, like so:

cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 1<BWX>
cpu1 at mainbus0: ID 1, 21164A-2
cpu1: Architecture extensions: 1<BWX>

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 18:12:52 2001 UTC (21 years, 7 months ago) by nathanw
Changes since 1.60: +33 -31 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Catch up to -current.

Revision 1.63 / (download) - annotate - [select for diffs], Sun May 27 13:53:24 2001 UTC (21 years, 8 months ago) by sommerfeld
Branch: MAIN
Branch point for: kqueue
Changes since 1.62: +4 -3 lines
Diff to previous 1.62 (colored)

Assorted microtime fixes (similar to fixes I made yesterday when
porting this code to i386mp branch):

 - call microset() early on each cpu so that calls to microtime()
before the first clock interrupt don't return trash.  this manifested
itself as garbage runtimes in "ps" for kernel threads.
 - avoid races between hardclock updating "time" and microset on a
different cpu reading it by adding a "microset_time" global which is
initialized from "time" on the primary cpu.
 - call microset every hz ticks, not every hz+1 (cosmetic)

Revision 1.62 / (download) - annotate - [select for diffs], Tue Apr 24 20:03:20 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.61: +7 -17 lines
Diff to previous 1.61 (colored)

Fix an uninitialized variable problem in the non-MULTIPROCESSOR case.

Revision 1.39.2.4 / (download) - annotate - [select for diffs], Mon Apr 23 09:41:25 2001 UTC (21 years, 9 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.39.2.3: +33 -22 lines
Diff to previous 1.39.2.3 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Apr 21 16:27:10 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.60: +33 -22 lines
Diff to previous 1.60 (colored)

Adjust the way the cpu_info[] array works (array of pointers
rather than array of structures).  Keep a list of active
CPUs and define a CPU_INFO_FOREACH to traverse them.

This fixes cpustates statistics tracking.

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:23:20 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.39.2.2: +44 -31 lines
Diff to previous 1.39.2.2 (colored) to branchpoint 1.39 (colored)

Sync with HEAD.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 15:59:39 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.39.2.1: +11 -16 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored)

Sync with HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Nov 22 08:39:47 2000 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.59: +46 -33 lines
Diff to previous 1.59 (colored)

Several changes, which get us generally further along with
multiprocessor support:
- Implement MP-safe halt.
- Make the FPU saving code more like Bill's on the i386 MP branch.
  XXX This code will no doubt be revisited again.
- Pass the cpu_info and trapframe to IPI handlers, saving some work
  in the handlers themselves, and also making it possible for the
  "pause" handler to reference register state for DDB.
- Add "machine cpu" to DDB, making it possible to reference other
  CPUs registers (and thus get e.g. a traceback) from whichever
  CPU is actually running the debugger.
- Garbage-collect "machine halt" and "machine reboot" DDB commands.
  They don't have a prayer of working properly in multiprocessor
  kernels, and didn't really work all that well in uniprocessor kernels.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 19:56:21 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.39: +222 -139 lines
Diff to previous 1.39 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Nov 19 19:18:19 2000 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.58: +6 -3 lines
Diff to previous 1.58 (colored)

Synch cpu_hatch() with the i386:
- print the same style message when the CPU is running.
- Initialize ci->ci_schedstate.spc_runtime on the CPU.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Nov 18 19:25:35 2000 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +3 -4 lines
Diff to previous 1.57 (colored)

Count individual interprocessor interrupts -- it's good to know where
they all come from.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Nov 18 17:45:31 2000 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.56: +6 -3 lines
Diff to previous 1.56 (colored)

Make sure that the cpu_info points at the correct softc on
single-processor kernels running on multi-processor systems.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Nov 17 22:47:30 2000 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.55: +2 -12 lines
Diff to previous 1.55 (colored)

I have long since upgraded the boot block on my test system.  (Actually,
I have an entirely different test system now.)

Revision 1.55 / (download) - annotate - [select for diffs], Mon Sep 4 00:31:58 2000 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +9 -26 lines
Diff to previous 1.54 (colored)

Define the biglock perimeter for the Alpha port, and generally clean
up a bunch of the MP code.  Still doens't work properly yet, this is
just a snapshot of work-in-progress.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Aug 21 02:03:12 2000 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +30 -3 lines
Diff to previous 1.53 (colored)

Add experimental code for pausing other CPUs upon a CPU's
entry into the debugger.  While I'm here, add splsched()
as per spl(9).

Revision 1.53 / (download) - annotate - [select for diffs], Mon Jul 3 21:21:26 2000 UTC (22 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.52: +17 -30 lines
Diff to previous 1.52 (colored)

Don't bother with minor printing, except on the LCA CPUs (because
that tells us if we have a 21066 or 21068).

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jun 29 09:02:53 2000 UTC (22 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 16:58:10 2000 UTC (22 years, 7 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.45: +56 -29 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jun 12 23:35:11 2000 UTC (22 years, 8 months ago) by sommerfeld
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

Fix this so it compiles again with DEBUG

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jun 5 21:47:11 2000 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.49: +41 -18 lines
Diff to previous 1.49 (colored)

Switch to the new `evcnt' mechanism for counting interrupts.  Maintain
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Jun 3 14:13:42 2000 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Err, actually, print "21264A", not "EV67".

Revision 1.48 / (download) - annotate - [select for diffs], Sat Jun 3 14:12:54 2000 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.47: +7 -5 lines
Diff to previous 1.47 (colored)

Recognize PCA57 and EV67.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jun 1 13:50:48 2000 UTC (22 years, 8 months ago) by sommerfeld
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

Add missing newline

Revision 1.46 / (download) - annotate - [select for diffs], Wed May 31 05:14:26 2000 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.45: +10 -8 lines
Diff to previous 1.45 (colored)

- In the MULTIPROCESSOR case, initialize p_cpu before a process is
  marked SONPROC.
- Always make curproc, fpcurproc, astpending, and want_resched per-CPU
  variables in struct cpu_info.  Restructure code accordingly, and trim
  a few instructions from a few spots in various places in locore.

Revision 1.45 / (download) - annotate - [select for diffs], Fri May 26 21:19:19 2000 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

First sweep at scheduler state cleanup.  Collect MI scheduler
state into global and per-CPU scheduler state:

	- Global state: sched_qs (run queues), sched_whichqs (bitmap
	  of non-empty run queues), sched_slpque (sleep queues).
	  NOTE: These may collectively move into a struct schedstate
	  at some point in the future.

	- Per-CPU state, struct schedstate_percpu: spc_runtime
	  (time process on this CPU started running), spc_flags
	  (replaces struct proc's p_schedflags), and
	  spc_curpriority (usrpri of processes on this CPU).

	- Every platform must now supply a struct cpu_info and
	  a curcpu() macro.  Simplify existing cpu_info declarations
	  where appropriate.

	- All references to per-CPU scheduler state now made through
	  curcpu().  NOTE: this will likely be adjusted in the future
	  after further changes to struct proc are made.

Tested on i386 and Alpha.  Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.

Revision 1.44 / (download) - annotate - [select for diffs], Tue May 23 05:12:53 2000 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +6 -6 lines
Diff to previous 1.43 (colored)

Rename the atomic operations to have generic machine-independent
names, and define __HAVE_ATOMIC_OPERATIONS to indicate their
existence.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Apr 3 01:47:28 2000 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +27 -4 lines
Diff to previous 1.42 (colored)

Print any architecture extensions present on the primary CPU.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Feb 9 23:25:15 2000 UTC (23 years ago) by sommerfeld
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Fix typo in error message

Revision 1.39.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:31:19 1999 UTC (23 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.39: +105 -69 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Pull up to last week's -current.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Dec 16 20:17:22 1999 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.40: +103 -68 lines
Diff to previous 1.40 (colored)

- Remove a misguided attempt to use procs as idle contexts for secondary
  processors.  Instead, allocate separate idle PCBs for them (including
  the primary -- don't use proc0's for its idle context).
- Use SysValue to store the cpu_info for each processor.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Dec 2 01:09:11 1999 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.39: +4 -3 lines
Diff to previous 1.39 (colored)

Move atomic operations into <machine/atomic.h>, and make them in-line
assembly, rather than function calls.

...except alpha_atomic_testset_l(), which will go away completely once
I commit the new <machine/lock.h>.

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Tue Nov 30 13:31:15 1999 UTC (23 years, 2 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Aug 23 22:29:41 1999 UTC (23 years, 5 months ago) by ross
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

Fix minor type () bug. Fall thru correctly when the minor type is not known.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Aug 10 23:35:43 1999 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +2 -4 lines
Diff to previous 1.37 (colored)

Move cpu_info and related info into <machine/cpu.h>, and implement the
other MP API components discussed on tech-smp.

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Mon Aug 2 19:32:41 1999 UTC (23 years, 6 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.35.4.1: +4 -4 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Update from trunk.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jul 6 21:44:11 1999 UTC (23 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Make the kthread API a bit more friendly to loadable kernel modules.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Fri Jul 2 17:33:45 1999 UTC (23 years, 7 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

pullup 1.35->1.36 (ross)

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Thu Jul 1 23:00:54 1999 UTC (23 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

Sync w/ -current.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jun 29 06:49:36 1999 UTC (23 years, 7 months ago) by ross
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

Identify the various ev6 pass numbers.
Also print the raw pass number rpb value as, say, `21264-4', like SRM does.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Mar 4 06:46:23 1999 UTC (23 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, kame_14_19990705, kame_14_19990628
Branch point for: netbsd-1-4, kame, chs-ubc2
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

fix printf format types.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Feb 23 03:20:01 1999 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +142 -163 lines
Diff to previous 1.33 (colored)

Now that we have the kthread mechanism, massively clean up the way
additional processors are spun up on multiprocessor Alpha systems.
Now, each processor gets its own idle thread (the primary processor
uses proc0).  This idle thread is used in switch_exit(), rather than
explicitly referencing proc0.

Also, make `curproc', `fpcurproc', and `curpcb' per-cpu values.  This
required some data structure rearrangement; cpu info is now statically
allocated in the BSS, rather than via malloc(), and cpu_softc is gone.
(Modeled somewhat after NetBSD/sparc's multiprocessor info structures.)

Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 19 01:59:39 1998 UTC (24 years, 2 months ago) by ross
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

#include <machine/alpha.h>

Revision 1.32 / (download) - annotate - [select for diffs], Tue Sep 29 07:04:58 1998 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.31: +57 -5 lines
Diff to previous 1.31 (colored)

- Use a bitmask for "running CPUs", rather than a flag in the softc.
- Add a function to halt a secondary CPU.
- Enable interrupts on secondary CPUs once they've hatched.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Sep 28 22:21:13 1998 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +2 -12 lines
Diff to previous 1.30 (colored)

PROM doens't need to be mapped to start up the secondaries, so remove some
dead code.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Sep 28 21:50:32 1998 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +17 -4 lines
Diff to previous 1.29 (colored)

Turn off some debugging printfs, and kludge around a boot block bug until
I can install fixed boot blocks on my MP test systems.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Sep 26 00:00:33 1998 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +8 -2 lines
Diff to previous 1.28 (colored)

- Oops, forgot to initalize the cpu_softc simplelock.
- Add yet another debugging printf.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 25 03:23:50 1998 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +9 -5 lines
Diff to previous 1.27 (colored)

Don't bother printing the message from the secondary console.  All it is
is basically the acknowledgement of the START command.  Print the idle
USPACE address for now.  Use the alias "apcb_backup_ksp" when setting the
backup kernel stack pointer in the secondary's boot HWPCB.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Sep 24 23:28:17 1998 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +354 -4 lines
Diff to previous 1.26 (colored)

First-cut at code to spin up secondary processors on a multiprocessor
Alpha system, conditional on MULTIPROCESSOR.

NOTE: This does not yet work completely.  The secondary CPU begins the
boot process, but never makes it into the cpu spinup trampoline.  This
is merely a snapshot of a work-in-progress.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Sep 22 06:24:26 1998 UTC (24 years, 4 months ago) by ross
Branch: MAIN
Changes since 1.25: +55 -154 lines
Diff to previous 1.25 (colored)

Change 41 separate printf()'s into a table and 2 printf()'s.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jun 24 01:06:26 1998 UTC (24 years, 7 months ago) by ross
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.24: +5 -6 lines
Diff to previous 1.24 (colored)

Replace expressions with the new macros: LOCATE_PCS(), PCS_CPU_MAJORTYPE(),
and PCS_CPU_MINORTYPE().

Revision 1.24 / (download) - annotate - [select for diffs], Thu May 14 00:01:30 1998 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +8 -8 lines
Diff to previous 1.23 (colored)

Garbage-collect the old confargs stuff that was used in the Early Days.
It isn't really appropriate anymore.  Replace it with a real mainbus
attach args structure.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jan 12 10:21:02 1998 UTC (25 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.22: +3 -5 lines
Diff to previous 1.22 (colored)

Adjust for config changes.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Thu Sep 4 00:52:21 1997 UTC (25 years, 5 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.21: +2 -3 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Sep 2 13:18:00 1997 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.21: +2 -3 lines
Diff to previous 1.21 (colored)

Nuke the idea of <machine/options.h>.  It completely defeats the purpose
of fine-grain option dependencies.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Sun Jun 1 04:11:10 1997 UTC (25 years, 8 months ago) by cgd
Branch: alpha-nwscons
Changes since 1.15.2.2: +19 -4 lines
Diff to previous 1.15.2.2 (colored) next main 1.16 (colored)

sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 7 23:39:41 1997 UTC (25 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: marc-pcmcia-bp, bouyer-scsipi, alpha-nwscons-base
Branch point for: marc-pcmcia
Changes since 1.20: +5 -2 lines
Diff to previous 1.20 (colored)

by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory.  (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 7 00:19:12 1997 UTC (25 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

clean up NetBSD RCS ID strings, include machine/options.h

Revision 1.19 / (download) - annotate - [select for diffs], Tue Apr 1 03:38:50 1997 UTC (25 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

#ifdef DEBUG a variable to prevent compiler warning.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Mar 12 05:50:00 1997 UTC (25 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.17: +12 -4 lines
Diff to previous 1.17 (colored)

don't assume that CPU ID is same as device unit number (DUH!), add some
comments about future work to be done.  make a mostly-extraneous set of
printfs (cpu capabilities) become #ifdef DEBUG.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Sun Dec 8 00:31:23 1996 UTC (26 years, 2 months ago) by cgd
Branch: alpha-nwscons
Changes since 1.15.2.1: +1 -9 lines
Diff to previous 1.15.2.1 (colored)

sync __BROKEN_INDIRECT_CONFIG removal with trunk.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Dec 8 00:22:08 1996 UTC (26 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-base, is-newarp
Changes since 1.16: +1 -9 lines
Diff to previous 1.16 (colored)

remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Dec 7 02:08:47 1996 UTC (26 years, 2 months ago) by cgd
Branch: alpha-nwscons
Changes since 1.15: +9 -1 lines
Diff to previous 1.15 (colored)

mostly sync with changes on the trunk

Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 5 01:39:27 1996 UTC (26 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.15: +9 -1 lines
Diff to previous 1.15 (colored)

update these so they compile whether or not __BROKEN_INDIRECT_CONFIG
is defined.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 13 23:18:07 1996 UTC (26 years, 2 months ago) by cgd
Branch: MAIN
Branch point for: alpha-nwscons
Changes since 1.14: +11 -11 lines
Diff to previous 1.14 (colored)

print out unrecognized processor minor types as 0x%x, rather than %d,
also print out minor types in a few cases where they previously wouldn't
be printed (but that aren't likely to be run into, anyway).

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 13 23:13:02 1996 UTC (26 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.13: +145 -45 lines
Diff to previous 1.13 (colored)

update for all known processor major and minor type numbers.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 13 01:03:52 1996 UTC (26 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.12: +6 -1 lines
Diff to previous 1.12 (colored)

recognize 21164A (ev56)

Revision 1.12 / (download) - annotate - [select for diffs], Sun Oct 13 02:59:26 1996 UTC (26 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.11: +18 -18 lines
Diff to previous 1.11 (colored)

backout previous kprintf change

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 10 23:50:20 1996 UTC (26 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.10: +18 -18 lines
Diff to previous 1.10 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 9 00:53:48 1996 UTC (26 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.9: +3 -17 lines
Diff to previous 1.9 (colored)

clean and update for new defintions, prototypes, etc.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 29 16:36:19 1996 UTC (26 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

fix botched printf spacing in last change.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 29 16:23:09 1996 UTC (26 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

fix definition of the "Primary Eligible" RPB PCS processor variation field.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 17 21:50:56 1996 UTC (26 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

print cpu names slightly differently (number first)

Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 12 06:07:15 1996 UTC (26 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

clean up copyrights and RCS IDs

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 17 01:06:20 1996 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +10 -4 lines
Diff to previous 1.4 (colored)

New device attachment scheme:

	- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 23 02:33:48 1995 UTC (27 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.3: +26 -21 lines
Diff to previous 1.3 (colored)

wholesale update from my NetBSD/Alpha source tree.  Includes:
	Support for AXPpci CPUs,
	Support for AlphaStation 600 CPUs,
	new boot block structure, which requires an 'installboot'
	    program and works a lot like the NetBSD/sparc boot blocks.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 28 02:45:01 1995 UTC (27 years, 7 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.2: +40 -7 lines
Diff to previous 1.2 (colored)

sync with my current Alpha sources

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 8 00:38:48 1995 UTC (27 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.1: +62 -5 lines
Diff to previous 1.1 (colored)

update from my local tree; better CPU configuration, support for 3000/300.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 13 23:06:55 1995 UTC (27 years, 11 months ago) by cgd
Branch: MAIN

preliminary Alpha support.  note that NOT ALL OF THE MODIFICATIONS TO
THE REST OF THE KERNEL ARE IN THE TREE YET.  Also, some of this is
_incredibly_ hack-ish, etc., but it works.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>