The NetBSD Project

CVS log for src/sys/arch/mips/include/asm.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.75 / (download) - annotate - [select for diffs], Thu Sep 14 03:37:01 2023 UTC (7 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.74: +33 -14 lines
Diff to previous 1.74 (colored) to selected 1.53 (colored)

mips: Add initial support to gprof(1) for n64 userland

Use gp relative call for _mcount().

Stop using macro name MCOUNT as well for clarity. It has nothing to
do with one provided by <machine/profile.h>.

Now, gprof(1) works just fine for C programs. On the other hand, some
C++ profiling tests of ATF fail as partially observed for n32.

More C++ profile tests become broken for GCC12 in comparison to GCC10.
Something needs to be adjusted for us, or GCC, or both.

Revision 1.54.6.2 / (download) - annotate - [select for diffs], Tue Aug 1 13:18:21 2023 UTC (8 months, 2 weeks ago) by martin
Branch: netbsd-8
Changes since 1.54.6.1: +6 -1 lines
Diff to previous 1.54.6.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored) to selected 1.53 (colored)

Apply patch, requested by riastradh in ticket #1859:

        sys/arch/mips/include/asm.h     (apply patch)

Additional build fix for mips1 (and mips2?)
(patch taken from [pullup-9 #1676])

Revision 1.55.4.2 / (download) - annotate - [select for diffs], Tue Aug 1 13:14:39 2023 UTC (8 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.55.4.1: +6 -1 lines
Diff to previous 1.55.4.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored) to selected 1.53 (colored)

Apply patch, requested by riastradh in ticket #1676:

	sys/arch/mips/include/asm.h	(apply patch)

Additional build fix for mips1 (and mips2?)

Revision 1.54.6.1 / (download) - annotate - [select for diffs], Mon Jul 31 13:56:14 2023 UTC (8 months, 2 weeks ago) by martin
Branch: netbsd-8
Changes since 1.54: +27 -1 lines
Diff to previous 1.54 (colored) to selected 1.53 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1859):

	sys/arch/ia64/ia64/vm_machdep.c: revision 1.18
	sys/arch/powerpc/powerpc/locore_subr.S: revision 1.67
	sys/arch/aarch64/aarch64/locore.S: revision 1.91
	sys/arch/mips/include/asm.h: revision 1.74
	sys/arch/hppa/include/cpu.h: revision 1.13
	sys/arch/arm/arm/armv6_start.S: revision 1.38
	 (applied also to sys/arch/arm/cortex/a9_mpsubr.S,
	 sys/arch/arm/cortex/a9_mpsubr.S,
	 sys/arch/arm/cortex/cortex_init.S)
	sys/arch/evbmips/ingenic/cpu_startup.S: revision 1.2
	sys/arch/mips/mips/locore.S: revision 1.229
	sys/arch/alpha/include/asm.h: revision 1.45
	 (applied to sys/arch/alpha/alpha/multiproc.s)
	sys/arch/sparc64/sparc64/locore.s: revision 1.432
	sys/arch/vax/vax/subr.S: revision 1.42
	sys/arch/mips/mips/locore_mips3.S: revision 1.116
	sys/arch/ia64/ia64/machdep.c: revision 1.44
	sys/arch/arm/arm32/cpuswitch.S: revision 1.106
	sys/arch/sparc/sparc/locore.s: revision 1.284
	(all via patch)

aarch64: Add missing barriers in cpu_switchto.
Details in comments.

Note: This is a conservative change that inserts a barrier where
there was a comment saying none is needed, which is probably correct.
The goal of this change is to systematically add barriers to be
confident in correctness; subsequent changes may remove some bariers,
as an optimization, with an explanation of why each barrier is not
needed.

PR kern/57240

alpha: Add missing barriers in cpu_switchto.
Details in comments.

arm32: Add missing barriers in cpu_switchto.
Details in comments.

hppa: Add missing barriers in cpu_switchto.
Not sure hppa has ever had working MULTIPROCESSOR, so maybe no
pullups needed?

ia64: Add missing barriers in cpu_switchto.
(ia64 has never really worked, so no pullups needed, right?)

mips: Add missing barriers in cpu_switchto.
Details in comments.

powerpc: Add missing barriers in cpu_switchto.
Details in comments.

sparc: Add missing barriers in cpu_switchto.

sparc64: Add missing barriers in cpu_switchto.
Details in comments.

vax: Note where cpu_switchto needs barriers.

Not sure vax has ever had working MULTIPROCESSOR, though, and I'm not
even sure how to spell store-before-load barriers on VAX, so no
functional change for now.

Revision 1.55.4.1 / (download) - annotate - [select for diffs], Mon Jul 31 13:44:15 2023 UTC (8 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.55: +27 -1 lines
Diff to previous 1.55 (colored) to selected 1.53 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1676):

	sys/arch/ia64/ia64/vm_machdep.c: revision 1.18
	sys/arch/powerpc/powerpc/locore_subr.S: revision 1.67
	sys/arch/aarch64/aarch64/locore.S: revision 1.91
	sys/arch/mips/include/asm.h: revision 1.74
	sys/arch/hppa/include/cpu.h: revision 1.13
	sys/arch/arm/arm/armv6_start.S: revision 1.38
	sys/arch/evbmips/ingenic/cpu_startup.S: revision 1.2
	sys/arch/mips/mips/locore.S: revision 1.229
	sys/arch/aarch64/aarch64/cpuswitch.S: revision 1.40
	sys/arch/alpha/include/asm.h: revision 1.45
	sys/arch/sparc64/sparc64/locore.s: revision 1.432
	sys/arch/vax/vax/subr.S: revision 1.42
	sys/arch/mips/mips/locore_mips3.S: revision 1.116
	sys/arch/ia64/ia64/machdep.c: revision 1.44
	sys/arch/arm/arm32/cpuswitch.S: revision 1.106
	sys/arch/sparc/sparc/locore.s: revision 1.284
	(all via patch)

aarch64: Add missing barriers in cpu_switchto.
Details in comments.

Note: This is a conservative change that inserts a barrier where
there was a comment saying none is needed, which is probably correct.
The goal of this change is to systematically add barriers to be
confident in correctness; subsequent changes may remove some bariers,
as an optimization, with an explanation of why each barrier is not
needed.

PR kern/57240

alpha: Add missing barriers in cpu_switchto.
Details in comments.

arm32: Add missing barriers in cpu_switchto.
Details in comments.

hppa: Add missing barriers in cpu_switchto.
Not sure hppa has ever had working MULTIPROCESSOR, so maybe no
pullups needed?

ia64: Add missing barriers in cpu_switchto.
(ia64 has never really worked, so no pullups needed, right?)

mips: Add missing barriers in cpu_switchto.
Details in comments.

powerpc: Add missing barriers in cpu_switchto.
Details in comments.

sparc: Add missing barriers in cpu_switchto.

sparc64: Add missing barriers in cpu_switchto.
Details in comments.

vax: Note where cpu_switchto needs barriers.

Not sure vax has ever had working MULTIPROCESSOR, though, and I'm not
even sure how to spell store-before-load barriers on VAX, so no
functional change for now.

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Mon Jul 31 13:36:30 2023 UTC (8 months, 2 weeks ago) by martin
Branch: netbsd-10
CVS Tags: 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
Changes since 1.71: +23 -1 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.53 (colored)

Pull up following revision(s) (requested by riastradh in ticket #264):

	sys/arch/ia64/ia64/vm_machdep.c: revision 1.18
	sys/arch/powerpc/powerpc/locore_subr.S: revision 1.67
	sys/arch/aarch64/aarch64/locore.S: revision 1.91
	sys/arch/mips/include/asm.h: revision 1.74
	sys/arch/hppa/include/cpu.h: revision 1.13
	sys/arch/arm/arm/armv6_start.S: revision 1.38
	sys/arch/evbmips/ingenic/cpu_startup.S: revision 1.2
	sys/arch/mips/mips/locore.S: revision 1.229
	sys/arch/aarch64/aarch64/cpuswitch.S: revision 1.40
	sys/arch/alpha/include/asm.h: revision 1.45
	sys/arch/sparc64/sparc64/locore.s: revision 1.432
	sys/arch/vax/vax/subr.S: revision 1.42
	sys/arch/mips/mips/locore_mips3.S: revision 1.116
	sys/arch/riscv/riscv/cpu_switch.S: revision 1.3
	sys/arch/ia64/ia64/machdep.c: revision 1.44
	sys/arch/arm/arm32/cpuswitch.S: revision 1.106
	sys/arch/sparc/sparc/locore.s: revision 1.284

aarch64: Add missing barriers in cpu_switchto.
Details in comments.

Note: This is a conservative change that inserts a barrier where
there was a comment saying none is needed, which is probably correct.
The goal of this change is to systematically add barriers to be
confident in correctness; subsequent changes may remove some bariers,
as an optimization, with an explanation of why each barrier is not
needed.

PR kern/57240

alpha: Add missing barriers in cpu_switchto.
Details in comments.

arm32: Add missing barriers in cpu_switchto.
Details in comments.

hppa: Add missing barriers in cpu_switchto.
Not sure hppa has ever had working MULTIPROCESSOR, so maybe no
pullups needed?

ia64: Add missing barriers in cpu_switchto.
(ia64 has never really worked, so no pullups needed, right?)

mips: Add missing barriers in cpu_switchto.
Details in comments.

powerpc: Add missing barriers in cpu_switchto.
Details in comments.

riscv: Add missing barriers in cpu_switchto.
Details in comments.

sparc: Add missing barriers in cpu_switchto.

sparc64: Add missing barriers in cpu_switchto.
Details in comments.

vax: Note where cpu_switchto needs barriers.

Not sure vax has ever had working MULTIPROCESSOR, though, and I'm not
even sure how to spell store-before-load barriers on VAX, so no
functional change for now.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Feb 23 14:56:00 2023 UTC (13 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.73: +23 -1 lines
Diff to previous 1.73 (colored) to selected 1.53 (colored)

mips: Add missing barriers in cpu_switchto.

Details in comments.

PR kern/57240

XXX pullup-8
XXX pullup-9
XXX pullup-10

Revision 1.73 / (download) - annotate - [select for diffs], Mon Feb 20 13:30:47 2023 UTC (13 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.72: +4 -3 lines
Diff to previous 1.72 (colored) to selected 1.53 (colored)

mips/asm.h: Make membar macros conditional on MULTIPROCESSOR.

For !MULTIPROCESSOR, define them to be empty or nop as appropriate.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Feb 13 12:00:18 2023 UTC (14 months ago) by riastradh
Branch: MAIN
Changes since 1.71: +25 -2 lines
Diff to previous 1.71 (colored) to selected 1.53 (colored)

mips/asm.h: Cite source for Cavium sync plunger business.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Apr 21 12:06:31 2022 UTC (23 months, 4 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.70: +15 -6 lines
Diff to previous 1.70 (colored) to selected 1.53 (colored)

mips/cavium: Take advantage of Octeon's guaranteed r/rw ordering.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Apr 9 14:09:32 2022 UTC (2 years ago) by riastradh
Branch: MAIN
Changes since 1.69: +3 -1 lines
Diff to previous 1.69 (colored) to selected 1.53 (colored)

mips/rmi: Hack to get XLSATX64.MP kernel building again.

Using <mips/asm.h> in a .c file is kinda grody but CALLFRAME_SIZ
doesn't seem to be defined anywhere else.  Not sure how this was ever
supposed to work...

Revision 1.69 / (download) - annotate - [select for diffs], Sun Feb 27 19:22:20 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored) to selected 1.53 (colored)

mips: Redefine LLSCSYNC as empty on non-Octeon MP.

This change deletes memory barriers on non-Octeon MP.  However, all
the appropriate acquire and release barriers are already used in
mutex stubs, and no barriers are needed in atomic_* unless we set
__HAVE_ATOMIC_AS_MEMBAR which we don't on MIPS.  So this should be
safe.

Unclear whether we need this even on Octeon -- don't have a clear
reference on why it's here.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Feb 27 19:22:12 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored) to selected 1.53 (colored)

mips: Redefine BDSYNC as sync on Octeon, not syncw.

BDSYNC is used for membar_sync, which is supposed to be a full
sequential consistency barrier, which is not provided by syncw, so
this is necessary for correctness.

BDSYNC is not used for anything else, so this can't hurt performance,
except where it was necessary for correctness anyway or where the
semantic choice of membar_sync was too strong anyway.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Feb 27 19:22:02 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.66: +1 -4 lines
Diff to previous 1.66 (colored) to selected 1.53 (colored)

mips: Omit needless SYNC in mutex_exit.

This change deletes a memory barrier.  However, it should be safe:
The semantic requirement for this is already provided by the SYNC_REL
above, before the ll.  And as currently defined, SYNC_REL is at least
as strong as SYNC, so this change can't hurt correctness on its own
(barring CPU errata, which would apply to other users of SYNC_REL and
can be addressed in the definition of SYNC_REL).

Later, perhaps we can relax SYNC_REL to syncw on Octeon if we prove
that it is correct (e.g., if Octeon follows the SPARCv9 partial store
order semantics).

Nix now-unused SYNC macro in asm.h.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Feb 27 19:21:53 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.65: +16 -1 lines
Diff to previous 1.65 (colored) to selected 1.53 (colored)

mips: Membar audit.

This change should be safe because it doesn't remove or weaken any
memory barriers, but does add, clarify, or strengthen barriers.

Goals:

- Make sure mutex_enter/exit and mutex_spin_enter/exit have
  acquire/release semantics.

- New macros make maintenance easier and purpose clearer:

  . SYNC_ACQ is for load-before-load/store barrier, and BDSYNC_ACQ
    for a branch delay slot -- currently defined as plain sync for MP
    and nothing, or nop, for UP; thus it is no weaker than SYNC and
    BDSYNC as currently defined, which is syncw on Octeon, plain sync
    on non-Octeon MP, and nothing/nop on UP.

    It is not clear to me whether load-then-syncw or ll/sc-then-syncw
    or even bare load provides load-acquire semantics on Octeon -- if
    no, this will fix bugs; if yes (like it is on SPARC PSO), we can
    relax SYNC_ACQ to be syncw or nothing later.

  . SYNC_REL is for load/store-before-store barrier -- currently
    defined as plain sync for MP and nothing for UP.

    It is not clear to me whether syncw-then-store is enough for
    store-release on Octeon -- if no, we can leave this as is; if
    yes, we can relax SYNC_REL to be syncw on Octeon.

  . SYNC_PLUNGER is there to flush clogged Cavium store buffers, and
    BDSYNC_PLUNGER for a branch delay slot -- syncw on Octeon,
    nothing or nop on non-Octeon.

    => This is not necessary (or, as far as I'm aware, sufficient)
       for acquire semantics -- it serves only to flush store buffers
       where stores might otherwise linger for hundreds of thousands
       of cycles, which would, e.g., cause spin locks to be held for
       unreasonably long durations.

  Newerish revisions of the MIPS ISA also have finer-grained sync
  variants that could be plopped in here.

Mechanism:

Insert these barriers in the right places, replacing only those where
the definition is currently equivalent, so this change is safe.

- Replace #ifdef _MIPS_ARCH_OCTEONP / syncw / #endif at the end of
  atomic_cas_* by SYNC_PLUNGER, which is `sync 4' (a.k.a. syncw) if
  __OCTEON__ and empty otherwise.

  => From what I can tell, __OCTEON__ is defined in at least as many
     contexts as _MIPS_ARCH_OCTEONP -- i.e., there are some Octeons
     with no _MIPS_ARCH_OCTEONP, but I don't know if any of them are
     relevant to us or ever saw the light of day outside Cavium; we
     seem to buid with `-march=octeonp' so this is unlikely to make a
     difference.  If it turns out that we do care, well, now there's
     a central place to make the distinction for sync instructions.

- Replace post-ll/sc SYNC by SYNC_ACQ in _atomic_cas_*, which are
  internal kernel versions used in sys/arch/mips/include/lock.h where
  it assumes they have load-acquire semantics.  Should move this to
  lock.h later, since we _don't_ define __HAVE_ATOMIC_AS_MEMBAR on
  MIPS and so the extra barrier might be costly.

- Insert SYNC_REL before ll/sc, and replace post-ll/sc SYNC by
  SYNC_ACQ, in _ucas_*, which is used without any barriers in futex
  code and doesn't mention barriers in the man page so I have to
  assume it is required to be a release/acquire barrier.

- Change BDSYNC to BDSYNC_ACQ in mutex_enter and mutex_spin_enter.
  This is necessary to provide load-acquire semantics -- unclear if
  it was provided already by syncw on Octeon, but it seems more
  likely that either (a) no sync or syncw is needed at all, or (b)
  syncw is not enough and sync is needed, since syncw is only a
  store-before-store ordering barrier.

- Insert SYNC_REL before ll/sc in mutex_exit and mutex_spin_exit.
  This is currently redundant with the SYNC already there, but
  SYNC_REL more clearly identifies the necessary semantics in case we
  want to define it differently on different systems, and having a
  sync in the middle of an ll/sc is a bit weird and possibly not a
  good idea, so I intend to (carefully) remove the redundant SYNC in
  a later change.

- Change BDSYNC to BDSYNC_PLUNGER at the end of mutex_exit.  This has
  no semantic change right now -- it's syncw on Octeon, sync on
  non-Octeon MP, nop on UP -- but we can relax it later to nop on
  non-Cavium MP.

- Leave LLSCSYNC in for now -- it is apparently there for a Cavium
  erratum, but I'm not sure what the erratum is, exactly, and I have
  no reference for it.  I suspect these can be safely removed, but we
  might have to double up some other syncw instructions -- Linux uses
  it only in store-release sequences, not at the head of every ll/sc.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:31 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.62: +52 -10 lines
Diff to previous 1.62 (colored) next main 1.63 (colored) to selected 1.53 (colored)

Sync with HEAD.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Feb 18 12:28:01 2021 UTC (3 years, 2 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.64: +23 -6 lines
Diff to previous 1.64 (colored) to selected 1.53 (colored)

Add an abicalls version of asm mcount prologue.  XXX not tested because
profiled programs fail to link, but fixes build.  Thanks dholland@ for
help analysing this.

While here, rename _KERN_MCOUNT to _MIPS_ASM_MCOUNT - it's not kernel
specific.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Feb 16 06:06:58 2021 UTC (3 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.63: +32 -7 lines
Diff to previous 1.63 (colored) to selected 1.53 (colored)

Working kernel profiling for n32/n64:
 - Different MCOUNT and _KERN_MCOUNT macros for n32/n64.
 - Don't profile mipsXX_lwp_trampoline().
 - Allow a few new instructions in the stub fixups.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Feb 4 08:51:42 2021 UTC (3 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored) to selected 1.53 (colored)

Use t9 instead of $25 in the SETUP_GP64 macro to hopefully make things
a bit clearer.  Same libc binary after.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Sep 26 08:19:11 2020 UTC (3 years, 6 months ago) by simonb
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.61: +9 -1 lines
Diff to previous 1.61 (colored) to selected 1.53 (colored)

Add EXPORT_OBJECT - export definition of symbol of symbol type Object,
visible to ksyms(4) address search.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Aug 12 08:56:37 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.60: +8 -1 lines
Diff to previous 1.60 (colored) to selected 1.53 (colored)

Provide assmebler versions of BITS(3) macros.  These are only good for
32 bit masks

Revision 1.60 / (download) - annotate - [select for diffs], Mon Aug 10 14:37:38 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.59: +6 -2 lines
Diff to previous 1.59 (colored) to selected 1.53 (colored)

More SYNC centralisation

Revision 1.59 / (download) - annotate - [select for diffs], Sun Aug 9 08:13:09 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.58: +4 -14 lines
Diff to previous 1.58 (colored) to selected 1.53 (colored)

Use compiler defines to determine which LLSCSYNC, et al
to provide.

This should fix mips builds.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Aug 6 10:00:20 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.57: +23 -1 lines
Diff to previous 1.57 (colored) to selected 1.53 (colored)

Centralise SYNC/BDSYNC in asm.h and introduce a new LLCSCSYNC and use it
before any ll/sc sequences.

Define LLSCSYNC as syncw; syncw for cnMIPS - issue two as early cnMIPS
has errat{um,a} that means the first can fail.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Jul 26 08:08:41 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored) to selected 1.53 (colored)

#define<tab>
Nuke trailing whitespace.

Revision 1.54.14.2 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:10 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.54.14.1: +4 -2 lines
Diff to previous 1.54.14.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored) to selected 1.53 (colored)

Sync with HEAD

Revision 1.55.10.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:28:58 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.53 (colored)

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Fri Apr 17 14:19:43 2020 UTC (4 years ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored) to selected 1.53 (colored)

Mark the .ident section as mergable string section to avoid redundant
entries.

Revision 1.54.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:29 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.54: +4 -3 lines
Diff to previous 1.54 (colored) to selected 1.53 (colored)

Sync with HEAD

Revision 1.54.12.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:37 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.54: +4 -3 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.53 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.55 / (download) - annotate - [select for diffs], Tue Sep 4 00:01:41 2018 UTC (5 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9, bouyer-xenpvh
Changes since 1.54: +4 -3 lines
Diff to previous 1.54 (colored) to selected 1.53 (colored)

mark STATIC_NESTED_NOPROFILE() functions as functions.

Revision 1.46.10.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:27 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.46.10.1: +32 -10 lines
Diff to previous 1.46.10.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.53 (colored)

update from HEAD

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:45 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.48.2.2: +2 -2 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored) to selected 1.53 (colored)

Sync with HEAD

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:31 2017 UTC (7 years ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync with HEAD

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:17 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.49.2.1: +2 -2 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored) to selected 1.53 (colored)

Sync with HEAD

Revision 1.54 / (download) - annotate - [select for diffs], Sat Feb 25 21:16:50 2017 UTC (7 years, 1 month ago) by joerg
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-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Switch from __ABICALLS__ to __mips_abicalls like upstream GCC does in
the generic MIPS target logic.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:21 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.49: +14 -1 lines
Diff to previous 1.49 (colored) to selected 1.53 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:55 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.48.2.1: +8 -1 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored) to selected 1.53 (colored)

Sync with HEAD

Revision 1.53 / (download) - annotate - [selected], Fri Nov 11 16:41:32 2016 UTC (7 years, 5 months ago) by maya
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, nick-nhusb-base-20161204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

switch mfc0_hazard to be superscalar nop, some mips3 are superscalar
and need this to do the right thing

Revision 1.52 / (download) - annotate - [select for diffs], Wed Nov 9 11:50:09 2016 UTC (7 years, 5 months ago) by maya
Branch: MAIN
Changes since 1.51: +8 -1 lines
Diff to previous 1.51 (colored) to selected 1.53 (colored)

Move MFC0_HAZARD definition to asm.h instead of defining it twice

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:31 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.48: +23 -8 lines
Diff to previous 1.48 (colored) to selected 1.53 (colored)

Sync with HEAD

Revision 1.51 / (download) - annotate - [select for diffs], Sat Aug 13 08:08:11 2016 UTC (7 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.50: +7 -1 lines
Diff to previous 1.50 (colored) to selected 1.53 (colored)

Move the NOP_L macro into asm.h

Revision 1.50 / (download) - annotate - [select for diffs], Sat Aug 13 07:52:52 2016 UTC (7 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) to selected 1.53 (colored)

Trailing whitespace

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jul 11 16:15:35 2016 UTC (7 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Changes since 1.48: +16 -7 lines
Diff to previous 1.48 (colored) to selected 1.53 (colored)

Change MIPS to use the common pmap code.
Switch to 8KB pages on CPUs with a R4K MMU.
Simplify cache code.
Merge in most of changes from matt-mips64 branch

Revision 1.48 / (download) - annotate - [select for diffs], Wed Sep 17 16:49:20 2014 UTC (9 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: 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
Branch point for: nick-nhusb
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) to selected 1.53 (colored)

Normal spelling is .asciz, so use that on MIPS too.

Revision 1.46.10.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:12 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) to selected 1.53 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.46.24.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:02 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored) to selected 1.53 (colored)

Rebase.

Revision 1.47 / (download) - annotate - [select for diffs], Fri May 30 11:46:48 2014 UTC (9 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-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
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) to selected 1.53 (colored)

Drop undocumented and redundant 0 argument to .ent.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Thu Nov 10 14:31:41 2011 UTC (12 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.45: +1 -7 lines
Diff to previous 1.45 (colored) next main 1.46 (colored) to selected 1.53 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Thu Nov 10 00:37:38 2011 UTC (12 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, 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, 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-pre-base2, 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, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Changes since 1.45: +1 -7 lines
Diff to previous 1.45 (colored) to selected 1.53 (colored)

Don't redefine _C_LABEL.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jul 1 06:00:20 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.44: +7 -7 lines
Diff to previous 1.44 (colored) to selected 1.53 (colored)

xxx_SUB macros should use a variant of subu, not add

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:03 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.43: +57 -59 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.53 (colored)

Sync with HEAD.

Revision 1.40.38.14 / (download) - annotate - [select for diffs], Fri Apr 29 08:26:19 2011 UTC (12 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.40.38.13: +57 -57 lines
Diff to previous 1.40.38.13 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored) to selected 1.53 (colored)

Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code.  (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:03 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.41: +60 -58 lines
Diff to previous 1.41 (colored) next main 1.42 (colored) to selected 1.53 (colored)

sync with head

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:48 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.43: +57 -59 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.53 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Sun Feb 20 07:45:47 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Changes since 1.43: +57 -59 lines
Diff to previous 1.43 (colored) to selected 1.53 (colored)

Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill StudlyCaps
Use PCU for FPU

Revision 1.40.38.13 / (download) - annotate - [select for diffs], Fri Dec 24 07:16:50 2010 UTC (13 years, 3 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231
Changes since 1.40.38.12: +2 -2 lines
Diff to previous 1.40.38.12 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

MIPS_LOCK_RAS_SIZE needs to be 256 since each RAS need 64 bytes and we can
have 4 of them.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Dec 20 21:11:25 2010 UTC (13 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.42: +10 -6 lines
Diff to previous 1.42 (colored) to selected 1.53 (colored)

Consistently use .gnu.warning with .pushsectio and .popsection on all
architectures instead of obsolete STABS frames for linker warnings.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:44:51 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) next main 1.42 (colored) to selected 1.53 (colored)

Sync with HEAD.

Revision 1.40.20.2 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:23 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40.20.1: +2 -2 lines
Diff to previous 1.40.20.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored) to selected 1.53 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jul 7 01:19:09 2010 UTC (13 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.53 (colored)

implement ucas_* for mips.

Revision 1.40.20.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:38 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40: +326 -50 lines
Diff to previous 1.40 (colored) to selected 1.53 (colored)

sync with head

Revision 1.40.38.12 / (download) - annotate - [select for diffs], Mon Feb 15 03:12:17 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-k15
Changes since 1.40.38.11: +2 -2 lines
Diff to previous 1.40.38.11 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

Fix a comment.

Revision 1.40.38.11 / (download) - annotate - [select for diffs], Sat Jan 16 20:56:33 2010 UTC (14 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.40.38.10: +5 -3 lines
Diff to previous 1.40.38.10 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

Rework the exception code.  All the exceptions (except for mips3_5900) are
now padded to 128 bytes each and placed in the right order so they can be
copied with one memcpy.  This also allows us to branch to unused space space
since the relative locations will remain the same.

When leaving the exception vectors, k1 will now always contain the address
of CURLWP for that CPU.  The rest of the exception code no longer needs (and
is not allowed to) to access CPUVAR(CURLWP).

kill outofworld and just let trap panic, if it can.  Allow for sb1_subr.S
or rmixl_subr.S in the future.  Fix TLB read/write code.

Revision 1.40.38.10 / (download) - annotate - [select for diffs], Fri Jan 15 06:46:58 2010 UTC (14 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.40.38.9: +3 -3 lines
Diff to previous 1.40.38.9 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

Get rid of most of the studly caps.
First to MULTIPROCESSOR support for pmap: move some pmap globals to cpu_info.
Define per-cpu ASID number spaces.
Remove some mips1/!mips1 difference in db_interface.c
Add mips32/64 knowledge to stacktrace.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:04 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.40: +326 -50 lines
Diff to previous 1.40 (colored) to selected 1.53 (colored)

Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.40.38.9 / (download) - annotate - [select for diffs], Mon Sep 7 21:51:25 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.40.38.8: +4 -30 lines
Diff to previous 1.40.38.8 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

Simplify PTR_ case (32 bit or 64 bit)

Revision 1.40.38.8 / (download) - annotate - [select for diffs], Sat Sep 5 03:13:51 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.40.38.7: +7 -1 lines
Diff to previous 1.40.38.7 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

Add REG_LL/REG_SC/REG_ADDU

Revision 1.40.38.7 / (download) - annotate - [select for diffs], Thu Sep 3 00:02:53 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.40.38.6: +12 -7 lines
Diff to previous 1.40.38.6 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

Don't use .set noorder/.set reorder.
instead use .set push; .set noreorder; .set pop
This will preserve noorder

Revision 1.40.38.6 / (download) - annotate - [select for diffs], Fri Aug 21 17:33:17 2009 UTC (14 years, 8 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u1-k1-k5
Changes since 1.40.38.5: +8 -7 lines
Diff to previous 1.40.38.5 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

For now use old callframe defs for O32 to reduce spurious code gen
differences make real differences easier to spot.

Revision 1.40.38.5 / (download) - annotate - [select for diffs], Thu Aug 20 07:45:40 2009 UTC (14 years, 8 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.40.38.4: +7 -3 lines
Diff to previous 1.40.38.4 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

Add XXX_WORD for INT and LONG.
Use PTR_LA in the PANIC macro.

Revision 1.40.38.4 / (download) - annotate - [select for diffs], Wed Aug 19 07:40:10 2009 UTC (14 years, 8 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.40.38.3: +13 -7 lines
Diff to previous 1.40.38.3 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

Add XXX_SCALESHIFT for all types, not just PTR
REG_PROLOGUE/REG_EPILOGUE cleanup.

Revision 1.40.38.3 / (download) - annotate - [select for diffs], Tue Aug 18 15:25:30 2009 UTC (14 years, 8 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.40.38.2: +6 -8 lines
Diff to previous 1.40.38.2 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

Fix .cpsetup use $25 instead of $t9.
kill FPST/FPLD and use FP_S/FP_L which match INT_S/PTR_S/REG_S ...

Revision 1.40.38.2 / (download) - annotate - [select for diffs], Tue Aug 18 14:44:20 2009 UTC (14 years, 8 months ago) by uebayasi
Branch: matt-nb5-mips64
Changes since 1.40.38.1: +3 -1 lines
Diff to previous 1.40.38.1 (colored) to branchpoint 1.40 (colored) to selected 1.53 (colored)

Provide FP_L / FP_S as aliases of FPLD / FPST.  Fix build.

Revision 1.40.38.1 / (download) - annotate - [select for diffs], Sun Aug 16 02:52:43 2009 UTC (14 years, 8 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.40: +327 -47 lines
Diff to previous 1.40 (colored) to selected 1.53 (colored)

Completely rework to support multiple ABIs.  Includes macros/ops to make
writing ABI independent assembly much easier.  Add macros to handle PIC
for N32/N64 as well as O32/O64.

Revision 1.39.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:18:58 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.39: +1 -1 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.53 (colored)

sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Wed Oct 17 19:55:36 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, 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-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, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend, jmcneill-pm-base, jmcneill-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, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, matt-nb5-mips64
Changes since 1.39: +1 -1 lines
Diff to previous 1.39 (colored) to selected 1.53 (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.35.16.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:27:55 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35.16.2: +3 -1 lines
Diff to previous 1.35.16.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.53 (colored)

sync with head.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Wed Jul 18 01:39:17 2007 UTC (16 years, 9 months ago) by matt
Branch: matt-mips64
Changes since 1.39: +25 -8 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.53 (colored)

Add PTR_L/PTR_S/ADDR_L/REGADD utility macros to make code portable between
o32/n32/n64.

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:00:45 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.53 (colored)

Sync with head.

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:43 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.53 (colored)

Sync with head.

Revision 1.38.14.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:08 2007 UTC (16 years, 11 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.53 (colored)

Update to HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Thu May 17 14:51:22 2007 UTC (16 years, 11 months ago) by yamt
Branch: 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, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-mips64, matt-armv6
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored) to selected 1.53 (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.38.2.1 / (download) - annotate - [select for diffs], Wed Apr 18 20:27:52 2007 UTC (17 years ago) by ad
Branch: yamt-idlelwp
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.53 (colored)

- Further adaptations to MIPS for the yamt-idlelwp branch.
- Make curlwp a register variable on MIPS.

Revision 1.35.16.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:26 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35.16.1: +4 -1 lines
Diff to previous 1.35.16.1 (colored) to branchpoint 1.35 (colored) to selected 1.53 (colored)

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:06 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.37: +4 -1 lines
Diff to previous 1.37 (colored) to selected 1.53 (colored)

Merge newlock2 to head.

Revision 1.37.18.1 / (download) - annotate - [select for diffs], Sat Jan 27 14:00:51 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.37: +4 -1 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.53 (colored)

Make mips systems work.

Revision 1.35.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:53:38 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35: +7 -1 lines
Diff to previous 1.35 (colored) to selected 1.53 (colored)

sync with head.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:29 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.36: +7 -1 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.53 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 20 22:02:40 2006 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.36: +7 -1 lines
Diff to previous 1.36 (colored) to selected 1.53 (colored)

Add a STRONG_ALIAS macro

Revision 1.36 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:09 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.35: +1 -1 lines
Diff to previous 1.35 (colored) to selected 1.53 (colored)

merge ktrace-lwp.

Revision 1.34.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:18:39 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34.2.2: +1 -1 lines
Diff to previous 1.34.2.2 (colored) next main 1.35 (colored) to selected 1.53 (colored)

Fix the sync with head I botched.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:37:18 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34.2.1: +0 -0 lines
Diff to previous 1.34.2.1 (colored) to selected 1.53 (colored)

Sync with HEAD.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:37:38 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34: +2 -6 lines
Diff to previous 1.34 (colored) to selected 1.53 (colored)

Sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Thu Aug 7 16:28:27 2003 UTC (20 years, 8 months ago) by agc
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.34: +2 -6 lines
Diff to previous 1.34 (colored) to selected 1.53 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

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

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 27 08:22:05 2003 UTC (20 years, 9 months ago) by simonb
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.33: +19 -1 lines
Diff to previous 1.33 (colored) to selected 1.53 (colored)

Add STATIC_LEAF and STATIC_XLEAF macros, ala the alpha port.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sun Jul 14 18:37:13 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.32: +2 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.53 (colored)

catch up with -current.

Revision 1.29.4.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:38:01 2002 UTC (21 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.29.4.1: +5 -7 lines
Diff to previous 1.29.4.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored) to selected 1.53 (colored)

catch up with -current on kqueue branch

Revision 1.29.8.2 / (download) - annotate - [select for diffs], Thu Jun 20 03:39:44 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.29.8.1: +5 -7 lines
Diff to previous 1.29.8.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored) to selected 1.53 (colored)

Catch up to -current.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jun 5 06:02:52 2002 UTC (21 years, 10 months ago) by simonb
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, gehenna-devsw-base, fvdl_fs64_base
Changes since 1.32: +2 -3 lines
Diff to previous 1.32 (colored) to selected 1.53 (colored)

Remove an ELF-related comment that isn't needed any more.

Revision 1.32 / (download) - annotate - [select for diffs], Mon May 13 06:11:52 2002 UTC (21 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: 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
Branch point for: gehenna-devsw
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (colored) to selected 1.53 (colored)

Oops, remove an #endif leftover from the previous change.

Revision 1.31 / (download) - annotate - [select for diffs], Mon May 13 01:39:17 2002 UTC (21 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored) to selected 1.53 (colored)

All MIPS ports have been ELF for a long time (most since they were
created); remove non-ELF assembly support.

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Mon Apr 1 07:40:56 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored) to selected 1.53 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Sat Mar 16 15:58:33 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored) to selected 1.53 (colored)

Catch up with -current.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 5 14:17:16 2002 UTC (22 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: newlock-base, newlock, eeh-devprop-base, eeh-devprop
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored) to selected 1.53 (colored)

Include <machine/cdefs.h> to select 32/64bit APIs.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Thu Jun 7 15:58:51 2001 UTC (22 years, 10 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.23.2.1: +19 -1 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored) to selected 1.53 (colored)

Pull up revision 1.25 (requested by hubertf, reviewed by thorpej):
  Implement power saving for RM5200 and RM7000 CPUs, as used in
  e.g. Cobalt RaQ2.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Fri Jan 5 17:34:42 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.22.2.1: +6 -1 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.53 (colored)

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Thu Dec 14 21:29:51 2000 UTC (23 years, 4 months ago) by jeffs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, ifpoll-base
Branch point for: nathanw_sa, kqueue
Changes since 1.28: +6 -1 lines
Diff to previous 1.28 (colored) to selected 1.53 (colored)

For MIPS software masking option, when returning to user mode apply
the mask to all interrupts to catch changes in the mask state faster.
Does not affect platforms w/o this option enabled.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:13:30 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.22: +45 -13 lines
Diff to previous 1.22 (colored) to selected 1.53 (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.28 / (download) - annotate - [select for diffs], Wed Aug 30 22:31:12 2000 UTC (23 years, 7 months ago) by jeffs
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.53 (colored)

Correct _KERN_MCOUNT restoration of $t9.
From Ethan Solomita (ethan@geocast.com).

Revision 1.27 / (download) - annotate - [select for diffs], Wed Aug 9 22:52:36 2000 UTC (23 years, 8 months ago) by jeffs
Branch: MAIN
Changes since 1.26: +4 -3 lines
Diff to previous 1.26 (colored) to selected 1.53 (colored)

Fix a bug in how .S routines call _mcount to allocate stack before
use.  By Ethan Solomita (ethan@geocast.com).

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 27 05:01:06 2000 UTC (23 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored) to selected 1.53 (colored)

add nops after jals in PANIC and PRINTF.  (these macros are often used in
code which has noreorder set, and they're not used with nops afterwards,
as is appropriate in that case, so put the nops in the macros.)

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jul 25 17:56:05 2000 UTC (23 years, 9 months ago) by jeffs
Branch: MAIN
Changes since 1.24: +19 -1 lines
Diff to previous 1.24 (colored) to selected 1.53 (colored)

Add option to apply additional mask to the SR at run-time for MIPS3 platforms.
By default this is off, and only slightly changes the code to load SR when
a temp register is available.  This can be used by the platform code to
handle slow to clear interrupts (our case) or to mask off any interrupt
any interrupt at run-time.  This can be very useful for embedded platforms
that have less than desirable interrupt properties.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue Jul 25 08:33:48 2000 UTC (23 years, 9 months ago) by kleink
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.23: +7 -1 lines
Diff to previous 1.23 (colored) to selected 1.53 (colored)

Pull up rev. 1.24 (approved by thorpej):
For ELF, add a WEAK_ALIAS() macro.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jun 23 12:18:48 2000 UTC (23 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.23: +7 -1 lines
Diff to previous 1.23 (colored) to selected 1.53 (colored)

Add a WEAK_ALIAS() macro.

Revision 1.22.10.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:01:26 2000 UTC (23 years, 10 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.22: +18 -13 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.53 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 12 23:42:10 2000 UTC (23 years, 10 months ago) by castor
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.22: +18 -13 lines
Diff to previous 1.22 (colored) to selected 1.53 (colored)

Profiling fixes from Ethan Solomita <ethan@geocast.com>.

Merge Kernel MCOUNT and user MCOUNT.

The earlier code which was inserted to call _mcount in profiling
assembler routines is busted badly.  This gets it working with PIC
code and should work with any arbitrary assembler routine.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:51:58 1999 UTC (24 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.53 (colored)

Sync w/ -current.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 24 08:10:33 1999 UTC (25 years ago) by simonb
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, minoura-xpg4dl-base, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi, minoura-xpg4dl
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored) to selected 1.53 (colored)

Nuke register and remove trailling white space.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 1 09:02:53 1999 UTC (25 years ago) by soda
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.53 (colored)

do not include <machine/regdef.h>, but include <mips/regdef.h>,
requested by Matthias Drochner and Toru Nishimura.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Mar 30 16:50:04 1999 UTC (25 years ago) by soda
Branch: MAIN
Changes since 1.19: +9 -8 lines
Diff to previous 1.19 (colored) to selected 1.53 (colored)

- add _C_LABEL() to IMPORT(), to make this consistent with EXPORT().
- fix some oversight of previous my changes on defined(USE_AENT) or
  !defined(__NO_LEADING_UNDERSCORES__) case.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Mar 30 14:26:42 1999 UTC (25 years ago) by soda
Branch: MAIN
Changes since 1.18: +15 -77 lines
Diff to previous 1.18 (colored) to selected 1.53 (colored)

- regdef.h is back, so use it.
- ALIAS() is not needed, use XLEAF() or XNESTED() instead
- use AENT() instead of .aent
- _END_LABEL() is not needed (and was wrong)
- define ALEAF(), NLEAF(), NON_LEAF(), NNON_LEAF() by
  XLEAF(), LEAF_NONPROFILE(), NESTED(), NESTED_NONPROFILE()

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 24 18:36:32 1999 UTC (25 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.17: +36 -2 lines
Diff to previous 1.17 (colored) to selected 1.53 (colored)

sync to [nisimura-pmax-wscons] version
(only change: include register definitions from regdef.h)

Revision 1.17 / (download) - annotate - [select for diffs], Tue Feb 16 05:06:26 1999 UTC (25 years, 2 months ago) by jonathan
Branch: MAIN
Changes since 1.16: +20 -1 lines
Diff to previous 1.16 (colored) to selected 1.53 (colored)

Add VECTOR() and VECTOR_END() macros for declaring exception-vector
code.  Fold in <xxx>End names used to copy exception code to vector
locations. Use in mips3 locore code.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 31 00:55:41 1999 UTC (25 years, 2 months ago) by castor
Branch: MAIN
Changes since 1.15: +21 -14 lines
Diff to previous 1.15 (colored) to selected 1.53 (colored)

Remove genpubassym.cf stuff.  The macro _MIPS_BSD_API allows selection of a
64-bit clean compilation model.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jan 14 18:45:46 1999 UTC (25 years, 3 months ago) by castor
Branch: MAIN
Changes since 1.14: +154 -71 lines
Diff to previous 1.14 (colored) to selected 1.53 (colored)

* Create mips_reg_t data type to allow register size to be
  decoupled from long or int or long long.  Define macros in asm.h to facilitate
  choosing these on a port by port basis.

* Create <machine/pubassym.h> mechanism to allow jmp_buf structure size
  to be calculated at system build time.

* Define _MIPS_BSD_SIM macro which specifies what calling style is appropritae
  for the architecture.  For 64-bit oriented systems set the Status Register
  to allow 64-bit instructions.

* Remove UADDR related macros because kernel U structure is now mapped
  normally.
* Separate cpu.h into cpu.h and cpuarch.h to keep things neat.
* Add support for QED 52xx processors

Revision 1.13.10.3 / (download) - annotate - [select for diffs], Sun Dec 6 21:02:49 1998 UTC (25 years, 4 months ago) by drochner
Branch: nisimura-pmax-wscons
Changes since 1.13.10.2: +15 -1 lines
Diff to previous 1.13.10.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.53 (colored)

pull up 1.14 - WARN_REFERENCES()

Revision 1.14 / (download) - annotate - [select for diffs], Wed Dec 2 00:58:43 1998 UTC (25 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.13: +15 -1 lines
Diff to previous 1.13 (colored) to selected 1.53 (colored)

Implement WARN_REFERENCES().

Revision 1.13.10.2 / (download) - annotate - [select for diffs], Fri Oct 30 08:33:37 1998 UTC (25 years, 5 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.13.10.1: +71 -14 lines
Diff to previous 1.13.10.1 (colored) to branchpoint 1.13 (colored) to selected 1.53 (colored)

- Make pm.c monochrome-aware and compilable with UVM.
- Make trap.c compilable with UVM.
- Place #ifdef _KERNEL guard in cpu.h
- Make asm.h more MIPS standard-alike while retaining current definitions.

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Thu Oct 15 03:25:08 1998 UTC (25 years, 6 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.13: +94 -64 lines
Diff to previous 1.13 (colored) to selected 1.53 (colored)

- cpuregs.h was modifed a bit, then renamed with cpuarch.h.
- mips_cpu.h has gone.
- CPU's register mnemonics in regdef.h is now a part of asm.h.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 20 09:47:03 1997 UTC (26 years, 9 months ago) by jonathan
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, nisimura-pmax-wscons-base, 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-bp, marc-pcmcia-base, marc-pcmcia, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Branch point for: nisimura-pmax-wscons
Changes since 1.12: +15 -8 lines
Diff to previous 1.12 (colored) to selected 1.53 (colored)

Don't emit ".set reorder ; .set noreorder" around mcount profiling
stubs if _LOCORE or _KERNEL are defined,.  _LOCORE means we're
compiling locore. Locore assumes ".set noreorder" for the whole file.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 23 06:15:28 1997 UTC (26 years, 10 months ago) by jonathan
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.53 (colored)

Align to 8-byte boundary after ASMSTR(), for mips3.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Nov 30 02:49:01 1996 UTC (27 years, 4 months ago) by jtc
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.53 (colored)

PROF -> GPROF

Revision 1.10 / (download) - annotate - [select for diffs], Sun Oct 13 03:29:05 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.53 (colored)

backout previous kprintf change

Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 11 00:22:09 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.53 (colored)

printf -> kprintf

Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 25 02:50:50 1996 UTC (28 years, 1 month ago) by jonathan
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.7: +4 -4 lines
Diff to previous 1.7 (colored) to selected 1.53 (colored)

Rename from pmax/include/machAsmDefs.h to mips/include/asm.h.
Update the include-idempotency preprocessor token to match.

References to machAsmDefs in vendor (sprite, 4.4bsd) headers left unchanged,
for historical accuracy.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 18 06:38:57 1995 UTC (29 years, 3 months ago) by mellon
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.6: +9 -3 lines
Diff to previous 1.6 (colored) to selected 1.53 (colored)

Support for alternate compilers and file formats

Revision 1.6 / (download) - annotate - [select for diffs], Thu Dec 15 15:26:26 1994 UTC (29 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +29 -19 lines
Diff to previous 1.5 (colored) to selected 1.53 (colored)

Make a new macro _C_LABEL(), which prepends an underscore to the argument unless
NO_UNDERSCORES is defined.  Use it in the *LEAF() and END() macros.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 14 23:33:46 1994 UTC (29 years, 5 months ago) by dean
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.53 (colored)

Prepended underscores

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 26 21:09:44 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) to selected 1.53 (colored)

new RCS ID format.

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 27 09:01:19 1994 UTC (29 years, 11 months ago) by glass
Branch: MAIN
CVS Tags: netbsd-pmax-base, netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.2: +0 -0 lines
Diff to previous 1.2 (colored) to selected 1.53 (colored)

bsd 4.4-lite pmax port as ported to NetBSD

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 27 08:40:41 1994 UTC (29 years, 11 months ago) by glass
Branch: MAIN
CVS Tags: bsd44-lite
Changes since 1.1: +20 -7 lines
Diff to previous 1.1 (colored) to selected 1.53 (colored)

upgrade to bsd 4.4-lite code base. only mod is rcsids

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Oct 12 03:22:43 1993 UTC (30 years, 6 months ago) by deraadt
Branch: pmax-base
CVS Tags: pre-bsd44, pmax-initial-import
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.53 (colored)

pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>

Revision 1.1 / (download) - annotate - [select for diffs], Tue Oct 12 03:22:42 1993 UTC (30 years, 6 months ago) by deraadt
Branch: MAIN
Diff to selected 1.53 (colored)

Initial revision

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>