The NetBSD Project

CVS log for src/sys/arch/news68k/news68k/locore.s

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.86 / (download) - annotate - [select for diffs], Fri Jan 19 18:18:55 2024 UTC (2 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.85: +9 -9 lines
Diff to previous 1.85 (colored)

Consistently use "intr_depth" as the name of the interrupt depth counter
on m68k platforms.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Jan 17 12:33:50 2024 UTC (2 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.84: +1 -9 lines
Diff to previous 1.84 (colored)

Make sigcode.s and sunos_sigcode.s build as their own stand-alone files.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Jan 17 12:19:06 2024 UTC (2 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.83: +1 -6 lines
Diff to previous 1.83 (colored)

Make compat_13_sigreturn13.s and compat_16_sigreturn14.s build as their
own stand-alone files and G/C the now-empty sigreturn.s.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jan 16 15:38:57 2024 UTC (2 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.82: +1 -6 lines
Diff to previous 1.82 (colored)

Build m68k/support.s on its own; don't include it from locore.s

Revision 1.82 / (download) - annotate - [select for diffs], Mon Jan 15 20:21:51 2024 UTC (2 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.81: +3 -21 lines
Diff to previous 1.81 (colored)

G/C __HAVE_LEGACY_INTRCNT from news68k.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Jan 15 19:54:53 2024 UTC (2 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.80: +1 -8 lines
Diff to previous 1.80 (colored)

No need for our own spurious interrupt handler now that m68k_intr.c
handles them for us.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Jan 15 00:35:24 2024 UTC (2 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.79: +1 -52 lines
Diff to previous 1.79 (colored)

Switch news68k over to the common interrupt dispatch code.

Revision 1.79 / (download) - annotate - [select for diffs], Sat Jan 13 23:59:47 2024 UTC (2 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.78: +4 -20 lines
Diff to previous 1.78 (colored)

Switch news68k over to the common m68k vector table.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jan 12 23:36:29 2024 UTC (2 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.77: +1 -6 lines
Diff to previous 1.77 (colored)

Make getsr() an inline in <m68k/psl.h> and G/C all of the now-redudant
copies.

Revision 1.77 / (download) - annotate - [select for diffs], Tue Jan 9 07:28:26 2024 UTC (2 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.76: +2 -4 lines
Diff to previous 1.76 (colored)

Statically-initialize the '851 / '030 protorp with MMU51_SRP_BITS.  In
pmap_init(), re-initialize protorp with MMU51_CRP_BITS.  Remove the now-
redundant code that does this in each of the m68k platforms.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jan 9 04:16:26 2024 UTC (2 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.75: +3 -18 lines
Diff to previous 1.75 (colored)

Remove duplicated / slightly-tweaked loadustp() (load user segment table)
routines from all of the m68k ports using the shared pmap.  Instead, in
pmap_init(), set up a function pointer to the appropriate mmu_load_urp*()
function in mmu_subr.s.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Dec 27 19:26:29 2023 UTC (3 months ago) by thorpej
Branch: MAIN
Changes since 1.74: +5 -8 lines
Diff to previous 1.74 (colored)

Define values for the 68030 TT registers in terms of the definitions
in <m68k/mmu_30.h> rather than using magic numbers.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Dec 27 03:03:42 2023 UTC (3 months ago) by thorpej
Branch: MAIN
Changes since 1.73: +5 -13 lines
Diff to previous 1.73 (colored)

Stop using magic numbers for the MMU root pointer attributes and the
Translation Control register, and also get rid of "#if PGSHIFT == ..."
where those magic numbers are used.

Instead, define new macros: MMU51_SRP_BITS, MMU51_CRP_BITS, MMU51_TCR_BITS,
and MMU40_TCR_BITS, in terms of the definitions in mmu_{40,51}.h.  These
automagically adapt to 8K and 4K pages based on the machine-specific value
of PGSHIFT.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Dec 26 02:38:27 2023 UTC (3 months ago) by thorpej
Branch: MAIN
Changes since 1.72: +1 -6 lines
Diff to previous 1.72 (colored)

G/C unused ploadw().

Revision 1.72 / (download) - annotate - [select for diffs], Mon Dec 25 21:32:57 2023 UTC (3 months ago) by thorpej
Branch: MAIN
Changes since 1.71: +1 -3 lines
Diff to previous 1.71 (colored)

loadustp(): Optimize for the overwhelmingly common case of "not the HP MMU".
Rather than converting the level 1 table address to a page number before
calling loadustp() only to have loadustp() convert it back to an address
for the '851, '030, '040, and '060, instead pass the address and convert
to a page number only in the case of the HP MMU.

This is a wash on HP MMU machines (9000/320 and 9000/350), and saves at
least 4 instructions (2x moveq + 2x lsXl) on every context switch on
everything else.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Oct 15 10:46:51 2023 UTC (5 months, 1 week ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.70: +2 -16 lines
Diff to previous 1.70 (colored)

Remove obsolete #if blocks.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Oct 8 17:42:58 2023 UTC (5 months, 2 weeks ago) by andvar
Branch: MAIN
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 (colored)

Revert my changes regarding removal of FPSP related blocks.

After additional discussion it is preferred to keep code consistency,
to make it easier refactor common code between m68k ports.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Oct 6 21:10:12 2023 UTC (5 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.68: +1 -2 lines
Diff to previous 1.68 (colored)

Remove fpsp include and #ifdef FPSP blocks for news68k.
FPSP is necessary for 040/060 only, and news68k doesn't have such hardware.

Noted by Izumi Tsutsui.

Revision 1.68 / (download) - annotate - [select for diffs], Mon May 30 09:56:03 2022 UTC (21 months, 4 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, 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
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

s/identifing/identifying/ and s/multipler/multiplier/ in comments.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Jan 23 15:00:33 2021 UTC (3 years, 2 months ago) by tsutsui
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.66: +1 -4 lines
Diff to previous 1.66 (colored)

Remove leftover of #undef statements.

These should have been removed in rev 1.55 back in 2010:
 https://mail-index.netbsd.org/source-changes/2010/12/20/msg016105.html
 http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/news68k/news68k/locore.s.diff?r1=1.54&r2=1.55

Revision 1.66 / (download) - annotate - [select for diffs], Wed Dec 19 13:57:49 2018 UTC (5 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Changes since 1.65: +1 -5 lines
Diff to previous 1.65 (colored)

Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Mar 15 09:24:56 2014 UTC (10 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.64: +5 -95 lines
Diff to previous 1.64 (colored)

Use common m68k/busaddrerr.s for bus error and address error handlers.

No binary changes on GENERIC, and also tested on NWS-1750.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Mar 9 16:18:00 2014 UTC (10 years ago) by tsutsui
Branch: MAIN
Changes since 1.63: +1 -6 lines
Diff to previous 1.63 (colored)

Remove unused m68k_fault_addr, which is required only on mac68k for SBC.

It looks hp300 one was copied from mac68k in rev 1.75
and then it was pasted to other ports again and again.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jan 31 18:49:35 2014 UTC (10 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

defined(LKM) -> defined(MODULAR)

Revision 1.62 / (download) - annotate - [select for diffs], Thu Dec 22 15:33:30 2011 UTC (12 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.61: +1 -26 lines
Diff to previous 1.61 (colored)

Merge m68881_save() and m68881_restore() (using most common mvme68k ones).
All functions are checked by my eyes, and all GENERIC kernels compile.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Nov 26 14:05:53 2011 UTC (12 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored)

Make sure to call pflusha before (not after) enabling MMU on
68030/68851 initialization paths.

Pointed out by isaki@ per observation of ATC status on XM6i emulator.
Tested on TT030, HP362, NWS-1750, and X68030 by me.

XXX: probably we can remove existing pflusha or TBIA calls after MMU turned
XXX: on (and before enabling cache) but I leave them as is for now to avoid
XXX: unexcpected side effects.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Nov 20 15:38:00 2011 UTC (12 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.59: +12 -4 lines
Diff to previous 1.59 (colored)

Add preliminary PROM internal function based framebuffer console support,
which was demonstrated at Open Source Conference 2011 Kansai @ Kyoto
back in July:
http://www.NetBSD.org/gallery/events.html#opensourceconf2011-Kansai

- map 0xc0000000-0xffffffff PA region (which is mirror of PA 0x0-0x3fffffff)
  to the same VA via %tt0 and %tt1 registers and move KVA space accordingly
  (like luna68k does for its devices)
- save trap #0 vector for PROM function calls in early bootstrap
  and register it to trap #14 to call it from kernel for console output
- add dumb romcall based tty attachment taken from src/sys/dev/ofw/ofcons.c
- add rom function call stubs from news68k/stand/common/romcalls.S
- remove IIOV() macro for device registers where now mapped PA==VA via %tt1

XXX: romcons is not enabled yet because there is no generic interface
XXX: to attach wskbd(4) to non wsdisplay(4) devices like this romcons.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Nov 15 10:57:03 2011 UTC (12 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: jmcneill-audiomp3-base, jmcneill-audiomp3
Changes since 1.58: +1 -9 lines
Diff to previous 1.58 (colored)

Move spread getsfc() and getdfc() functions into common m68k/support.s.

Note:
- ENTRY_NOPROFILE() is okay since they are used only for debug printf
- they are declared to return int so no need to put a return value into %a0

Revision 1.58 / (download) - annotate - [select for diffs], Thu Nov 3 14:57:43 2011 UTC (12 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2
Changes since 1.57: +11 -11 lines
Diff to previous 1.57 (colored)

Replace (???) comments to avoid false trigraph warnings by new as(1).

Revision 1.57 / (download) - annotate - [select for diffs], Thu Nov 3 14:56:39 2011 UTC (12 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.56: +1 -5 lines
Diff to previous 1.56 (colored)

unifdef __ELF__

Revision 1.56 / (download) - annotate - [select for diffs], Tue Feb 8 20:20:21 2011 UTC (13 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base, uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: yamt-pagecache
Changes since 1.55: +2 -40 lines
Diff to previous 1.55 (colored)

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.55 / (download) - annotate - [select for diffs], Mon Dec 20 00:25:40 2010 UTC (13 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.54: +7 -8 lines
Diff to previous 1.54 (colored)

Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits.  Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Jun 6 04:50:07 2010 UTC (13 years, 9 months ago) by mrg
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.53: +2 -1 lines
Diff to previous 1.53 (colored)

fix PR 6724 - convert m68k options to defflag's.  this means that
M680[12346] are now available from opt_m68k_arch.h.  FPSP meantioned
in the PR has already been fixed, and i could not find any more.

i built these kernels to ensure i did not break their builds:

amiga: GENERIC DRACO
atari: HADES FALCON MILAN-PCIIDE
mac68k: GENERIC
sun2: GENERIC
sun3: GENERIC GENERIC3X
cesfic: attempted GENERIC, does not build due to lack of machine/bus.h
hp300: GENERIC
luna68k: GENERIC
mvme68k: GENERIC
news68k: GENERIC
next68k: GENERIC
x68k: GENERIC

Revision 1.53 / (download) - annotate - [select for diffs], Thu Feb 25 07:17:49 2010 UTC (14 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

s/cpu_fork/cpu_lwp_fork/ in comment.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Dec 13 11:24:03 2009 UTC (14 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.51: +4 -5 lines
Diff to previous 1.51 (colored)

Now we have Sysseg_pa value so no need to calculate it from KVA Sysseg.
Tested on hp300.

XXX: mac68k seems to have a different VA vs PA mechanism so I leave it for now.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Dec 12 09:54:42 2009 UTC (14 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.50: +9 -1 lines
Diff to previous 1.50 (colored)

Allow NetBSD/news68k kernel work with PGSHIFT==13, i.e. 8KB/page.
Tested on NWS-1750 with 68030.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Dec 11 18:28:35 2009 UTC (14 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.49: +2 -4 lines
Diff to previous 1.49 (colored)

Move uvm_setpagesize() calls from locore.s to pmap_bootstrap_finalize().
Also explicitly set uvmexp.pagesize to prepare 8KB/page settings.

XXX: There is #ifdef !defined(amiga) && !defined(atari) workaround
XXX: because they have different pmap initialization functions.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Dec 2 15:54:19 2009 UTC (14 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.48: +7 -7 lines
Diff to previous 1.48 (colored)

Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Tested on NWS-1750.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:19 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.47: +5 -10 lines
Diff to previous 1.47 (colored)

Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Dec 21 17:43:32 2008 UTC (15 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend
Changes since 1.46: +15 -16 lines
Diff to previous 1.46 (colored)

Tweak some comments and labels to sync with hp300.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Dec 10 14:19:02 2008 UTC (15 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.45: +15 -1 lines
Diff to previous 1.45 (colored)

Account idepth in functions in locore.s that are registered in the
interrupt vector table so that we don't have to track all interrupt paths.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:03 2007 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, 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, 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-devfs-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, 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, nick-hppapmap, mjf-devfs2, haad-dm
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (colored)

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Oct 17 19:55:53 2007 UTC (16 years, 5 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.43: +1 -1 lines
Diff to previous 1.43 (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.43 / (download) - annotate - [select for diffs], Tue Jun 12 03:37:22 2007 UTC (16 years, 9 months ago) by mhitch
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, matt-mips64, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6, jmcneill-pm
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (colored)

Pass a frame pointer to trap() rather than the 'entire frame' trick.  Gcc4
was optimizing away modifications to the frame contents (it's not nice to
trick gcc).  Pass the pointer as the first argument to reduce the number
of places that would be changed otherwise.  Fixes the getcwd regression
test on most m68k ports.

Revision 1.42 / (download) - annotate - [select for diffs], Fri May 18 10:13:25 2007 UTC (16 years, 10 months ago) by tsutsui
Branch: MAIN
Changes since 1.41: +3 -10 lines
Diff to previous 1.41 (colored)

Adapt news68k to yamt-idlelwp. Tested on NWS-1750.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Feb 10 02:03:51 2007 UTC (17 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Implement generic softintr(9) support for news68k.
Mostly taken from mvme68k.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:23 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, 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: wrstuden-fixsa, netbsd-4
Changes since 1.39: +1 -1 lines
Diff to previous 1.39 (colored)

merge ktrace-lwp.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Feb 27 07:59:18 2005 UTC (19 years, 1 month ago) by tsutsui
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, 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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Disable temporary %tt0 register mapping (for yamt-km branch).

Revision 1.38 / (download) - annotate - [select for diffs], Sun Feb 27 07:57:29 2005 UTC (19 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored)

- Rename ctrl_led in locore.s to ctrl_led_phys since it has
  PA of CTRL_LED port.
- Restore ctrl_led in machdep.c and store VA of CTRL_LED port to it.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Dec 15 17:30:46 2004 UTC (19 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.36: +23 -6 lines
Diff to previous 1.36 (colored)

- Use macro for CTRL_POWER port
- Store machine dependent CTRL_LED address in ctrl_led
- Fix LED debug functions to use stored MD values

Actually I only used these debug routines at the very early porting stage
before I got working kernel printf. Heh.

XXX: news1200 has not been tested for many years.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Dec 15 14:03:52 2004 UTC (19 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Backout previous because:
- we should fix genassym.sh to generate proper unsigned values rather than
  remove use of such values in each source
- 0xe0dc0000 is port to control LED so INTIOBASE1700_OFF is not proper name
- these LED debug code didn't work on news1200 and it should be fixed anyway

Revision 1.35 / (download) - annotate - [select for diffs], Wed Dec 15 04:56:13 2004 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Convert expression for (0xe0dc0000-INTIOBASE1700) directly within a cpp
macro as otherwise gas gets handed an X - -Y expression and w 2.15 it won't
treat that as a valid expression

Revision 1.34 / (download) - annotate - [select for diffs], Thu Mar 4 19:53:45 2004 UTC (20 years ago) by nathanw
Branch: MAIN
CVS Tags: 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, kent-audio1-base, kent-audio1
Changes since 1.33: +1 -15 lines
Diff to previous 1.33 (colored)

Centralize identical copies of proc_trampoline code.

(lots more opportunites here for the bored hacker, such as rei and trap0...)

Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 7 16:28:51 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.32: +36 -2 lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:33 2003 UTC (20 years, 9 months ago) by martin
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Apr 27 10:42:51 2003 UTC (20 years, 11 months ago) by ragge
Branch: MAIN
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored)

Preserve the symbol table in the LKM || KSYMS cases also.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Apr 8 22:57:57 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jan 18 12:29:02 2003 UTC (21 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.28: +9 -9 lines
Diff to previous 1.28 (colored)

TAB/space cleanup.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jan 18 06:05:42 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +14 -235 lines
Diff to previous 1.27 (colored)

Merge the nathanw_sa branch.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Nov 2 20:03:07 2002 UTC (21 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.26: +2 -133 lines
Diff to previous 1.26 (colored)

finish conversion to the common m68k cacheops:
add support for machine-specific flavors of the ops for off-chip caches.
many thanks to Izumi Tsutsui for his help with this.

Revision 1.26 / (download) - annotate - [select for diffs], Thu May 30 21:49:20 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.25: +12 -1 lines
Diff to previous 1.25 (colored)

Make this work with an ISO C preprocessor.

Revision 1.25 / (download) - annotate - [select for diffs], Tue May 14 02:03:02 2002 UTC (21 years, 10 months ago) by matt
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.24: +1 -3 lines
Diff to previous 1.24 (colored)

Eliminate commons (including many used ones).  Clean up variable references.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jul 22 13:34:06 2001 UTC (22 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

seperate -> separate

Revision 1.23 / (download) - annotate - [select for diffs], Wed May 30 15:24:35 2001 UTC (22 years, 10 months ago) by lukem
Branch: MAIN
Branch point for: kqueue
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

add missing   #include "opt_kgdb.h"

Revision 1.22 / (download) - annotate - [select for diffs], Sat May 12 01:11:49 2001 UTC (22 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.21: +9 -1 lines
Diff to previous 1.21 (colored)

Update to reflect that unlike in m68k a.out environments, where the .align
directive is given a log2 argument, .align is given a linear argument in
m68k ELF environments.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Apr 21 11:54:25 2001 UTC (22 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Fix a leftover comment.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 4 16:24:39 2001 UTC (23 years ago) by tsutsui
Branch: MAIN
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored)

Fix intrnames and intrcnt since there is no statclock on news68k.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Mar 4 16:21:05 2001 UTC (23 years ago) by tsutsui
Branch: MAIN
Changes since 1.18: +1 -12 lines
Diff to previous 1.18 (colored)

Remove unused getsp().

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 25 14:33:32 2001 UTC (23 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored)

Add drivers for keyboard and mouse.
(but no working framebuffer yet..)

Revision 1.17 / (download) - annotate - [select for diffs], Sun Dec 24 07:13:36 2000 UTC (23 years, 3 months ago) by jhawk
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Spell "physical" correctly in comment.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Nov 26 11:47:26 2000 UTC (23 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.15: +7 -1 lines
Diff to previous 1.15 (colored)

split m68k SunOS and SVR4-specific sigcode.s code to sunos_sigcode.s
and svr4_sigcode.s respectively
adjust individual m68k port's locore.s to include new sigcode files if
appropriate

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 21 13:54:15 2000 UTC (23 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.14: +11 -11 lines
Diff to previous 1.14 (colored)

Define proper macros for FP frame offsets rather than magic numbers.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Nov 18 20:46:28 2000 UTC (23 years, 4 months ago) by tsutsui
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

Clear %fp to terminate backtrace on gdb.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 9 14:17:20 2000 UTC (23 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.12: +40 -17 lines
Diff to previous 1.12 (colored)

Make it possible to enable/disable DC_BE and IC_BE bits in %cacr at runtime
and enable them on news1200/1400/1500 (which have no L2cache).

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 14 16:23:33 2000 UTC (23 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)

Clarify some intrnames.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Oct 14 07:19:24 2000 UTC (23 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Re-enable tt0 register temporary to map I/O space.
(for framebuffer support)

Revision 1.10 / (download) - annotate - [select for diffs], Fri Sep 15 17:15:06 2000 UTC (23 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.9: +10 -1 lines
Diff to previous 1.9 (colored)

Add uvm_pageidlezero support. From x68k.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Aug 20 21:50:10 2000 UTC (23 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +34 -2 lines
Diff to previous 1.8 (colored)

Add a lock around the scheduler, and use it as necessary, including
in the non-MULTIPROCESSOR case (LOCKDEBUG requires it).  Scheduler
lock is held upon entry to mi_switch() and cpu_switch(), and
cpu_switch() releases the lock before returning.

Largely from Bill Sommerfeld, with some minor bug fixes and
machine-dependent code hacking from me.

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 31 05:06:53 2000 UTC (23 years, 10 months ago) by thorpej
Branch: 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
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Add a comment on single-processor systems about p_cpu being initialized
by fork1().

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 26 21:20:01 2000 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored)

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

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

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

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

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

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

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 26 00:36:48 2000 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +8 -7 lines
Diff to previous 1.5 (colored)

Introduce a new process state distinct from SRUN called SONPROC
which indicates that the process is actually running on a
processor.  Test against SONPROC as appropriate rather than
combinations of SRUN and curproc.  Update all context switch code
to properly set SONPROC when the process becomes the current
process on the CPU.

Revision 1.5 / (download) - annotate - [select for diffs], Sun May 14 14:13:54 2000 UTC (23 years, 10 months ago) by minoura
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

defopt FPSP.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Apr 7 12:09:30 2000 UTC (23 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.3: +2 -6 lines
Diff to previous 1.3 (colored)

Use proper virtual address for some devices.
The transparent translation register is no longer required.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 10 19:06:43 2000 UTC (24 years ago) by tsutsui
Branch: MAIN
Changes since 1.2: +34 -23 lines
Diff to previous 1.2 (colored)

Use CTRL_AST interrupt to handle asynchronous trap.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 8 16:17:33 2000 UTC (24 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.1: +75 -22 lines
Diff to previous 1.1 (colored)

Add news1200 support.
Based on a patch from Koichi NISHIWAKI <k-nis@ba2.so-net.ne.jp>

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 9 14:53:17 1999 UTC (24 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Branch point for: wrstuden-devbsize

Initial import of news68k port.

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>