Home | History | Annotate | Download | only in include
History log of /src/sys/arch/m68k/include/cpu.h
RevisionDateAuthorComments
 1.25  28-Feb-2024  thorpej Fix up the mac68k interrupt handlers to work with the new style common
clockframe layout and remove the CLOCK_FORMAT0 work-around. As a nice
side-effect, this also eliminates the super-sketchy stack unwinding used
by rtclock_intr to get at the interrupt stack frame.
 1.24  27-Feb-2024  nat Use proper clockframe size for those platforms that require it.

XXX This is a tempory measure, better to fix clock interrupts to take the
common clockframe size.

OK thorpej@.
 1.23  20-Jan-2024  thorpej What good are comments, really, if you can't have a little color? Add
a note above CLKF_INTR() about why NetBSD will likely never switch to
using the "master" stack for the kernel, and thus why the not-enabled
version of CLKF_INTR() will never be enabled.

(Adding the comment here, rather than just deleting the code, has value,
I think, for future retrocomputing archeologists.)
 1.22  20-Jan-2024  thorpej Largely unify the <machine/cpu.h> headers on the m68k platforms.
 1.21  18-Jan-2024  thorpej Remove a comment that is no longer applicable.
 1.20  18-Jan-2024  thorpej Make the M68K_MMU_* defines real kernel options, available in opt_m68k_arch.h.
For 68030, 68040, and 68060, infer M68K_MMU_MOTOROLA. For 68010 and 68020, it
must be an explicit option (set in std.${MACHINE} or, in the case of hp300,
inferred from the specific model option).
 1.19  03-Jan-2024  thorpej G/C some bit defs that are redundant with mmu_{51,40}.h
 1.18  27-Dec-2023  thorpej Re-factor the 680x0 Function Code definitions into their own
separate file (as was done on the sun2/sun3 ports ages ago)
and switch everyone to the common header.
 1.17  01-Dec-2019  ad Fix false sharing problems with cpu_info. Identified with tprof(8).
This was a very nice win in my tests on a 48 CPU box.

- Reorganise cpu_data slightly according to usage.
- Put cpu_onproc into struct cpu_info alongside ci_curlwp (now is ci_onproc).
- On x86, put some items in their own cache lines according to usage, like
the IPI bitmask and ci_want_resched.
 1.16  22-Aug-2018  msaitoh - Cleanup for dynamic sysctl:
- Remove unused *_NAMES macros for sysctl.
- Remove unused *_MAXID for sysctls.
- Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and
use them on all m68k machines.
 1.15  19-Sep-2011  rkujawa branches: 1.15.52; 1.15.54;
Move CACHELINE_* from bus_dma.c to cpu.h (needed for PCI configuration on amiga port).
 1.14  08-Feb-2011  rmind 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@.
 1.13  01-Jan-2011  he branches: 1.13.2; 1.13.4;
Protect the include of <sys/cpu_data.h> with a test for either _KERNEL
or _KMEMUSER. This should fix the build problem in libkvm for our m68k
ports.
 1.12  22-Dec-2010  matt Collect cpu_info and friends and move to m68k/include/cpu.h
Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first
member in struct cpu_info.
 1.11  11-Dec-2005  christos branches: 1.11.100;
merge ktrace-lwp.
 1.10  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.9  19-Jan-2003  thorpej branches: 1.9.2;
Merge the nathanw_sa branch.
 1.8  29-Sep-2002  wiz "definitions" has lots of 'i's, but that's not reason to leave one out.
 1.7  14-Jun-2001  thorpej branches: 1.7.2; 1.7.8;
Don't need to prototype child_return() here, it's in <sys/proc.h>.
 1.6  19-Dec-2000  scw branches: 1.6.2;
Unification of the m68k syscall() function.
 1.5  21-Oct-1997  gwr branches: 1.5.14;
Move the (boiled down) interface declarations into m68k.h
Too late for the release, unfortunately...
 1.4  09-Apr-1997  thorpej Prototype regdump().
 1.3  02-Feb-1997  thorpej prototype mappedcopy{in,out}(), {copy,zero}page().
 1.2  12-Sep-1996  thorpej Add an FPU_UNKNOWN constant; just a placeholder for any unknown FPU.
 1.1  11-Sep-1996  thorpej Factor out common Motorola 68k CPU definitions from the m68k port
cpu.h header files.

Some more work could be done here, but it's a good start.
 1.5.14.1  05-Jan-2001  bouyer Sync with HEAD
 1.6.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.7.8.3  18-Oct-2002  nathanw Catch up to -current.
 1.7.8.2  17-Nov-2001  scw Re-sync with current MI SA code.
 1.7.8.1  14-Jun-2001  scw file cpu.h was added on branch nathanw_sa on 2001-11-17 18:18:23 +0000
 1.7.2.1  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.9.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.9.2.1  03-Aug-2004  skrll Sync with HEAD
 1.11.100.1  05-Mar-2011  rmind sync with head
 1.13.4.1  17-Feb-2011  bouyer Sync with HEAD
 1.13.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.15.54.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.15.54.1  10-Jun-2019  christos Sync with HEAD
 1.15.52.1  06-Sep-2018  pgoyette Sync with HEAD

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

RSS XML Feed