The NetBSD Project

CVS log for src/sys/arch/atari/atari/atari_init.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.113 / (download) - annotate - [select for diffs], Sat Feb 10 18:43:51 2024 UTC (2 weeks, 2 days ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored)

Fix various typos in comments, log messages and documentation.

Revision 1.112 / (download) - annotate - [select for diffs], Sat Jan 20 00:15:30 2024 UTC (5 weeks, 3 days ago) by thorpej
Branch: MAIN
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored)

Largely unify the <machine/cpu.h> headers on the m68k platforms.

Revision 1.111 / (download) - annotate - [select for diffs], Mon Jan 15 03:14:31 2024 UTC (6 weeks, 1 day ago) by thorpej
Branch: MAIN
Changes since 1.110: +7 -5 lines
Diff to previous 1.110 (colored)

Guard references to protorp with M68030.

Revision 1.110 / (download) - annotate - [select for diffs], Tue Jan 9 07:28:25 2024 UTC (7 weeks ago) by thorpej
Branch: MAIN
Changes since 1.109: +2 -4 lines
Diff to previous 1.109 (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.109 / (download) - annotate - [select for diffs], Wed Dec 27 03:03:40 2023 UTC (2 months ago) by thorpej
Branch: MAIN
Changes since 1.108: +5 -5 lines
Diff to previous 1.108 (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.108 / (download) - annotate - [select for diffs], Thu Dec 7 16:56:09 2023 UTC (2 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.107: +4 -4 lines
Diff to previous 1.107 (colored)

extent(9) -> vmem(9)

Revision 1.107 / (download) - annotate - [select for diffs], Fri Jan 6 10:28:27 2023 UTC (13 months, 3 weeks ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.106: +20 -20 lines
Diff to previous 1.106 (colored)

TAB/spaces/indents cleanup.

Revision 1.101.8.1 / (download) - annotate - [select for diffs], Sun Sep 11 18:14:55 2022 UTC (17 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.101: +30 -10 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1519):

	sys/arch/atari/conf/GENERIC.in: revision 1.123
	sys/arch/atari/conf/files.atari: revision 1.124
	sys/arch/atari/atari/atari_init.c: revision 1.105

Allocalte enough reserved ST-RAM to make the old Xserver work by default.

Instead, check ST-RAM size and TT-RAM size on startup and restrict
size of reserved ST memory on lower RAM machines.

Closes PR port-atari/41002 from David Ross.

While here, make options ST_POOL_SIZE defparam'ed to make sure to
reflect config(5) changes on each build.

Revision 1.106 / (download) - annotate - [select for diffs], Sun Jul 3 16:03:08 2022 UTC (19 months, 3 weeks ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-10-base, 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.105: +8 -35 lines
Diff to previous 1.105 (colored)

Move the iomem extent stuff managed by bus_space(9) and make them static.

Inspired by MD bus_space(9) implemantation of arc.
Briefly tested on TT030.

Revision 1.105 / (download) - annotate - [select for diffs], Sat Jun 25 13:17:04 2022 UTC (20 months ago) by tsutsui
Branch: MAIN
Changes since 1.104: +30 -10 lines
Diff to previous 1.104 (colored)

Allocalte enough reserved ST-RAM to make the old Xserver work by default.

Instead, check ST-RAM size and TT-RAM size on startup and restrict
size of reserved ST memory on lower RAM machines.
Closes PR port-atari/41002 from David Ross.

While here, make options ST_POOL_SIZE defparam'ed to make sure to
reflect config(5) changes on each build.

Revision 1.104 / (download) - annotate - [select for diffs], Tue May 24 06:28:00 2022 UTC (21 months ago) by andvar
Branch: MAIN
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored)

fix various typos in comments, docs and log messages.

Revision 1.103 / (download) - annotate - [select for diffs], Sun Dec 12 13:05:13 2021 UTC (2 years, 2 months ago) by andvar
Branch: MAIN
Changes since 1.102: +4 -4 lines
Diff to previous 1.102 (colored)

fix various typos, mainly in comments.

Revision 1.102 / (download) - annotate - [select for diffs], Tue Aug 17 22:00:27 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.

Revision 1.100.32.1 / (download) - annotate - [select for diffs], Tue Mar 13 13:41:13 2018 UTC (5 years, 11 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.100: +231 -14 lines
Diff to previous 1.100 (colored) next main 1.101 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #624):
	sys/arch/atari/stand/xxboot/sdboot/milan/Makefile: revision 1.4
	sys/arch/atari/dev/nvram.c: revision 1.21
	sys/arch/atari/conf/MILAN.in: revision 1.28
	sys/arch/atari/atari/pmap_bootstrap.c: revision 1.9
	sys/dev/isa/fd.c: revision 1.111
	sys/arch/atari/atari/bus.c: revision 1.60
	sys/arch/atari/stand/xxboot/ahdi-xxboot/milan/Makefile: revision 1.4
	sys/arch/atari/atari/locore.s: revision 1.111
	sys/arch/atari/isa/isa_machdep.c: revision 1.41
	distrib/sets/lists/base/md.atari: revision 1.55
	sys/arch/atari/pci/pci_machdep.c: revision 1.55
	sys/arch/atari/pci/pci_machdep.c: revision 1.56
	sys/arch/atari/include/vmparam.h: revision 1.32
	sys/arch/atari/isa/isa_milan.c: revision 1.15
	sys/arch/atari/isa/isa_milan.c: revision 1.16
	sys/arch/atari/atari/bus.c: revision 1.59
	sys/arch/atari/atari/atari_init.c: revision 1.101
	sys/arch/atari/pci/pci_milan.c: revision 1.15
Fix I/O access failures for regions allocated by bus_space_map(9) on Milan.

Passing to PMAP_WIRED against I/O spaces seems problematic,
probably after yamt-km branch merge, which was committed
between NetBSD 3.0 and NetBSD 4.0.
(i.e. ISA and PCI devices on Milan didn't work after 4.0 release)

XXX:
According to pmap(9) man page, the "flags" arg for pmap_enter(9)
doesn't take VM_PROT_READ and VM_PROT_WRITE, but pmap_enter()
implementation in sys/arch/m68k/m68k/pmap_motolora.c historically
checks them.

Fix silent hang during config_console() (before consinit()) on Milan.
config_console() was a dirty hack used by ancient m68k ports
to probe and initialize console devices before "real" configure(9),
using subset of configure(9) functions.

In that case, most device specific data (except I/O access method)
are not initialized so we must not access device specific device_t and
softc structures in config_console() cases.

Fix silent hang after isa_intr_establish() on Milan.
The problems (wrong macro replacements) were slipped in rev 1.107:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/atari/atari/locore.s#rev1.107
Handle yet another atari specific quirk in the MI ISA fdc(4)/fd(4) driver.
This makes fd(4) drive(s) (which is necessary for installation)
properly attached on Milan.
atari uses "fdcisa" and "fdisa" for ISA fdc to co-exist other fd(4)
drivers, on-board (atari/dev/fd.c) one and Hades (atari/dev/hdfd.c) one.

Use a proper PSL value to be passed to splx(9) functions.
This should have been changed on yamt-splraiseipl branch merge
back in 2006, which made MI IPL_xxx values independent from
m68k MD PSL values for the %sr register.

Restore piixide(4) for Milan and disable other pciide devices.
piixide was removed in rev 1.18 and the log message said
"because Intel IDE disk controllers only exist as part of
 Intel chipsets for x86 systems" but the Milan actually has
the Intel 82371FB southbridge on its board.
Other pciide devices are unlikely necessary for the default
kernel for such a rare machine.
Also fix pasto in comment.

Skip NVRAM checksum check and re-initialization on Milan.
Milan's firmware seems to use different check method.

Ack EOI for IRQ_SLAVE of the master PIC after ack for IRQ of the slave PIC.
I'm not sure if there are possible races in the original code, but
this is what i8259_asm_ack2() in sys/arch/x86/include/i8259.h does
and it looks this change makes a Milan kernel a bit stable.
Replace CRTC register values with ones taken from sys/dev/ic/vga_subr.c.
This fixes noise around column 3 and 4 and makes screen output clearer
on Milan with S3 Trio64V.

Explicitly setup the secondary IDE interrupt of PIIX on Milan.
The secondary IDE interrupt is connected to MBIRQ0 on PIIX, but
the Milan's ROM bootloader (at least version 0.99.7) doesn't seem
to setup the MBIRQ0 register to route it to IRQ15.

On Milan, also explicitly disable MBIRQ1 on PIIX.
Milan's ROM bootloader v1.2 and v1.4 incorrectly set MBIRQ0 connected
to the secondary IDE to IRQ14 (not 15) and unused MBIRQ1 to IRQ15,
so both IDE channels don't work properly.

Add dumb memory probe routines for Milan to use all available memory.
Tested on Milan with 32Mx1, 32Mx4, 128MBx1, and 128MBx3.
(bootloader ROM fails to load TOS with 128MBx4)
No particular comment on port-atari@:
 http://mail-index.netbsd.org/port-atari/2018/02/09/msg000580.html

Provide wdboot as a copy of sdboot for Milan.
It looks Milan's bootloader ROM emulates IDE disks as SCSI disks
so sdboot works for them, but atari's installboot checks a specified
device name and requires wdboot for wd(4) devices.

Fix another possible out of bounds.

Replace bus_dmamap_sync(9) op with a newer one taken from m68k/bus_dma.c.
This could fix memory corruption issue caused by PREREAD ops with regions
whose boundaries are not aligned at cacheline size.

Revision 1.101 / (download) - annotate - [select for diffs], Mon Feb 26 15:11:12 2018 UTC (6 years 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-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, 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: netbsd-9
Changes since 1.100: +231 -14 lines
Diff to previous 1.100 (colored)

Add dumb memory probe routines for Milan to use all available memory.

Tested on Milan with 32Mx1, 32Mx4, 128MBx1, and 128MBx3.
(bootloader ROM fails to load TOS with 128MBx4)

No particular comment on port-atari@:
 http://mail-index.netbsd.org/port-atari/2018/02/09/msg000580.html

Revision 1.95.8.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:11 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.95.8.1: +9 -2 lines
Diff to previous 1.95.8.1 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)

sync with head

Revision 1.100 / (download) - annotate - [select for diffs], Fri Aug 10 17:43:32 2012 UTC (11 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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-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, khorben-n900, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: netbsd-8
Changes since 1.99: +9 -2 lines
Diff to previous 1.99 (colored)

Appease gcc -fno-common:
 - remove physmem from machdep.c since it's initialized in atari_init.c
 - declare I/O address space variables properly
Compile test only.  (currenty my TT030 is busy on pkgsrc builds)

Revision 1.95.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:08 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.95: +11 -3 lines
Diff to previous 1.95 (colored)

sync with head

Revision 1.98.2.1 / (download) - annotate - [select for diffs], Mon Feb 27 20:17:19 2012 UTC (12 years ago) by riz
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.98: +3 -2 lines
Diff to previous 1.98 (colored) next main 1.99 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #55):
	sys/arch/x68k/x68k/pmap_bootstrap.c: revision 1.59
	sys/arch/atari/atari/atari_init.c: revision 1.99
Use actual physmem size for allocation of bootstrap extra PT pages
to avoid wasting pages on low memory machines.
Improves atari specific part of PR/45915, tested on TT030.
Reserve more bootstrap kernel PT pages if options EXTENDED_MEMORY is defined
for VA allocation in the extended memory probe function and possible 128MB
memory on 060turbo, as worksaround for x68k specific part of PR/45915.
Fixes GENERIC kernel panic on X68030 even without extended memory.
XXX: we should rather have proper probe function before pmap_bootstrap()
Tested on 060turbo with 128MB SIMM by Y.Sugahara, and also
tested on XM6i with 68030 and custom 128MB memory settings by isaki@.
Should be pulled up to netbsd-6.

Revision 1.96.2.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:27 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.96.2.1: +3 -2 lines
Diff to previous 1.96.2.1 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)

sync to -current.

Revision 1.99 / (download) - annotate - [select for diffs], Tue Feb 21 12:09:50 2012 UTC (12 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10
Changes since 1.98: +3 -2 lines
Diff to previous 1.98 (colored)

Use actual physmem size for allocation of bootstrap extra PT pages
to avoid wasting pages on low memory machines.
Improves atari specific part of PR/45915, tested on TT030.

Revision 1.96.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:31:35 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.96: +9 -3 lines
Diff to previous 1.96 (colored)

merge to -current.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Feb 10 04:49:44 2012 UTC (12 years ago) by mhitch
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.97: +8 -2 lines
Diff to previous 1.97 (colored)

The recent kmem changes allocate a large kernel address space before
pmap_init() is called, and the initial kernel PT pages aren't enough
for the allocations pmap_init().  This fails because pmap_kenter_pa()
tries to allocate a new kernel PT page and traps because the pmap has
not been initialized.  When computing the number if initial kernel PT
pages, include enough to allow kmem to map the physical memory.  This
should fix PR/45915.  OK by releng@.  One mac68k system has been verified
to boot.  Volunteers to test the others welcome.  Amigas with at least
up to 128MB of memory were OK, but larger memory will need some adjusting.

Revision 1.97 / (download) - annotate - [select for diffs], Fri Jan 27 18:52:52 2012 UTC (12 years, 1 month ago) by para
Branch: MAIN
Changes since 1.96: +3 -3 lines
Diff to previous 1.96 (colored)

converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged

Revision 1.96 / (download) - annotate - [select for diffs], Sat Nov 26 14:05:52 2011 UTC (12 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.95: +3 -2 lines
Diff to previous 1.95 (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.92.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:40 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.92.4.2: +5 -5 lines
Diff to previous 1.92.4.2 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored)

sync with head

Revision 1.95 / (download) - annotate - [select for diffs], Sun Jan 2 18:48:05 2011 UTC (13 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.94: +5 -5 lines
Diff to previous 1.94 (colored)

Tidy up common comments.  (Yes, too many dup code...)

Revision 1.92.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:44:06 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.92.2.1: +1 -0 lines
Diff to previous 1.92.2.1 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored)

Sync with HEAD.

Revision 1.67.44.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:51:43 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.67.44.4: +5 -4 lines
Diff to previous 1.67.44.4 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

sync with head.

Revision 1.92.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:15 2010 UTC (13 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.92.4.1: +3 -2 lines
Diff to previous 1.92.4.1 (colored) to branchpoint 1.92 (colored)

sync with head

Revision 1.94 / (download) - annotate - [select for diffs], Sun Jun 6 04:50:06 2010 UTC (13 years, 8 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, matt-mips64-premerge-20101231
Changes since 1.93: +3 -2 lines
Diff to previous 1.93 (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.92.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:16:38 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.92: +4 -4 lines
Diff to previous 1.92 (colored)

sync with head

Revision 1.92.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:09 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.92: +4 -4 lines
Diff to previous 1.92 (colored)

Sync with HEAD.

Revision 1.93 / (download) - annotate - [select for diffs], Tue Apr 13 11:22:22 2010 UTC (13 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.92: +4 -4 lines
Diff to previous 1.92 (colored)

Misc KNF.

Revision 1.67.44.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:08 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.67.44.3: +16 -32 lines
Diff to previous 1.67.44.3 (colored) to branchpoint 1.67 (colored)

sync with head

Revision 1.92 / (download) - annotate - [select for diffs], Fri Dec 11 22:23:08 2009 UTC (14 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.91: +9 -9 lines
Diff to previous 1.91 (colored)

Use appropriate macro during pmap initialization:
- use SYSMAP_VA, SEGSHIFT for Sysmap address and table entries
- use TIA_SIZE, TIB_SIZE for sizes of table entries

Now page size dependent numbers are almost replaced with proper macro.

Tested on atari, hp300, and news68k.

Revision 1.91 / (download) - annotate - [select for diffs], Sun Dec 6 06:41:29 2009 UTC (14 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.90: +3 -7 lines
Diff to previous 1.90 (colored)

Move initialization of protection_codes[] and kernel_pmap()
from MD pmap bootstrap sources to common pmap_bootstrap_finalize().

Tested on atari, hp300, mac68k, and news68k.

XXX: Why is protection_codes[] array initialized at run time?

Revision 1.90 / (download) - annotate - [select for diffs], Sun Dec 6 00:33:59 2009 UTC (14 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

pm_stfree in struct pmap is a bitmap value so make it unsigned.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Dec 2 15:53:34 2009 UTC (14 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.88: +5 -11 lines
Diff to previous 1.88 (colored)

Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Tested on TT030.

Revision 1.88 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:05 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.87: +9 -9 lines
Diff to previous 1.87 (colored)

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:13 2009 UTC (14 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.86: +7 -13 lines
Diff to previous 1.86 (colored)

Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.67.44.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:36 2009 UTC (14 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.67.44.2: +19 -15 lines
Diff to previous 1.67.44.2 (colored) to branchpoint 1.67 (colored)

sync with head

Revision 1.86 / (download) - annotate - [select for diffs], Sun Aug 23 01:27:13 2009 UTC (14 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.85: +5 -5 lines
Diff to previous 1.85 (colored)

fix atari builds in two ways:
- isa_detach_hook() was missing a parameter name (hi dyoung!)
- PCI_CONF_SIZE -> PCI_CONFIG_SIZE; pcivar.h has a PCI_CONF_SIZE now (hi jak!)

Revision 1.85 / (download) - annotate - [select for diffs], Sat Aug 22 18:26:42 2009 UTC (14 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.84: +15 -12 lines
Diff to previous 1.84 (colored)

wrap long lines, fix indent.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Aug 19 19:39:05 2009 UTC (14 years, 6 months ago) by he
Branch: MAIN
Changes since 1.83: +3 -2 lines
Diff to previous 1.83 (colored)

One more file needing <sys/exec_aout.h>.

Revision 1.67.44.2 / (download) - annotate - [select for diffs], Sat Jul 18 14:52:52 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.67.44.1: +21 -14 lines
Diff to previous 1.67.44.1 (colored) to branchpoint 1.67 (colored)

sync with head.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Jul 8 12:23:09 2009 UTC (14 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

Merge local <atari/atari/intr.h> into common <machine/intr.h>.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Jul 7 15:37:02 2009 UTC (14 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.81: +8 -2 lines
Diff to previous 1.81 (colored)

Explicitly initialize the MFP Timer-B for delay(9) from atari_hwinit()
rather than using if(!atari_realconfig) in clockmatch().
(I doubt the latter one has actually been called..)

Revision 1.81 / (download) - annotate - [select for diffs], Mon Jul 6 12:55:24 2009 UTC (14 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Fix a botch in RELOC_PA() macro introduced in rev 1.80
inside #if defind(M68040) || defined(68060)/#endif block.
Noticed by he@.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Jul 1 13:44:32 2009 UTC (14 years, 8 months ago) by tsutsui
Branch: MAIN
Changes since 1.79: +14 -13 lines
Diff to previous 1.79 (colored)

Define and use macro to calculate kernel physical addresses
after relocation to TT RAM. No binary changes.

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:16:21 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.73: +76 -81 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

Sync with HEAD.

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

Revision 1.67.44.1 / (download) - annotate - [select for diffs], Mon May 4 08:10:46 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.67: +270 -221 lines
Diff to previous 1.67 (colored)

sync with head.

Revision 1.67.52.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:33:46 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.67.52.1: +76 -81 lines
Diff to previous 1.67.52.1 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

Sync with HEAD.

Revision 1.67.54.4 / (download) - annotate - [select for diffs], Thu Mar 26 17:28:47 2009 UTC (14 years, 11 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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
Changes since 1.67.54.3: +4 -2 lines
Diff to previous 1.67.54.3 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

Pull up following revision(s) (requested by abs in ticket #612):
	sys/arch/atari/atari/pmap_bootstrap.c: revision 1.3
	sys/arch/atari/atari/atari_init.c: revision 1.76
	sys/arch/atari/include/pmap.h: revision 1.40
	sys/arch/atari/include/vmparam.h: revision 1.24
Use separate free lists for TT and ST ram, and give TT a lower id
so all TT ram will be used before any ST ram. (free_list param to
uvm_page_physload())
Tested on a TT with and without TT ram.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:10 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.78: +4 -4 lines
Diff to previous 1.78 (colored)

bzero -> memset

Revision 1.78 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:05 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.77: +24 -29 lines
Diff to previous 1.77 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:02 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.76: +4 -7 lines
Diff to previous 1.76 (colored)

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

Revision 1.76 / (download) - annotate - [select for diffs], Fri Mar 13 19:08:20 2009 UTC (14 years, 11 months ago) by abs
Branch: MAIN
Changes since 1.75: +4 -2 lines
Diff to previous 1.75 (colored)

Use separate free lists for TT and ST ram, and give TT a lower id
so all TT ram will be used before any ST ram. (free_list param to
uvm_page_physload())
Tested on a TT with and without TT ram.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Mar 5 13:42:59 2009 UTC (14 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.74: +38 -35 lines
Diff to previous 1.74 (colored)

Some KNF.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Mar 5 13:21:44 2009 UTC (14 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.73: +16 -18 lines
Diff to previous 1.73 (colored)

Remove __P().

Revision 1.67.52.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:00 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.67: +222 -168 lines
Diff to previous 1.67 (colored)

Sync with HEAD.

Revision 1.67.40.1 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:54 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.67: +222 -168 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with HEAD.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Jan 17 07:17:35 2009 UTC (15 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.72: +3 -6 lines
Diff to previous 1.72 (colored)

Move extern decls for Sysseg, Sysptmap, Sysptsize, mem_size, virtual_avail,
virtual_end, and protection_codes[] to common <m68k/pmap_motorola.h>,
and also make protection_codes[] unsigned.

XXX: avail_start and avail_end should also be moved, but it causes
XXX: -Wshadow warnings in uvm/uvm_page.c:uvm_page_physload() and
XXX: I don't have a good idea of alternative names for now.

Revision 1.65.24.1 / (download) - annotate - [select for diffs], Thu Jan 15 22:40:54 2009 UTC (15 years, 1 month ago) by bouyer
Branch: netbsd-4
Changes since 1.65: +216 -160 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1258):
	sys/arch/atari/atari/atari_init.c: revision 1.68, 1.69, 1.70
	sys/arch/atari/atari/pmap_bootstrap.c: revision 1.1
	sys/arch/atari/include/pte.h: revision 1.8
	sys/arch/atari/include/vmparam.h: revision 1.22
	sys/arch/atari/include/pmap.h: revision 1.35, 1.37, 1.39 (via patch)
	sys/arch/atari/atari/pmap.c: revision 1.106, 1.111 (via patch)
	sys/arch/atari/atari/genassym.cf: revision 1.28
	sys/arch/atari/conf/files.atari: revision 1.113
	sys/arch/atari/include/pcb.h: revision 1.7, 1.8, 1.9
Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Remove bogus DEBUG uvm_map() calls - (sync with amiga pmap). From Tuomo
Remove quite obsolete pcb_cmap2.
Pull the following amiga's pmap changes to atari:
arch/amiga/amiga/amiga_init.c           1.95-1.97, 1.100-1.102
arch/amiga/amiga/pmap.c                 1.123, 1.126-1.131, 1.142, 1.145
arch/amiga/amiga/pmap_bootstrap.c       1.1, 1.2, 1.3, 1.4
arch/amiga/conf/files.amiga             1.137
arch/amiga/include/pcb.h                1.16
arch/amiga/include/pmap.h               1.44
arch/amiga/include/pte.h                1.19
arch/amiga/include/vmparam.h            1.35
- change kernel address space layout (i.e. move Sysmap to the end of KVA)
  to match other m68k ports, which should be done on yamt-km merge
- rework pmap_zero_page(), pmap_copy_page() and some more other functions
  to make them compatible with m68k/pmap_motorola.c
- move pmap_bootstrap() into a separate file to allow using either
  the atari pmap.c or the m68k common pmap_motorola.c
- use common m68k include files, pcb.h, pmap_motorola.h, and pte_motorola.h
- misc style and cosmetic changes
Most merge work is done by Tuomo Makinen, and
miscellaneous fixes and cleanups are done by me.
Tested on Falcon with both 68030 and 68060 by Tuomo, and
also tested on TT030 by David Ross on port-atari.
Should be pulled up to netbsd-4 (it requires at least Sysmap changes)
and netbsd-5.
Update one more comment which was missed in previous.

Revision 1.67.54.3 / (download) - annotate - [select for diffs], Thu Jan 8 22:47:06 2009 UTC (15 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1
Changes since 1.67.54.2: +3 -3 lines
Diff to previous 1.67.54.2 (colored) to branchpoint 1.67 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #230):
	sys/arch/atari/atari/atari_init.c: revision 1.70
Update one more comment which was missed in previous.

Revision 1.67.54.2 / (download) - annotate - [select for diffs], Thu Jan 8 22:45:30 2009 UTC (15 years, 1 month ago) by snj
Branch: netbsd-5
Changes since 1.67.54.1: +215 -159 lines
Diff to previous 1.67.54.1 (colored) to branchpoint 1.67 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #230):
	sys/arch/atari/atari/atari_init.c: revision 1.69
	sys/arch/atari/atari/pmap.c: revision 1.111 via patch
	sys/arch/atari/atari/pmap_bootstrap.c: revision 1.1
	sys/arch/atari/conf/files.atari: revision 1.113
	sys/arch/atari/include/pcb.h: revision 1.9
	sys/arch/atari/include/pmap.h: revision 1.39 via patch
	sys/arch/atari/include/pte.h: revision 1.8
	sys/arch/atari/include/vmparam.h: revision 1.22
Pull the following amiga's pmap changes to atari:
arch/amiga/amiga/amiga_init.c           1.95-1.97, 1.100-1.102
arch/amiga/amiga/pmap.c                 1.123, 1.126-1.131, 1.142, 1.145
arch/amiga/amiga/pmap_bootstrap.c       1.1, 1.2, 1.3, 1.4
arch/amiga/conf/files.amiga             1.137
arch/amiga/include/pcb.h                1.16
arch/amiga/include/pmap.h               1.44
arch/amiga/include/pte.h                1.19
arch/amiga/include/vmparam.h            1.35
- change kernel address space layout (i.e. move Sysmap to the end of KVA)
  to match other m68k ports, which should be done on yamt-km merge
- rework pmap_zero_page(), pmap_copy_page() and some more other functions
  to make them compatible with m68k/pmap_motorola.c
- move pmap_bootstrap() into a separate file to allow using either
  the atari pmap.c or the m68k common pmap_motorola.c
- use common m68k include files, pcb.h, pmap_motorola.h, and
pte_motorola.h
- misc style and cosmetic changes
Most merge work is done by Tuomo Makinen, and
miscellaneous fixes and cleanups are done by me.
Tested on Falcon with both 68030 and 68060 by Tuomo, and
also tested on TT030 by David Ross on port-atari.
Should be pulled up to netbsd-4 (it requires at least Sysmap changes)
and netbsd-5.

Revision 1.67.54.1 / (download) - annotate - [select for diffs], Thu Jan 8 22:32:25 2009 UTC (15 years, 1 month ago) by snj
Branch: netbsd-5
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #230):
	sys/arch/atari/atari/atari_init.c: revision 1.68
	sys/arch/atari/atari/pmap.c: revision 1.106
	sys/arch/atari/include/pmap.h: revision 1.37
Remove bogus DEBUG uvm_map() calls - (sync with amiga pmap). From Tuomo

Revision 1.72 / (download) - annotate - [select for diffs], Sun Jan 4 04:18:36 2009 UTC (15 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.71: +4 -4 lines
Diff to previous 1.71 (colored)

Use howmany(x, y) rather than roundup(x, y)/y.  No binary change.

Revision 1.71 / (download) - annotate - [select for diffs], Sat Jan 3 07:11:02 2009 UTC (15 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.70: +14 -13 lines
Diff to previous 1.70 (colored)

Sync with an update on amiga:
Rewrite a weird calculation marked "XXX fix calculations XXX"
for an index value of lev2 segment table for the kernel Sysptmap
with more meaningful expressions and PAGE_SIZE independent macro.
Also use "~0" rather than "-1" for an unsigned bitmap value.

Should produce the same results and no functional change.

Tested on Falcon with 68060 by Tuomo Makinen.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jan 2 04:38:09 2009 UTC (15 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

Update one more comment which was missed in previous.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Jan 1 04:10:25 2009 UTC (15 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.68: +215 -159 lines
Diff to previous 1.68 (colored)

Pull the following amiga's pmap changes to atari:
arch/amiga/amiga/amiga_init.c		1.95-1.97, 1.100-1.102
arch/amiga/amiga/pmap.c			1.123, 1.126-1.131, 1.142, 1.145
arch/amiga/amiga/pmap_bootstrap.c	1.1, 1.2, 1.3, 1.4
arch/amiga/conf/files.amiga		1.137
arch/amiga/include/pcb.h		1.16
arch/amiga/include/pmap.h		1.44
arch/amiga/include/pte.h		1.19
arch/amiga/include/vmparam.h		1.35

- change kernel address space layout (i.e. move Sysmap to the end of KVA)
  to match other m68k ports, which should be done on yamt-km merge
- rework pmap_zero_page(), pmap_copy_page() and some more other functions
  to make them compatible with m68k/pmap_motorola.c
- move pmap_bootstrap() into a separate file to allow using either
  the atari pmap.c or the m68k common pmap_motorola.c
- use common m68k include files, pcb.h, pmap_motorola.h, and pte_motorola.h
- misc style and cosmetic changes

Most merge work is done by Tuomo Makinen, and
miscellaneous fixes and cleanups are done by me.

Tested on Falcon with both 68030 and 68060 by Tuomo, and
also tested on TT030 by David Ross on port-atari.

Should be pulled up to netbsd-4 (it requires at least Sysmap changes)
and netbsd-5.

Revision 1.67.50.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:03 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Nov 15 21:30:50 2008 UTC (15 years, 3 months ago) by abs
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Remove bogus DEBUG uvm_map() calls - (sync with amiga pmap). From Tuomo

Revision 1.62.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:23:30 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.62.2.2: +8 -8 lines
Diff to previous 1.62.2.2 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

sync with head.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:18 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.66: +8 -8 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:39 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, 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, yamt-idlelwp-base8, 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, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, netbsd-5-base, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-dm-base1, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, netbsd-5, mjf-devfs2, haad-dm
Changes since 1.66: +8 -8 lines
Diff to previous 1.66 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:06:07 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.62.2.1: +2 -3 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored)

sync with head.

Revision 1.65.20.1 / (download) - annotate - [select for diffs], Thu Feb 1 08:47:58 2007 UTC (17 years ago) by ad
Branch: newlock2
Changes since 1.65: +2 -3 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with head.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jan 24 13:08:13 2007 UTC (17 years, 1 month ago) by hubertf
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.65: +2 -3 lines
Diff to previous 1.65 (colored)

Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:49:55 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.62: +19 -19 lines
Diff to previous 1.62 (colored)

sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Dec 24 22:45:34 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, 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, 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, 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, netbsd-4
Changes since 1.64: +9 -9 lines
Diff to previous 1.64 (colored)

bare asm -> __asm

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

merge ktrace-lwp.

Revision 1.58.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:55:27 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.3: +15 -14 lines
Diff to previous 1.58.2.3 (colored) next main 1.59 (colored)

Sync with HEAD. Here we go again...

Revision 1.62.4.1 / (download) - annotate - [select for diffs], Wed Nov 2 11:57:54 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-vop
Changes since 1.62: +12 -12 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

sync with head.

Revision 1.61.14.1 / (download) - annotate - [select for diffs], Tue Nov 1 22:33:25 2005 UTC (18 years, 4 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.61: +12 -12 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Pull up following revision(s) (requested by chs in ticket #923):
	sys/arch/next68k/next68k/machdep.c: revision 1.73
	sys/arch/luna68k/luna68k/machdep.c: revision 1.42
	sys/arch/hp300/hp300/machdep.c: revision 1.184
	sys/arch/amiga/amiga/machdep.c: revision 1.193
	sys/arch/x68k/x68k/machdep.c: revision 1.129
	sys/arch/mac68k/mac68k/machdep.c: revision 1.306
	sys/arch/news68k/news68k/machdep.c: revision 1.61
	sys/arch/mvme68k/mvme68k/machdep.c: revision 1.113
	sys/arch/atari/atari/atari_init.c: revision 1.63
fix crash dumps on m68k platforms, cpu_kcore_hdr_t is larger than
512 bytes now so we need a bigger buffer.  PR 26958.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Oct 30 15:49:39 2005 UTC (18 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.62: +12 -12 lines
Diff to previous 1.62 (colored)

fix crash dumps on m68k platforms, cpu_kcore_hdr_t is larger than
512 bytes now so we need a bigger buffer.  PR 26958.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Jun 4 14:42:36 2005 UTC (18 years, 8 months ago) by he
Branch: MAIN
CVS Tags: yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop, yamt-lazymbuf
Changes since 1.61: +5 -4 lines
Diff to previous 1.61 (colored)

Adapt to compiling with -Wshadow and -Wcast-qual, by adding const
qualification in places and renaming a few local variables.
Also adds a couple uses of __UNVOLATILE() to allow passing volatile
variables to functions wanting e.g. caddr_t.

Revision 1.58.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:13:54 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.2: +2 -2 lines
Diff to previous 1.58.2.2 (colored)

Fix the sync with head I botched.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:32:55 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.1: +0 -0 lines
Diff to previous 1.58.2.1 (colored)

Sync with HEAD.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:33:09 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58: +6 -3 lines
Diff to previous 1.58 (colored)

Sync with HEAD

Revision 1.61 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:11 2004 UTC (20 years ago) by wiz
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, 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-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Nov 10 08:51:51 2003 UTC (20 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Spell address with two d's. Inspired by similar changes in OpenBSD,
originating from Jonathon Gray and forwarded by jmc@openbsd.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Jul 15 01:19:42 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.58: +4 -1 lines
Diff to previous 1.58 (colored)

__KERNEL_RCSID()

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:09 2003 UTC (20 years, 8 months ago) by martin
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored)

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

Revision 1.57 / (download) - annotate - [select for diffs], Tue Apr 1 23:47:01 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.56: +32 -31 lines
Diff to previous 1.56 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jan 17 22:34:23 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Merge the nathanw_sa branch.

Revision 1.55.8.3 / (download) - annotate - [select for diffs], Mon Jun 24 22:04:01 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.55.8.2: +2 -2 lines
Diff to previous 1.55.8.2 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Curproc->curlwp renaming.

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

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

Revision 1.55.8.2 / (download) - annotate - [select for diffs], Sat Nov 17 23:18:02 2001 UTC (22 years, 3 months ago) by scw
Branch: nathanw_sa
Changes since 1.55.8.1: +1155 -0 lines
Diff to previous 1.55.8.1 (colored) to branchpoint 1.55 (colored)

MD Scheduler Activation bits for Atari.
Compile-tested only.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:20:01 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.53: +49 -6 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Catch up to -current.

Revision 1.55.8.1, Mon May 28 06:43:19 2001 UTC (22 years, 9 months ago) by scw
Branch: nathanw_sa
Changes since 1.55: +0 -1155 lines
FILE REMOVED

file atari_init.c was added on branch nathanw_sa on 2001-11-17 23:18:02 +0000

Revision 1.55 / (download) - annotate - [select for diffs], Mon May 28 06:43:19 2001 UTC (22 years, 9 months ago) by leo
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kqueue, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa
Changes since 1.54: +5 -5 lines
Diff to previous 1.54 (colored)

PCI_VGA_SIZE -> PCI_MEM_SIZE. (Plus some comments on those constants).

Revision 1.54 / (download) - annotate - [select for diffs], Mon May 14 11:58:30 2001 UTC (22 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.53: +46 -3 lines
Diff to previous 1.53 (colored)

Adapt for the Milan.

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Sun Feb 11 19:09:05 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.43.2.1: +7 -14 lines
Diff to previous 1.43.2.1 (colored) next main 1.44 (colored)

Sync with HEAD.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Feb 9 21:47:45 2001 UTC (23 years ago) by leo
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.52: +6 -6 lines
Diff to previous 1.52 (colored)

Prepare assembly parts for an eventual transition to ELF. Mostly from a
diff from Steve Woodford.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Feb 1 08:58:03 2001 UTC (23 years, 1 month ago) by leo
Branch: MAIN
Changes since 1.51: +1 -8 lines
Diff to previous 1.51 (colored)

No longer update the PAGE_* variables. They have turned into compile time
constants.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:05:21 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.43: +63 -7 lines
Diff to previous 1.43 (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.48.4.1 / (download) - annotate - [select for diffs], Thu Jul 6 11:35:18 2000 UTC (23 years, 7 months ago) by leo
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.48: +11 -4 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Pullup: atari_init.c 1.49-1.50, pmap.c 1.56-1.57. Approved by thorpej.

Get 060 CacheCopyBack support in line with the amiga (and working ;-)

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jun 29 08:28:23 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored)

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

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jun 29 07:36:16 2000 UTC (23 years, 8 months ago) by leo
Branch: MAIN
Changes since 1.49: +10 -3 lines
Diff to previous 1.49 (colored)

Get 060 CacheCopyBack support in line with the amiga (and working ;-)

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jun 27 04:18:53 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 (colored)

remove redudant <vm/pmap.h> includes. <vm/pmap.h> -> <uvm/uvm_pmap.h>

Revision 1.48 / (download) - annotate - [select for diffs], Tue Mar 28 23:57:25 2000 UTC (23 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.47: +1 -2 lines
Diff to previous 1.47 (colored)

Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).

Also delete redunctant decl of boottime in kern_info_43.c.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Feb 7 14:36:42 2000 UTC (24 years ago) by leo
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.46: +2 -1 lines
Diff to previous 1.46 (colored)

Add bootm_init() prototype.

Revision 1.43.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:31:46 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.43: +50 -1 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Pull up to last week's -current.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Dec 6 16:06:24 1999 UTC (24 years, 2 months ago) by leo
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.45: +8 -1 lines
Diff to previous 1.45 (colored)

Implement an allocator for VA-space using fixed extent maps. It is now
possible to allocate VA-space before uvm is initialized.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Dec 6 15:34:42 1999 UTC (24 years, 2 months ago) by leo
Branch: MAIN
Changes since 1.44: +13 -1 lines
Diff to previous 1.44 (colored)

Allocate the physical RAM from the extent map.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:37:23 1999 UTC (24 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.43: +31 -1 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with -current

Revision 1.44 / (download) - annotate - [select for diffs], Thu Oct 28 13:38:35 1999 UTC (24 years, 4 months ago) by leo
Branch: MAIN
CVS Tags: fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.43: +30 -0 lines
Diff to previous 1.43 (colored)

Use extent maps.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Sep 22 07:16:05 1999 UTC (24 years, 5 months ago) by leo
Branch: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Reverse the order in which PCI cards are scanned. Now the order matches the
TOS-scan order. This causes TOS & NetBSD to use the same video card on
a system with multiple VGA cards.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Dec 20 14:32:34 1998 UTC (25 years, 2 months ago) by thomas
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, chs-ubc2-base, chs-ubc2
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored)

Changed grf mmap that it is closer to XFree. VGA memory on et4000/et6000
is now at offset 0xa0000.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Nov 20 12:46:51 1998 UTC (25 years, 3 months ago) by leo
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.40: +7 -3 lines
Diff to previous 1.40 (colored)

Make it compile with -DDEBUG again.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Sep 2 14:58:01 1998 UTC (25 years, 6 months ago) by leo
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Get rid of vm_offset_t/vm_size_t

Revision 1.39 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:21 1998 UTC (25 years, 8 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored)

defopt DDB.

Revision 1.38 / (download) - annotate - [select for diffs], Sun May 24 19:32:37 1998 UTC (25 years, 9 months ago) by is
Branch: MAIN
Changes since 1.37: +1 -3 lines
Diff to previous 1.37 (colored)

Back out the defopt for M680?0. As pointed out to me, this breaks ports which
dont use the M680?0 the way Amiga, Atari, Mac68k, and X68k do. I must have
missed this in the past discussion about this project.

Revision 1.37 / (download) - annotate - [select for diffs], Sat May 23 20:51:08 1998 UTC (25 years, 9 months ago) by is
Branch: MAIN
Changes since 1.36: +3 -1 lines
Diff to previous 1.36 (colored)

Move M680[2346]0 to opt_m68kcpu.h.
XXX Some explicit dependencies could be removed now from the individual
arch/$ARCH/conf/Makefile.$ARCH files, but this is still to be done.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Feb 24 13:02:06 1998 UTC (26 years ago) by leo
Branch: MAIN
Changes since 1.35: +13 -5 lines
Diff to previous 1.35 (colored)

Only try to initialize the PCI-bus when NPCI > 0.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Feb 19 16:16:51 1998 UTC (26 years ago) by leo
Branch: MAIN
Changes since 1.34: +5 -1 lines
Diff to previous 1.34 (colored)

Update Hades PCI support:
  - Initialize the PCI bus and hand-out mem and i/o addresses. (there is
    still lots of room for improvements here...)
  - Implement the interupt functions

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Thu Oct 23 19:53:00 1997 UTC (26 years, 4 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: 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
Changes since 1.33: +13 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Pull rev 1.34 up from trunk

Revision 1.34 / (download) - annotate - [select for diffs], Thu Oct 23 11:26:19 1997 UTC (26 years, 4 months ago) by leo
Branch: MAIN
Changes since 1.33: +13 -3 lines
Diff to previous 1.33 (colored)

Do not relocate the kernel to TT-Ram by default. Some TT's choke on this. You
can now opt for relocation by either setting the RELOC_KERNEL config option
or patching 'reloc_kernel' to something other than zero.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:08:19 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.32: +19 -6 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jul 30 15:37:48 1997 UTC (26 years, 7 months ago) by leo
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.32: +19 -6 lines
Diff to previous 1.32 (colored)

Use a buserror handler that just tests for 'nofault' being set when the
MMU is not yet initialized. This behaviour is necessary when probing
for the machine type - because we need the type before we can setup the
tables....

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jul 5 20:50:41 1997 UTC (26 years, 7 months ago) by leo
Branch: MAIN
CVS Tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.31: +58 -35 lines
Diff to previous 1.31 (colored)

Pull in latest Amiga bus/address error handling.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jun 10 18:37:50 1997 UTC (26 years, 8 months ago) by veego
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

s/atari_round_page/m68k_round_page/

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 5 19:45:29 1997 UTC (26 years, 8 months ago) by leo
Branch: MAIN
Changes since 1.29: +62 -1 lines
Diff to previous 1.29 (colored)

* finalize 060 stuff.

For locore.s also nuke cacheop-functions now provided in m68k.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Apr 9 19:37:53 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +55 -10 lines
Diff to previous 1.28 (colored)

Adjust for new <m68k/kcore.h>

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Wed Mar 12 14:46:38 1997 UTC (26 years, 11 months ago) by is
Branch: is-newarp
Changes since 1.26: +13 -6 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Merge in Changes from The Trunk.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Mar 10 14:44:26 1997 UTC (26 years, 11 months ago) by leo
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.27: +11 -5 lines
Diff to previous 1.27 (colored)

Push out some 060 support. It's all untested and mostly copied in from the
amiga-port.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Mar 7 21:45:41 1997 UTC (26 years, 11 months ago) by leo
Branch: MAIN
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored)

Enable SCC & MFP interrupts through the vme_mask register instead of
using the sys_mask register.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Thu Jan 30 05:34:57 1997 UTC (27 years, 1 month ago) by thorpej
Branch: thorpej-setroot
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

update from trunk

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jan 21 20:37:03 1997 UTC (27 years, 1 month ago) by leo
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

Add a 'size' argument to badbaddr(). This is very useful on busses that
only accept certain size accesses on a specific address range. Like the
VME bus.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jan 12 15:40:14 1997 UTC (27 years, 1 month ago) by leo
Branch: MAIN
Branch point for: thorpej-setroot
Changes since 1.24: +60 -32 lines
Diff to previous 1.24 (colored)

Fix the machine-type detection, the Falcon was detected as a Hades. Regroup
the hardware initialisations in a separate function and make sure
that the Midi-ACIA is properly initialized. This prevents MIDI traffic
to lockup the keyboard.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jan 4 00:06:21 1997 UTC (27 years, 1 month ago) by leo
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Oops, the declaration of cputype was gone...

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 3 22:54:24 1997 UTC (27 years, 1 month ago) by leo
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Get rid of 'cpu040' variable. Use 'mmutype' or 'cputype' for testing
instead.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 26 23:25:01 1996 UTC (27 years, 2 months ago) by leo
Branch: MAIN
Changes since 1.21: +7 -1 lines
Diff to previous 1.21 (colored)

Add intr_establish/disestablish functions. Currently only the lpt-driver
is converted to use them...

Revision 1.21 / (download) - annotate - [select for diffs], Tue Oct 15 20:51:59 1996 UTC (27 years, 4 months ago) by leo
Branch: MAIN
Changes since 1.20: +13 -7 lines
Diff to previous 1.20 (colored)

Initialisation of proc0->p_addr. (Gordon Ross)
This, in conjunction with the trap.c changes, solve the crashes when
referencing illegal addresses in the debugger. Thanks Jason for providing
the trigger and solution ;-)

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 13 04:10:36 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.19: +5 -5 lines
Diff to previous 1.19 (colored)

backout previous kprintf changes

Revision 1.19 / (download) - annotate - [select for diffs], Fri Oct 11 00:08:53 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.18 / (download) - annotate - [select for diffs], Mon Sep 16 06:28:41 1996 UTC (27 years, 5 months ago) by leo
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

Initialize MFP2 on both TT&HADES.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Aug 23 11:07:56 1996 UTC (27 years, 6 months ago) by leo
Branch: MAIN
Changes since 1.16: +150 -45 lines
Diff to previous 1.16 (colored)

- Make it compile & work for the 68040
- Map the various I/O areas just below Sysmap
- Cleanup a bit
- Fix machine-type detection to recognize the Hades.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jul 20 20:52:30 1996 UTC (27 years, 7 months ago) by leo
Branch: MAIN
Changes since 1.15: +196 -54 lines
Diff to previous 1.15 (colored)

Checkpoint integration of 68040 MMU support. Also fix oversight in allocation
of (virtual) I/O area address range.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jul 12 13:14:23 1996 UTC (27 years, 7 months ago) by leo
Branch: MAIN
Changes since 1.14: +59 -81 lines
Diff to previous 1.14 (colored)

- Cleanup a bit
- Remove mapping of page zero
- Remove hackery around the first 8 bytes that were mapped to ROM by hardware

Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 26 06:59:15 1996 UTC (27 years, 10 months ago) by leo
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.13: +3 -1 lines
Diff to previous 1.13 (colored)

Corrections for removed <sys/cpu.h> and some more prototypes.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Apr 18 08:51:11 1996 UTC (27 years, 10 months ago) by leo
Branch: MAIN
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored)

Yet more prototyping and -Wall fixes.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 12 09:05:14 1996 UTC (27 years, 10 months ago) by leo
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

Prototyping.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 27 10:07:45 1996 UTC (27 years, 11 months ago) by leo
Branch: MAIN
Changes since 1.10: +3 -9 lines
Diff to previous 1.10 (colored)

Take out direct access to the YM2149. The chip definitions are moved
from video.h to ym2149reg.h.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 10 21:54:44 1996 UTC (27 years, 11 months ago) by leo
Branch: MAIN
Changes since 1.9: +77 -0 lines
Diff to previous 1.9 (colored)

Add the include files and the atari kernel support for new format panic
dumps.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 16 21:40:28 1995 UTC (28 years, 2 months ago) by leo
Branch: MAIN
Changes since 1.8: +8 -1 lines
Diff to previous 1.8 (colored)

Make an NMI activate the debugger. This only works on a TT and needs a small
hardware patch. This makes it easier to debug drivers that hang on an ipl
> splsoft.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Aug 17 20:31:31 1995 UTC (28 years, 6 months ago) by leo
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.7: +9 -1 lines
Diff to previous 1.7 (colored)

Initialize the YM sound-chip to a sane state.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 9 19:42:22 1995 UTC (28 years, 8 months ago) by leo
Branch: MAIN
Changes since 1.6: +29 -24 lines
Diff to previous 1.6 (colored)

Support & require MACHINE_NONCONTIG

Revision 1.6 / (download) - annotate - [select for diffs], Sun May 28 19:10:17 1995 UTC (28 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.5: +5 -3 lines
Diff to previous 1.5 (colored)

Make ST_POOL_SIZE configurable through config.

Revision 1.5 / (download) - annotate - [select for diffs], Sun May 14 15:44:19 1995 UTC (28 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.4: +12 -74 lines
Diff to previous 1.4 (colored)

Remove double mapping of stack.

Revision 1.4 / (download) - annotate - [select for diffs], Wed May 10 05:59:27 1995 UTC (28 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.3: +20 -14 lines
Diff to previous 1.3 (colored)

Added machine type detection, the presence of the 2nd MFP determines
if the machine is a Falcon or a TT030. The type is added to 'machineid'.
Interrupt  initialisation is now dependend on the machine type.

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 5 16:35:21 1995 UTC (28 years, 10 months ago) by leo
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Report "real mem" correctly and make one single module for handling
software interrupts.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 28 11:41:53 1995 UTC (28 years, 10 months ago) by leo
Branch: MAIN
Changes since 1.1: +5 -28 lines
Diff to previous 1.1 (colored)

- Remove cpuspeed
- Remove dead code  (stmem_steal())
- Use round_page() on st_pool_size before using. This prevents crashes
  when it is 'binpatched' with a value that is not a multiple of the
  page size.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 26 07:12:21 1995 UTC (28 years, 11 months ago) by leo
Branch: Leo
CVS Tags: Leo-initial-950326
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

NetBSD/Atari, port by Leo Weppelman.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 26 07:12:21 1995 UTC (28 years, 11 months ago) by leo
Branch: MAIN

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>