The NetBSD Project

CVS log for src/sys/arch/alpha/include/alpha.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.44.6.2: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:01 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.44.6.1: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.6.1: +15 -5 lines
Sync with HEAD.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Jul 23 03:50:32 2021 UTC (3 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -1 lines
- Expose alpha_fp_complete_at() to callers outside fp_complete.c.
- Use ufetch_32() instead of copyin() to fetch the instruction.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Jul 20 05:43:10 2021 UTC (3 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +14 -5 lines
Define the f_float in-memory format.  Line of the fields in s_float and
t_float.

Revision 1.44.6.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:20 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -2 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed May 5 15:36:17 2021 UTC (3 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -2 lines
Remove unused dot_conv() function.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Oct 14 00:59:50 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -1 lines
Add a mechanism to allow a platform to optionally shelter some region
of physical memory from random allocations from the default VM page
free list.  Use this hook to shelter regions within 0-16MB of physical
RAM on Jensen and Irongate systems; those platforms do not have SGMAP
DMA, and so we need to shelter this range so that devices using ISA DMA
(e.g. floppy controller) have an opportunity to allocate DMA-safe memory.

PR port-alpha/27087

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Oct 10 03:05:04 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
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.42: download - view: text, markup, annotated - select for diffs
Sat Oct 3 17:31:46 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -1 lines
Qemu loads the kernel directly, and so there's no bootloader to provide
a "bootinfo" structure for us.  Qemu does, however, place a Linux kernel
parameter block at kernel_text[] - 0x6000 that contains Linux-style kernel
command line arguments.  So, add a prom_qemu_getenv() that allows us to
look for specific things passed along to the kernel from there, and use
them as follows:

- Support specifying the root device in the forms "root=/dev/wd0a",
  "root=wd0a", or "rootdev=wd0".
- Support SRM-like -flags ... in the form of "flags=AD".  In the case of
  Qemu, we also assume that no flags=... is the same as "flags=A", i.e.
  perform an auto-boot.

Also allow an alternate delay() function to be specified, if the platform
wishes to provide one.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Sep 27 23:16:10 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -1 lines
prom_is_qemu -> alpha_is_qemu, and export it outside of prom.c.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Sep 18 00:07:22 2020 UTC (4 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -4 lines
Rather than having exception_return() at the root of the call graph for
kernel threads, provide a backstop that will prevent them from ever
accidentally trying to return to user space.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Sep 3 02:09:09 2020 UTC (4 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
Clean up all of the _PMAP_MAY_USE_PROM_CONSOLE crapola, centralizing the
logic in prom.c, and rename it _PROM_MAY_USE_PROM_CONSOLE in a few places
it's still needed.

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:46 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +1 -2 lines
Sync with HEAD

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Apr 6 03:06:24 2019 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -2 lines
Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Sun Apr 22 07:20:17 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +5 -5 lines
Sync with HEAD

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Apr 19 21:50:06 2018 UTC (6 years, 9 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-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
Branch point for: phil-wifi
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -5 lines
s/static inline/static __inline/g for consistency.

Revision 1.30.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:46 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.30.6.2: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.6.2: +5 -7 lines
update from HEAD

Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:27 2017 UTC (7 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +6 -8 lines
Sync with HEAD

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Jun 16 18:17:41 2017 UTC (7 years, 7 months ago) by jdolecek
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Branch point for: pgoyette-compat
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -2 lines
dumpconf(void) long doesn't exist, remove the prototype

PR kern/39714 by Henning Petersen

Revision 1.34.12.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:21 2017 UTC (7 years, 9 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +6 -7 lines
Sync with HEAD

Revision 1.34.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:09 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +6 -7 lines
Sync with HEAD

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Mar 16 16:13:20 2017 UTC (7 years, 10 months ago) by chs
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, netbsd-8-base, netbsd-8-3-RELEASE, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -7 lines
allow pcu_save() and pcu_discard() to be called on other threads,
ptrace needs to use it that way.

Revision 1.30.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:41 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.30.6.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.6.1: +12 -5 lines
Rebase to HEAD as of a few days ago.

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:53:49 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +12 -5 lines
Rebase.

Revision 1.29.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:27 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.29.2.2: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.2: +2 -2 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:53 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.1: +12 -5 lines
sync with head

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri May 16 19:18:21 2014 UTC (10 years, 8 months ago) by matt
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, 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, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, nick-nhusb, bouyer-socketcan
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +10 -3 lines
Cleanup and simplify PCU FP support.  Nuke MDLWP_FPUSED.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri May 16 00:48:41 2014 UTC (10 years, 8 months ago) by rmind
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
pcu(9):
- Remove PCU_KERNEL (hi matt!) and significantly simplify the code.
  This experimental feature was tried on ARM did not meet the expectations.
  It may be revived one day, but it should be done in a much simpler way.
- Add a message structure for xcall function, pass the LWP ower and thus
  optimise a race condition: if LWP is discarding its state on a remote CPU,
  but another LWP already did it - do not cause an unecessary re-faulting.
- Reduce the variety of flags for PCU operations (only PCU_VALID and
  PCU_REENABLE are used now), pass them only to the pcu_state_load().
- Rename pcu_used_p() to pcu_valid_p(); hopefully it is less confusing.
- pcu_save_all_on_cpu: SPL ought to be used here.
- Update and improve the pcu(9) man page; it needs wizd(8) though.

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:10 2013 UTC (11 years, 4 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
sync with head

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Aug 22 19:50:54 2013 UTC (11 years, 5 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
-extend the pcu(9) API by a function which saves all context on the
 current CPU, and use it if a CPU is taken offline
-add a bool argument to pcu_discard which tells whether the internal
 "LWP has used the coprocessor" flag should be set or reset. The flag
 is reported by pcu_used_p(). If set, future accesses should use the
 state stored in the PCB. If reset, it should be reset to default.
 The former case is useful for setmcontext().
 With that, it should not be necessary anymore to manage the "FPU used"
 state by an additional MD variable.

approved by matt

Revision 1.30.6.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:18 2013 UTC (11 years, 10 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4 lines
resync with head

Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:05:37 2013 UTC (11 years, 11 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.1: +4 -4 lines
sync with head

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:13:19 2012 UTC (12 years ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4 lines
Update to new pcu_state_{load,save,release} definitions

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:55 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +17 -17 lines
sync with head

Revision 1.29.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:30:56 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +17 -17 lines
merge to -current.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Feb 6 02:14:13 2012 UTC (12 years, 11 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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, 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
Branch point for: tls-maxphys
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +17 -17 lines
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.29: download - view: text, markup, annotated - select for diffs
Sun Jul 17 20:54:36 2011 UTC (13 years, 6 months ago) by joerg
Branches: 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
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -2 lines
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Jul 6 20:44:47 2011 UTC (13 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Oops, missed one: #include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:18:52 2011 UTC (13 years, 7 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +26 -5 lines
Catchup with rmind-uvmplock merge.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:35:37 2011 UTC (13 years, 7 months ago) by rmind
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -2 lines
Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.24.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:23:51 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.24.4.2: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.4.2: +25 -3 lines
sync with head

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jun 7 00:48:31 2011 UTC (13 years, 7 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +26 -4 lines
Switch alpha to use PCU to manage the FPU.
Tested by mhitch and review by rmind.

Revision 1.24.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:04:44 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +2 -40 lines
Sync with HEAD.

Revision 1.24.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:11 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.24.4.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.1: +2 -40 lines
sync with head

Revision 1.24.8.1: download - view: text, markup, annotated - select for diffs
Thu Feb 17 11:59:29 2011 UTC (13 years, 11 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +2 -40 lines
Sync with HEAD

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Feb 8 20:20:07 2011 UTC (13 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base7, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: cherry-xenmp
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -40 lines
Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

Revision 1.23.34.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:33:54 2010 UTC (14 years, 9 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.23.34.1: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.34.1: +1 -1 lines
sync to netbsd-5

Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Thu Mar 18 04:36:47 2010 UTC (14 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -2 lines
Unify /dev/{mem,kmem,zero,null} implementations in MI code.  Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.

Work and depression still in progress.

Revision 1.23.18.1: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:19:59 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +1 -2 lines
sync with head

Revision 1.23.34.1: download - view: text, markup, annotated - select for diffs
Tue Jun 9 17:40:04 2009 UTC (15 years, 7 months ago) by snj
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE, 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
Branch point for: matt-nb5-mips64
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +1 -2 lines
Pull up following revision(s) (requested by martin in ticket #798):
	sys/arch/alpha/alpha/locore.s: revision 1.114
	sys/arch/alpha/alpha/vm_machdep.c: revision 1.100
	sys/arch/alpha/include/alpha.h: revision 1.24
Do not use lwp_trampoline for cpu_setfunc, but a simplified setfunc_trampoline
that does not call lwp_startup() instead.

Revision 1.23.28.1: download - view: text, markup, annotated - select for diffs
Tue Jun 9 17:38:39 2009 UTC (15 years, 7 months ago) by snj
Branches: 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
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +1 -2 lines
Pull up following revision(s) (requested by martin in ticket #798):
	sys/arch/alpha/alpha/locore.s: revision 1.114
	sys/arch/alpha/alpha/vm_machdep.c: revision 1.100
	sys/arch/alpha/include/alpha.h: revision 1.24
Do not use lwp_trampoline for cpu_setfunc, but a simplified setfunc_trampoline
that does not call lwp_startup() instead.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Jun 1 20:58:16 2009 UTC (15 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, 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, matt-mips64-premerge-20101231, jymxensuspend-base, jruoho-x86intr-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -2 lines
Do not use lwp_trampoline for cpu_setfunc, but a simplified setfunc_trampoline
that does not call lwp_startup() instead.

Revision 1.21.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:44:36 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.21.10.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.10.1: +3 -1 lines
sync with HEAD

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:16:19 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -1 lines
Sync with HEAD.

Revision 1.19.16.2: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:23:50 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19.16.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.16.1: +3 -1 lines
sync with head

Revision 1.20.30.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 19:02:29 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.20.30.2: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.30.2: +1 -3 lines
Sync with HEAD.

Revision 1.20.30.2: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:34:31 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.20.30.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.30.1: +5 -1 lines
Sync with HEAD.

Revision 1.21.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 3 16:13:51 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +3 -1 lines
Sync with HEAD.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Nov 28 17:40:03 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, netbsd-5-0, netbsd-5
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -1 lines
Hook in the atomic ops on alpha.

Revision 1.21.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:13:52 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -1 lines
sync with HEAD

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:52:57 2007 UTC (17 years, 3 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -1 lines
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.19.16.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:22:22 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -3 lines
sync with head.

Revision 1.20.32.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:57:27 2007 UTC (17 years, 6 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -3 lines
Sync with head.

Revision 1.20.30.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:26:55 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3 lines
Sync with head.

Revision 1.20.38.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:26:29 2007 UTC (17 years, 8 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -3 lines
Update to HEAD.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:13 2007 UTC (17 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6, jmcneill-pm
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3 lines
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.20.36.1: download - view: text, markup, annotated - select for diffs
Thu Apr 19 01:03:10 2007 UTC (17 years, 9 months ago) by thorpej
Branches: thorpej-atomic
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +3 -1 lines
Add support for hot-patching the membar ops when we detect MP.

Revision 1.20.26.1: download - view: text, markup, annotated - select for diffs
Tue Mar 20 12:07:13 2007 UTC (17 years, 10 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -3 lines
adapt alpha.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:16 2005 UTC (19 years, 1 month ago) by christos
Branches: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -1 lines
merge ktrace-lwp.

Revision 1.18.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:11:48 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.2.2: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.2: +1 -1 lines
Fix the sync with head I botched.

Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:31:03 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.2.1: preferred, colored
Changes since revision 1.18.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:31:19 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +36 -2 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:26:32 2003 UTC (21 years, 5 months ago) by agc
Branches: 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
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +36 -2 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Jan 17 22:11:16 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +10 -10 lines
Merge the nathanw_sa branch.

Revision 1.17.4.4: download - view: text, markup, annotated - select for diffs
Fri Jan 3 22:27:54 2003 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.17.4.3: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.4.3: +2 -3 lines
Merge switch_exit() and switch_lwp_exit().

Revision 1.17.4.3: download - view: text, markup, annotated - select for diffs
Mon Dec 17 20:57:59 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.4.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.4.2: +3 -3 lines
Sprinkle a little const around frametoreg() and regtoframe().

Revision 1.17.4.2: download - view: text, markup, annotated - select for diffs
Thu Aug 30 23:43:43 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.4.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.4.1: +155 -0 lines
First cut at LWP and SA support on the alpha.
Doesn't break in ordinary multiuser mode; LWPs and SAs not yet tested.

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 18:13:00 2001 UTC (23 years, 7 months ago) by nathanw
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +42 -2 lines
Catch up to -current.

Revision 1.17.4.1
Thu Jun 14 22:56:55 2001 UTC (23 years, 7 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.17: +0 -154 lines
file alpha.h was added on branch nathanw_sa on 2001-08-30 23:43:43 +0000

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jun 14 22:56:55 2001 UTC (23 years, 7 months ago) by thorpej
Branches: 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, 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, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kqueue, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -2 lines
Don't need to prototype child_return() here, it's in <sys/proc.h>.

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Tue May 15 22:50:46 2001 UTC (23 years, 8 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +7 -1 lines
Pull up revision 1.16 (via patch, requested by ross):
  Deal with stray machine checks.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon May 14 19:56:23 2001 UTC (23 years, 8 months ago) by ross
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -1 lines
o Deal with stray machine checks
o Add for alpha a security-sensitive rate-limiting printf(9) wrapper based
  on ratecheck(9):  void rlprintf(struct timeval *t, const char *fmt, ...);

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Apr 26 03:10:46 2001 UTC (23 years, 9 months ago) by ross
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +36 -1 lines
o IEEE 754 floating-point completion code.
o Implement the architected FP_C "Floating Point Control Quadword"

Revision 1.6.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:49:17 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6.2.3: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.3: +1 -1 lines
Sync with HEAD (for UBC fixes).

Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 13 14:49:17 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6.2.2: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.2: +1 -2 lines
Sync with HEAD (for UBC fixes)

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Dec 13 03:16:38 2000 UTC (24 years, 1 month ago) by mycroft
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -2 lines
Do the md_syscall, __HAVE_MINIMAL_EMUL and __HAVE_SYSCALL_INTERN thangs.

Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:23:36 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.1: +7 -4 lines
Sync with HEAD.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Nov 22 08:39:52 2000 UTC (24 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -4 lines
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.6.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 19:56:47 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +51 -80 lines
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.12: download - view: text, markup, annotated - select for diffs
Mon Sep 4 00:32:00 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
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.11: download - view: text, markup, annotated - select for diffs
Tue Aug 15 22:16:18 2000 UTC (24 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -1 lines
Implement MP-safe lazy FP context switching, modeled on the
way Bill Sommerfeld implemented it for x86 (and bug fixes
fed back to Bill :-)

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 16:58:26 2000 UTC (24 years, 7 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +48 -46 lines
Sync w/ netbsd-1-5-base.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jun 8 03:10:06 2000 UTC (24 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +46 -46 lines
And more ANSI'ification!

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jun 1 17:12:42 2000 UTC (24 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1 lines
Add a global patchable variable to enable debugging printfs in the
code that finds the boot device.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Apr 10 06:04:28 2000 UTC (24 years, 9 months ago) by simonb
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -23 lines
Remove duplicate CTL_MACHDEP definitions (duplicated in <alpha/cpu.h>).

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Feb 29 22:19:54 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -13 lines
Put machine check info in cpu_info in the multiprocessor case, and
just have one statically allocate machine check info structure in the
single processor config case.

Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:31:31 1999 UTC (25 years, 1 month ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +2 -1 lines
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.6: download - view: text, markup, annotated - select for diffs
Fri Sep 17 19:59:37 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2 lines
Centralize the declaration and clearing of `cold'.

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 2 19:35:06 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +2 -2 lines
Update from trunk.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jul 11 22:39:21 1999 UTC (25 years, 6 months ago) by ross
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
New signature for console_restart().

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Fri Jul 2 17:52:01 1999 UTC (25 years, 6 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +2 -1 lines
pullup 1.3->1.4 (ross)

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 1 23:00:57 1999 UTC (25 years, 6 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +2 -1 lines
Sync w/ -current.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jun 29 07:18:23 1999 UTC (25 years, 6 months ago) by ross
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
Prototype dot_conv(), new routine in machdep.c that formats an alpha
long like this: e081.8000.8000.0004

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 00:46:08 1999 UTC (25 years, 7 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2 lines
Sync w/ -current.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Apr 20 21:23:09 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2 lines
Move the inclusion of <machine/bus.h> to within a _KERNEL section.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Feb 23 03:20:04 1999 UTC (25 years, 11 months ago) by thorpej
Branches: 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
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -5 lines
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.1: download - view: text, markup, annotated - select for diffs
Thu Nov 19 01:57:56 1998 UTC (26 years, 2 months ago) by ross
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
New module to hold the alpha-specific prototypes that don't need to be
exported to the MI kernel. Almost everything here was formerly in cpu.h.
Optionally, this module could in the future be used to #include anything
that is always needed by arch/alpha modules.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>