CVS log for src/sys/arch/cats/cats/cats_machdep.c
Up to [cvs.NetBSD.org] / src / sys / arch / cats / cats
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Oct 21 13:37:07 2024 UTC (3 months, 3 weeks ago) by skrll
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +9 -2
lines
Fix my thinko wrt PMAP_NEED_ALLOC_POOLPAGE and restore the code that was
#ifndef PMAP_NEED_ALLOC_POOLPAGE / #endif
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Oct 20 15:06:35 2024 UTC (3 months, 3 weeks ago) by skrll
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -11
lines
G/C
PMAP_NEED_ALLOC_POOLPAGE is a failed experiment.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Apr 20 08:28:03 2023 UTC (21 months, 3 weeks ago) by skrll
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +24 -24
lines
Provide a shared pmap_devmap implementation and convert all pmap_devmap
arrays to use DEVMAP_ENTRY{,_END}
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Jan 8 09:02:47 2022 UTC (3 years, 1 month ago) by skrll
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -2
lines
defflag FCOM_INIT_ARM
Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Aug 27 09:29:05 2021 UTC (3 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +28 -31
lines
Do the VPRINTF thing and #include "opt_arm/debug.h" for VERBOSE_INIT_ARM
Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Aug 27 09:23:27 2021 UTC (3 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -3
lines
initarm_common already calls db_machine_init, so don't do it for a second
time otherwise the handlers list just loops.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Aug 27 09:14:55 2021 UTC (3 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3
lines
lower case for hex values.
Revision 1.86.4.3: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:04 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.86.4.2: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.4.2: +0 -7
lines
Sync with HEAD
Revision 1.88.8.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:28:53 2020 UTC (4 years, 9 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +2 -9
lines
Sync with HEAD
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Apr 18 11:00:38 2020 UTC (4 years, 9 months ago) by skrll
Branches: 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-20200421,
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
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -9
lines
PMAP_DEBUG has been deleted on arm
Revision 1.86.4.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:40 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.86.4.1: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.4.1: +5 -5
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.88: download - view: text, markup, annotated - select for diffs
Tue Jul 16 14:41:44 2019 UTC (5 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: bouyer-xenpvh
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +5 -5
lines
Consistently use vaddr_t as initarm and friends return type.
Makes no difference to binaries except for aarch64 where it's required
Revision 1.86.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:59 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +20 -5
lines
Sync with HEAD
Revision 1.83.6.3: download - view: text, markup, annotated - select for diffs
Sun Apr 28 08:45:31 2019 UTC (5 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.83.6.2: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.6.2: +5 -2
lines
Redo previous, this time actually using the patch requested in the ticket:
pull up following revision(s) (requested by skrl in ticket #1249):
sys/arch/cats/cats/cats_machdep.c: revision 1.87 (via patch)
The free block after the kernel from arm32_bootmem_init doesn't
account for bt_memavail. Adjust for this.
Revision 1.83.6.2: download - view: text, markup, annotated - select for diffs
Fri Apr 26 20:44:07 2019 UTC (5 years, 9 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.83.6.1: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.6.1: +20 -5
lines
Pull up following revision(s) (requested by skrl in ticket #1249):
sys/arch/cats/cats/cats_machdep.c: revision 1.87
The free block after the kernel from arm32_bootmem_init doesn't
account for bt_memavail. Adjust for this.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Apr 26 07:32:40 2019 UTC (5 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +20 -5
lines
The free block after the kernel from arm32_bootmem_init doesn't
account for bt_memavail. Adjust for this.
Revision 1.74.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:59 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.74.2.2: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.2.2: +33 -17
lines
update from HEAD
Revision 1.82.6.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:33 2017 UTC (7 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +35 -19
lines
Sync with HEAD
Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Aug 15 08:52:41 2017 UTC (7 years, 6 months ago) by maya
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
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,
nick-nhusb-base-20170825,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -3
lines
remove unnecessary include. no aout code here!
Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Aug 15 08:47:39 2017 UTC (7 years, 6 months ago) by maya
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -14
lines
Remove dead code. it isn't possible to do non-__ELF__ builds
Revision 1.83.6.1: download - view: text, markup, annotated - select for diffs
Wed Jul 5 15:48:01 2017 UTC (7 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3
lines
Pull up following revision(s) (requested by skrll in ticket #83):
sys/arch/cats/cats/cats_machdep.c: revision 1.84
sys/arch/arm/footbridge/footbridge_io.c: revision 1.23
sys/arch/cats/conf/GENERIC: revision 1.162
Use devmap if available
Now that bus_space can use devmap - use it for early console
Comment out a bunch of thing so that a GENERIC kernel boots on my cats
with cyclone firmware
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Jun 13 15:24:05 2017 UTC (7 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3
lines
Now that bus_space can use devmap - use it for early console
Revision 1.82.14.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:24 2017 UTC (7 years, 9 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +34 -5
lines
Sync with HEAD
Revision 1.82.10.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:12 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +34 -5
lines
Sync with HEAD
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Mar 19 12:46:21 2017 UTC (7 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
netbsd-8-base,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +34 -5
lines
Support __HAVE_MM_MD_DIRECT_MAPPED_PHYS
Revision 1.74.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:50 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.74.2.1: preferred, colored
Changes since revision 1.74.2.1: +88 -516
lines
Rebase to HEAD as of a few days ago.
Revision 1.71.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:36 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.71.2.2: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.2: +88 -516
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.76.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:01 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.76.2.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.2.1: +85 -513
lines
sync with head
Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Apr 4 07:33:53 2014 UTC (10 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
nick-nhusb,
bouyer-socketcan
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +83 -513
lines
Convert cats to the new world order, i.e. arm32_{bootmem,kernel_vm}_init.
Make VERBOSE_INIT_ARM work while I'm here.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Apr 4 06:25:00 2014 UTC (10 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3
lines
whitespace.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Apr 4 06:04:54 2014 UTC (10 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +357 -66
lines
Revert previous - it wasn't complete.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Apr 2 17:36:05 2014 UTC (10 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +66 -357
lines
Convert cats to the new world order, i.e. arm32_{bootmem,kernel_vm}_init
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Apr 2 11:36:50 2014 UTC (10 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +6 -4
lines
Don't map ebsabootinfo.bt_vargp if it is the same address as the vector page
Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:13 2013 UTC (11 years, 5 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +5 -5
lines
sync with head
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Aug 18 06:50:31 2013 UTC (11 years, 5 months ago) by matt
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +5 -5
lines
Include <arm/locore.h>
Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:10 2012 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -4
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:19:14 2012 UTC (12 years, 3 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.1: +7 -22
lines
sync with head
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Oct 13 17:58:55 2012 UTC (12 years, 4 months ago) by jdc
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -3
lines
Adapt to the changed signature of pckbc_cnattach().
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Sep 22 00:33:38 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3
lines
Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead
but add a second argument to it to indicate whether the TLB/caches need to be
flushed. Default cortex to pmap_needs_fixup = 1. But check the MMFR3 field
to see if the fixed can be skipped.
Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1)
or enabeld (bit = 0).
With these changes, the A9 MMU can use traverse caches to do MMU tablewalks
Also, make sure all memory has the shareable bit for the A9.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Aug 16 18:22:42 2012 UTC (12 years, 5 months ago) by matt
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -9
lines
Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Jul 29 00:07:10 2012 UTC (12 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -13
lines
Fix more -fno-common fallout.
Move more variables to common locations.
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:10 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +29 -33
lines
sync with head
Revision 1.71.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:31:40 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +29 -33
lines
merge to -current.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Feb 6 17:51:47 2012 UTC (13 years ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +29 -33
lines
Make this compile with VERBOSE_ARM_INIT.
If the AOUT magic is not ZMAGIC, assume kernel is ELF.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Jul 1 20:35:31 2011 UTC (13 years, 7 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
#include <sys/bus.h> instead of <machine/bus.h>.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Jun 30 20:09:21 2011 UTC (13 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -4
lines
dependant -> dependent
Revision 1.59.10.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:11 2010 UTC (14 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.59.10.3: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.10.3: +6 -8
lines
sync with head
Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Dec 28 03:22:19 2009 UTC (15 years, 1 month ago) by uebayasi
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base7,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -4
lines
More setttb() -> cpu_setttb() for readability & consistency. Missing instances
pointed out by tsutsui@ & nonaka@, thanks.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:05 2009 UTC (15 years, 2 months ago) by rmind
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -3
lines
- 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.67: download - view: text, markup, annotated - select for diffs
Thu Nov 26 00:19:13 2009 UTC (15 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -6
lines
Kill proc0paddr. Use lwp0.l_addr instead.
Revision 1.59.10.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:04 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.59.10.2: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.10.2: +3 -3
lines
sync with head.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Aug 18 09:22:47 2009 UTC (15 years, 5 months ago) by he
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -2
lines
No longer rely on <sys/exec.h> including <sys/exec_aout.h>.
Hi, matt@!
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Aug 11 17:04:15 2009 UTC (15 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -3
lines
Remove all declarations of physmem from sys/arch. Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)
Revision 1.63.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:36 2009 UTC (15 years, 9 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +3 -2
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.59.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:53 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.59.10.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.10.1: +9 -10
lines
sync with head.
Revision 1.60.8.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:28:52 2009 UTC (15 years, 11 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.60.8.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.8.1: +3 -2
lines
Sync with HEAD.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Feb 13 22:41:01 2009 UTC (16 years ago) by apb
Branches: MAIN
CVS tags: 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,
jymxensuspend-base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -2
lines
Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.
Revision 1.60.8.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:02 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +8 -10
lines
Sync with HEAD.
Revision 1.59.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:56 2009 UTC (16 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.59.6.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.6.1: +6 -8
lines
Sync with HEAD.
Revision 1.60.6.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:05 2008 UTC (16 years, 2 months ago) by haad
Branches: haad-dm
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +8 -10
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Nov 30 18:21:32 2008 UTC (16 years, 2 months ago) by martin
Branches: MAIN
CVS tags: mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -9
lines
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Nov 12 12:35:57 2008 UTC (16 years, 3 months ago) by ad
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3
lines
Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Nov 11 06:46:40 2008 UTC (16 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -2
lines
It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled. So I have made two changes:
1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown(). No functional change
is intended by this change.
2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown(). I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that. Note that a functional change *is* intended
by this change.
I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
Revision 1.59.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:59 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -6
lines
Sync with HEAD.
Revision 1.59.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:44 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +3 -6
lines
sync with head.
Revision 1.59.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:22:08 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -6
lines
sync with head.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Apr 27 18:58:45 2008 UTC (16 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
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,
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,
hpcarm-cleanup-nbase,
haad-dm-base1
Branch point for: nick-hppapmap,
haad-dm
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -6
lines
Merge kernel changes in matt-armv6 to HEAD.
Revision 1.58.30.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:03:57 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.58.30.1: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.30.1: +0 -12
lines
sync with HEAD
Revision 1.58.24.1: download - view: text, markup, annotated - select for diffs
Thu Feb 28 21:47:46 2008 UTC (16 years, 11 months ago) by rjs
Branches: hpcarm-cleanup
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +2 -14
lines
Sync with HEAD.
Revision 1.58.36.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:25 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +2 -14
lines
Sync with HEAD.
Revision 1.58.30.1: download - view: text, markup, annotated - select for diffs
Mon Jan 28 18:26:15 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -6
lines
Adapt to new pmap_bootstrap signature.
Revision 1.55.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:35:58 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.55.2.1: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.2.1: +2 -14
lines
sync with head
Revision 1.58.44.1: download - view: text, markup, annotated - select for diffs
Sun Jan 20 17:51:06 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +2 -14
lines
Sync with HEAD
Revision 1.58.28.2: download - view: text, markup, annotated - select for diffs
Sun Jan 20 16:04:09 2008 UTC (17 years ago) by chris
Branches: chris-arm-intr-rework
Diff to: previous 1.58.28.1: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.28.1: +2 -14
lines
Sync to HEAD.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Jan 19 13:11:11 2008 UTC (17 years ago) by chris
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
chris-arm-intr-rework-base7,
chris-arm-intr-rework-base6,
chris-arm-intr-rework-base5,
chris-arm-intr-rework-base4,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -14
lines
Remove arm support for IPKDB.
It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
Revision 1.58.28.1: download - view: text, markup, annotated - select for diffs
Sat Aug 11 21:14:53 2007 UTC (17 years, 6 months ago) by chris
Branches: chris-arm-intr-rework
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3
lines
Initial check-in of reworked arm interrupt routines.
Main things to note on this branch:
* spl routines are inlined, less complex, and small (kernel drops in size)
* interrupts are handled in priority order (for most things it doesn't
matter, but pending ipls are used to determine if there is any work to do)
* arm_irqhandler.c is derived from footbridge_irqhandler.c, which was based
on work by thorpej.
* The code tries to touch hardware as little as possible.
* spl masks are no longer tracked, as the system is based on pending ipls
The shared code uses global ipl lists to track which interrupt handlers
are attached to which ipl (arm_iplq[]).
Interrupt sources register with the common code to indicate:
* how many irq lines they have
* a function to set the hardware mask.
* call arm_intr_claim and arm_intr_disestablish to setup handlers
When an interrupt occurs the ipl is flagged as pending, in ipls_pending.
If it can be handled at the current_ipl_level the code does so.
If it can't be handled it's left until the current_ipl_level drops.
As the ipl level changes down a quick test is made of the new ipl level
against the ipls_pending value. If an ipl is pending arm_intr_splx_lifter
is called to handle the pending ipls.
It should be noted that all interrupts are left enabled at the hardware
level, interrupts are only masked when they occur. They are only
re-enabled after it's interrupt handler is called. Hardware masks are not
changed at any other time.
Soft interrupts are treated the same as hardware interrupts, they
register as a provider, and do not get treated specially. All the soft
interrupt handlers are placed onto the relevant global ipl queue, the same
as hard interrupts handlers.
At the moment only footbridge within a cats has been updated to use the new
handling.
Todo:
* change the handling of interrupts, so that the hardware doesn't register
a routine to fetch the hardware status. Instead is makes a call which
provides the mask. This removes the primary flag when registering an
interrupt provider. It also makes more sense with multiple interrupt
sources.
* Arm v5 has the clz asm, which could be used instead of the carefully
hand rolled arm_intr_fls function.
* switch cats isa support to use this framework.
* switch iomd and acorn32 to use this framework.
* switch shark to use this framework.
* port any other arm platforms that are interested
* examine overlaps between this code and ppcoea-renovation branch.
* add support for different trigger types (Edge, level, pulse, etc)
(note that iomd and shark currently touch hardware on every spl change,
hence why they're targets to port)
Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:45 2007 UTC (18 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +3 -3
lines
Sync with head.
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:45:45 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4
lines
sync with head.
Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:15:49 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +3 -3
lines
sync with head.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Nov 24 22:04:21 2006 UTC (18 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
yamt-idlelwp,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
ppcoea-renovation-base,
ppcoea-renovation,
post-newlock2-merge,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-nb4-arm-base,
matt-nb4-arm,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
chris-arm-intr-rework-base3,
chris-arm-intr-rework-base2,
chris-arm-intr-rework-base,
bouyer-xeni386-merge1,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-audiomp-base,
ad-audiomp
Branch point for: mjf-devfs,
matt-armv6,
hpcarm-cleanup,
chris-arm-intr-rework,
bouyer-xeni386
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
s/independant/independent/, from Zafer.
Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:38:27 2006 UTC (18 years, 5 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +3 -3
lines
sync with head
Revision 1.56.8.1: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:41:19 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +3 -3
lines
sync with head
Revision 1.56.16.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:48:45 2006 UTC (18 years, 7 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +3 -3
lines
Merge from HEAD.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Jun 27 23:02:04 2006 UTC (18 years, 7 months ago) by he
Branches: MAIN
CVS tags: yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3
lines
Fix a build problem ('kernel_l1pt.pv_va may be used uninitialized').
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:17:04 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
peter-altq-base,
peter-altq,
gdamore-uart-base,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: yamt-pdpolicy,
rpaulo-netinet-merge-pcb,
gdamore-uart
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2
lines
merge ktrace-lwp.
Revision 1.48.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:55:47 2005 UTC (19 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.48.2.4: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.4: +34 -26
lines
Sync with HEAD. Here we go again...
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Jun 3 23:42:50 2005 UTC (19 years, 8 months ago) by chris
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +12 -16
lines
de-__P and ansify some functions.
Also add a const.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Jun 3 23:28:40 2005 UTC (19 years, 8 months ago) by chris
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -7
lines
Remove long dead max_processes variable and PMAP_STATIC_L1S from config
files.
These options haven't been needed since the arm pmap was switched to using
domains.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Jun 3 23:19:48 2005 UTC (19 years, 8 months ago) by chris
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +29 -12
lines
Add const, fix -Wcast-qual and fix shadow warning.
Also add some tracing I used to debug booting issues with ABLE.
Revision 1.48.2.4: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:31:01 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.48.2.3: preferred, colored
Changes since revision 1.48.2.3: +3 -3
lines
Sync with HEAD.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Dec 12 20:42:53 2004 UTC (20 years, 2 months ago) by abs
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
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,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3
lines
Fix comments slighly
Revision 1.48.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:14:26 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.48.2.2: preferred, colored
Changes since revision 1.48.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:33:26 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.48.2.1: preferred, colored
Changes since revision 1.48.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:33:40 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +87 -30
lines
Sync with HEAD
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Oct 4 15:43:05 2003 UTC (21 years, 4 months ago) by chris
Branches: 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
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +53 -28
lines
Add Experimental ELF support for cats. Only to be used if you feel daring
enough to run the ABLE firmware.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Oct 4 14:28:28 2003 UTC (21 years, 4 months ago) by chris
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +34 -5
lines
Fix booting from ABLE on cats. Two problems fixed here:
1. ABLE sets the l1pt to use domain 3 for it's entries (no idea why) so to
cover all bases when setting the domain before the change to the new L1pt
become a client of all domains.
2. It seems that we setup the kernel entries without any access permission.
(note not sure that this isn't a bug) And rely on the control bits
containing either ROM or SYST enable. which allows access to pages without
access permissions set. We actually enable SYST when we do the full detect
of the CPU, but we don't detect the CPU till after the L1pt switch, which
we never make it past. Fix this by explicitly enabling the SYST bit in the
control register. rather than relying on the firmware to have dont the right
thing.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Jul 15 01:29:18 2003 UTC (21 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -1
lines
__KERNEL_RCSID()
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Jun 14 17:01:09 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -2
lines
Also pass a type argument to comcnattach() and com_kgdb_attach().
comspeed() (and thus cominit()) may need this information.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu May 22 05:47:06 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +11 -1
lines
Move KERNEL_VM_SIZE into the C files where its used.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed May 21 22:48:21 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1
lines
Move KERNEL_VM_BASE inside where it is used (it won't be there for long).
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat May 3 18:25:30 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -1
lines
Don't expose KERNEL_TEXT_BASE outside of board-specific code. This gives
individual board start-up code more flexibility about where the kernel
starts in the kernel address space.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat May 3 03:49:05 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -2
lines
Reduce differences between ARM32_NEW_VM_LAYOUT and not; always pass
the start and end of the kernel managed virtual address space to
pmap_bootstrap() in the new pmap.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat May 3 03:29:06 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -66
lines
Remove old pmap support for platforms which have fully switched over.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri May 2 23:22:34 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +12 -20
lines
Eliminate PTE_BASE and the PT-PT completely in the ARM32_PMAP_NEW case.
Also in the ARM32_PMAP_NEW case, reclaim the USPACE-bytes of wasted space
at the top of the user address that hasn't been needed for a very very
long time.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Apr 26 17:35:57 2003 UTC (21 years, 9 months ago) by chris
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +60 -13
lines
Add support for ARM32_PMAP_NEW. also make it the default for all cats
kernels.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Apr 26 11:05:08 2003 UTC (21 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +9 -5
lines
Call ksyms_init() instead of ddb_init() in case of
NKSYMS || defined(DDB) || defined(LKM)
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Apr 1 23:54:11 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +22 -19
lines
Use PAGE_SIZE rather than NBPG.
Revision 1.29.4.2: download - view: text, markup, annotated - select for diffs
Fri Feb 14 22:21:52 2003 UTC (22 years ago) by he
Branches: netbsd-1-6
CVS tags: 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
Diff to: previous 1.29.4.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.4.1: +2 -2
lines
Revert pull-up of revision 1.33 (requested by rearnsha in ticket #1170):
Revert cached memory access to L1 tables, this causes instability
on the release branch.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jan 17 22:38:24 2003 UTC (22 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2
lines
Merge the nathanw_sa branch.
Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Thu Nov 21 20:15:52 2002 UTC (22 years, 2 months ago) by he
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH001-RC1
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
Pull up revision 1.33 (requested by thorpej in ticket #712):
Do cached memory access to L1 tables, making sure to
write-back the cache after any L1 table modifications.
Revision 1.5.2.11: download - view: text, markup, annotated - select for diffs
Mon Nov 11 21:57:30 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.5.2.10: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.10: +2 -2
lines
Catch up to -current
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Nov 3 21:43:31 2002 UTC (22 years, 3 months ago) by chris
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2
lines
Checkin new interrupt handling code for the footbridge.
This is based upon Jason's work on xscale.
Most of the interrupt handling code is now written in C using an asm stub to
call into the C code.
spl* now only updates a software mask, and does not update the hardware,
this should be much faster.
The new code works well on cats, it's untested on netwinder, but should work.
The code implements generic soft interrupts.
More work is still required to bring the isa interrupt handling code upto
scratch currently all isa interrupts are handled at IPL_BIO on the footbridge.
This may cause isa interrupts to be handled later than they should be.
I plan to fix this in the near future.
Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Fri Oct 18 10:54:57 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.1.2.7: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.7: +2 -2
lines
sync with -current:
Merge isa_machdep.c from netwinder and cats into footbridge/isa
Revision 1.5.2.10: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:36:06 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.2.9: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.9: +5 -5
lines
Catch up to -current.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Oct 12 11:53:39 2002 UTC (22 years, 4 months ago) by chris
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2
lines
Merge isa_machdep.c from netwinder and cats into footbridge/isa (where it
joins other machdep files)
Saves maintaining multiple copies of the same thing, the only differences
were:
IRQ line used on the footbridge (made that a define in include/isa_machdep.h)
name of a dma_ranges variable contained arch name, so just made it generic.
Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:32:12 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.1.2.6: preferred, colored
Changes since revision 1.1.2.6: +4 -4
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Sep 27 15:35:55 2002 UTC (22 years, 4 months ago) by provos
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -4
lines
remove trailing \n in panic(). approved perry.
Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:33:37 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.1.2.5: preferred, colored
Changes since revision 1.1.2.5: +85 -5
lines
sync kqueue branch with HEAD
Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 30 00:19:25 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +85 -5
lines
catch up with -current.
Revision 1.5.2.9: download - view: text, markup, annotated - select for diffs
Tue Aug 27 06:03:18 2002 UTC (22 years, 5 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.5.2.8: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.8: +5 -5
lines
Sync with -current.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Aug 24 02:16:32 2002 UTC (22 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4
lines
Enable caching on kernel and user page tables. This saves having
to do uncached memory access during VM operations (which can be
quite expensive on some CPUs).
We currently write-back PTEs as soon as they're modified; there is
some room for optimization (to write them back in larger chunks).
For PTEs in the APTE space (i.e. PTEs for pmaps that describe another
process's address space), PTEs must also be evicted from the cache
complete (PTEs in PTE space will be evicted durint a context switch).
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Aug 21 18:34:31 2002 UTC (22 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
Do cached memory access to L1 tables, making sure to write-back the
cache after any L1 table modifications.
Revision 1.5.2.8: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:41:26 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.2.7: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.7: +81 -1
lines
Catch up to -current.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Jul 31 17:34:25 2002 UTC (22 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +8 -3
lines
Overhaul how DMA ranges work in the ARM bus_dma implementation.
A new "arm32_dma_range" structure now describes a DMA window, with
a system address base, bus address base, and length. In addition to
providing info about which memory regions are legal for DMA, the new
structure provides address translation support, as well.
As before, if a tag does not list any ranges, then all addresses are
considered valid, and no DMA address translation is performed.
This allows us to remove a large chunk of code which was duplicated and
tweaked slightly (to do the address translation) from the stock ARM
bus_dma in the XScale IOP and ARM Integrator ports.
Test compiled on all ARM platforms, test booted on Intel IQ80321 and Shark.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Jul 31 00:20:52 2002 UTC (22 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +76 -2
lines
Move the calls to uvm_page_physload() out of pmap_bootstrap() and
into platform-specific initialization code, giving platform-specific
code control over which free list a given chunk of memory gets put
onto.
Changes are essentially mechanical. Test compiled for all ARM
platforms, test booted on Intel IQ80321 and Shark.
Discussed some time ago on port-arm.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Jul 30 16:16:41 2002 UTC (22 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -1
lines
Move the uvm_setpagesize() call to platform-dependent code in preparation
for other changes to pmap_bootstrap().
Revision 1.5.2.7: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:04:14 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.2.6: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.6: +2 -2
lines
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.1.2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:35:28 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.1.2.4: preferred, colored
Changes since revision 1.1.2.4: +18 -25
lines
catch up with -current on kqueue branch
Revision 1.5.2.6: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:02:51 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.2.5: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.5: +11 -19
lines
Catch up to -current.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Apr 5 16:58:07 2002 UTC (22 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +8 -8
lines
* Rewrite the 32-bit ARM pte.h based on the ARM architecture manual.
Significant cleanup, here, including better PTE bit names.
* Add XScale PTE extensions (ECC enable, write-allocate cache mode).
* Mechanical changes everywhere else to update for new pte.h. While
doing this, two bugs (as a result of typos) were fixed in
arm/arm32/bus_dma.c
evbarm/integrator/int_bus_dma.c
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Apr 3 23:33:31 2002 UTC (22 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -12
lines
Clean up handling of the vector page on 32-bit ARM systems:
* Don't refer to VA 0, instead refer to a new variable: vector_page
* Delete the old zero_page_*() functions, replacing them with a new
one: vector_page_setprot().
* When manipulating vector page mappings in user pmaps, only do so if
the vector page is below KERNEL_BASE (if it's above KERNEL_BASE, the
vector page is mapped by the kernel pmap).
* Add a new function, arm32_vector_init(), which takes the virtual
address of the vector page (which MUST be valid when the function
is called) and a bitmask of vectors the kernel is going to take
over, and performs all vector page initialization, including setting
the V bit in the CPU Control register ("relocate vectors to high
address"), if necessary.
Revision 1.5.2.5: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:39:39 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.2.4: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.4: +13 -7
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Mar 25 04:51:20 2002 UTC (22 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -2
lines
* Fix use of pmap_curmaxkvaddr.
* Use the PTP hint in the pmap.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Mar 23 02:22:57 2002 UTC (22 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -6
lines
* Rename PROCESS_PAGE_TBLS_BASE -> PTE_BASE
* Rename ALT_PAGE_TBLS_BASE -> APTE_BASE
* Garbage-collect PAGE_TABLE_SPACE_START
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:57:01 2002 UTC (22 years, 11 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.1.2.3: preferred, colored
Changes since revision 1.1.2.3: +103 -69
lines
Catch up with -current.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Mar 3 11:22:59 2002 UTC (22 years, 11 months ago) by chris
Branches: MAIN
CVS tags: newlock-base,
newlock,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -2
lines
Implement pmap_growkernel for arm32 based ports.
Note that this has been compiled on some systems, cats, IQ80310, IPAQ, netwinder and shark (note that shark's build is currently broken due to other reasons), but only actually run on cats.
Shark doesn't make use of the functionality as I believe there has to be a correlation between OFW and the kernel tables so that calls into OFW work.
Revision 1.5.2.4: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:08:38 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.2.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.3: +109 -116
lines
Catch up to -current.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Feb 22 17:11:59 2002 UTC (22 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2
lines
Pass the VA for kernel_ptpt as the VA to pmap_map_entry
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Feb 22 15:57:38 2002 UTC (22 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2
lines
Make sure the kernel_pt_table has the right physical to virtual address
mapping.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Feb 22 04:49:20 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +12 -12
lines
Change pmap_map_entry() to work like pmap_map_chunk(): take a pointer
to the L1 table and a virtual address, and no pointer to the L2 table.
The L2 table will be looked up by pmap_map_entry(), which will panic
if the there is no L2 table for the requested VA.
NOTE: IT IS EXTREMELY IMPORTANT THAT THE CORRECT VIRTUAL ADDRESS
BE PROVIDED TO pmap_map_entry()! Notably, the code that mapped
the kernel L2 tables into the kernel PT mapping L2 table were not
passing actual virtual addresses, but rather offsets into the range
mapped by the L2 table. I have fixed up all of these call sites,
and tested the resulting kernel on both an IQ80310 and a Shark.
Other portmasters should examine their pmap_map_entry() calls if
their new kernels fail.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Feb 21 21:58:02 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +42 -63
lines
Keep track of which kernel PTs are available during bootstrap,
and let pmap_map_chunk() lookup the correct one to use for the
current VA. Eliminate the "l2table" argument to pmap_map_chunk().
Add a second L2 table for mapping kernel text/data/bss on the
IQ80310 (fixes booting kernels with ramdisks).
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Feb 21 05:25:24 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +17 -12
lines
Always pass the L1 table to pmap_map_chunk(). This allows pmap_map_chunk()
to perform some error checking.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Feb 21 02:52:21 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +22 -21
lines
map_chunk() -> pmap_map_chunk(), and move it to pmap.c
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Feb 20 20:41:16 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -6
lines
map_pagetable() -> pmap_link_l2pt(), and move it to pmap.c
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Feb 20 02:32:58 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +23 -15
lines
Collapse map_entry{,ro,nc}() into a single pmap_map_entry() that
takes a prot and a "cacheable" indicator.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Feb 20 00:10:18 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +29 -12
lines
Rename map_section() to pmap_map_section(), move it to pmap.c, and give it
an extra argument (prot - specifies protection of the mapping).
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:07:32 2002 UTC (23 years ago) by jdolecek
Branches: kqueue
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +29 -65
lines
Sync w/ -current.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Feb 10 13:19:27 2002 UTC (23 years ago) by chris
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +17 -1
lines
Fix a potential boot failure, we need to make sure that the pt's used for the kernel mapping are contiguous otherwise map_chunk etc could overwrite the L1 table.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Feb 10 11:31:47 2002 UTC (23 years ago) by chris
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
Change reference from arm32 to cats in printf, pointed out by wiz.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 9 12:14:02 2002 UTC (23 years ago) by chris
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -1
lines
Move the arm32/pci files into the cats dir. AFAIK these files are only used by cats.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jan 25 19:19:28 2002 UTC (23 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -34
lines
Overhaul of the ARM cache code. This is mostly a simplification
pass. Rather than providing a whole slew of cache operations that
aren't ever used, distill them down to some useful primitives:
icache_sync_all Synchronize I-cache
icache_sync_range Synchronize I-cache range
dcache_wbinv_all Write-back and Invalidate D-cache
dcache_wbinv_range Write-back and Invalidate D-cache range
dcache_inv_range Invalidate D-cache range
dcache_wb_range Write-back D-cache range
idcache_wbinv_all Write-back and Invalidate D-cache,
Invalidate I-cache
idcache_wbinv_range Write-back and Invalidate D-cache,
Invalidate I-cache range
Note: This does not yet include an overhaul of the actual asm files
that implement the primitives. Instead, we've provided a safe default
for each CPU type, and the individual CPU types can now be optimized
one at a time.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jan 22 19:14:48 2002 UTC (23 years ago) by chris
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -18
lines
Update/remove prototypes.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jan 19 18:51:58 2002 UTC (23 years ago) by chris
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +18 -14
lines
Following on from similair change by Jason for xscale, pass the l1 page table into the map_chunk function so it can try to map the kernel in sections.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jan 12 13:37:55 2002 UTC (23 years, 1 month ago) by chris
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +9 -2
lines
Make GENERIC cats kernel boot again. By allocating a 2nd second level page table for the kernel and stack space we can now have to 8MB of kernel and stacks (if the kernel ever gets really bloated might need to add a 3rd!)
Also update the funcs in arm32_machdep.c that create the entries so that on cats they expect the 2 pagetables to be contiguous, note this means that for now cats is special cased in lots of funcs. I'll tidy this up to something a bit more sane soon, to avoid the multitude of #ifndef cats that I had to sprinkle in.
Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:38:14 2002 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.2: +6 -7
lines
More catchup.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:40:52 2002 UTC (23 years, 1 month ago) by thorpej
Branches: kqueue
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +11 -13
lines
Sync kqueue branch with -current.
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:23:47 2002 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +871 -0
lines
Catch up to -current.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jan 7 22:58:08 2002 UTC (23 years, 1 month ago) by chris
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -7
lines
Finish up the changes to get LOOSE_PROTOTYPES working for cats.
Note that this leaves a few inconsistencies (no more than we already had though) eg initarm is now prototyped in arm32/machdep.h, however only cats currently makes use of that header.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Nov 23 21:18:33 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
Use <arm/undefined.h> instead of <machine/undefined.h>.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Nov 23 17:23:43 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2
lines
No need to pull in <machine/pte.h> directly.
Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:16:44 2001 UTC (23 years, 3 months ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +5 -5
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.5.2.1
Fri Nov 9 07:21:38 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.5: +0 -872
lines
file cats_machdep.c was added on branch nathanw_sa on 2002-01-08 00:23:47 +0000
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Nov 9 07:21:38 2001 UTC (23 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Branch point for: nathanw_sa
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -2
lines
Add some rudimentary support for ELF symbols in DDB on the ARM ports.
On platforms which load the kernel sans symbols directly from firmware
(possibly in e.g. S-Record format), call ddb_init() with empty arguments,
so that it will search any compiled in SYMTAB_SPACE. On all other platforms,
if __ELF__, also call ddb_init() with empty arguments until ELF bootloaders
which pass symbol information are ready.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Nov 9 06:52:26 2001 UTC (23 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -2
lines
Remove unneeded declarations of the db_machine_init() function. The
ARM ports are the only ones that actually have one, and it is about
to change.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Nov 9 00:34:36 2001 UTC (23 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -3
lines
Remove unnecessary prototypes for zero_page_read{only,write}().
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:13:29 2001 UTC (23 years, 5 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Update the kqueue branch to HEAD.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Sep 5 16:17:36 2001 UTC (23 years, 5 months ago) by matt
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Change <machine/irqhandler.h> to <machine/intr.h> since the latter always
includes the former and is a standard include file.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jun 20 22:14:34 2001 UTC (23 years, 7 months ago) by chris
Branches: MAIN
Branch point for: kqueue
Remove defopt EBSA285.
Move the files from footbridge that are cats specific.
Remove EBSA285 kernel as people should be able to use the generic cats kernel for EBSA285 systems.
CVSweb <webmaster@jp.NetBSD.org>