The NetBSD Project

CVS log for src/sys/dev/Attic/flash.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.1.2.14: download - view: text, markup, annotated - select for diffs
Sat Aug 28 16:25:39 2010 UTC (16 years, 2 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.13: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.13: +1 -1 lines
Correctly hook flash_open/flash_close in cdevsw too.

Revision 1.1.2.13: download - view: text, markup, annotated - select for diffs
Fri Aug 20 07:03:23 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.12: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.12: +1 -1 lines
Use consistent cdevsw/bdevsw flags.

Revision 1.1.2.12: download - view: text, markup, annotated - select for diffs
Wed Aug 11 13:24:47 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.11: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.11: +11 -6 lines
Export flash_init() correctly.  Calculate disk partition correctly.
Correct dmesg.  Correct conditional compilation.

Revision 1.1.2.11: download - view: text, markup, annotated - select for diffs
Tue Jul 27 01:16:21 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.10: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.10: +1 -1 lines
s/DIOCGPHYSADDR/DIOCGPHYSSEG/ now that it returns struct vm_physseg *,
not paddr_t.

Revision 1.1.2.10: download - view: text, markup, annotated - select for diffs
Mon Jul 26 10:11:38 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.9: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.9: +3 -3 lines
After much consideration, rename bus_space_physload_direct(9) back to
bus_space_physload_device(9).

The latter registers a segment as "device pages".  "Device pages" are
managed, but not used for general purpose memory.  Most typically XIP
pages.

Revision 1.1.2.9: download - view: text, markup, annotated - select for diffs
Mon May 31 13:26:37 2010 UTC (16 years, 5 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.8: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.8: +2 -2 lines
Re-define the definition of "device page"; device pages are pages of
device memory.  Pages which don't have vm_page (== can't be used for
generic use), but whose PV are tracked, are called "direct pages" from
now.

Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Thu Apr 29 06:29:29 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.7: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.7: +1 -1 lines
Don't specify anything in "int flags" of bus_space_physload_device(9)
for now.

Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Wed Apr 28 16:33:47 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.6: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.6: +1 -2 lines
When mounting a block device as XIP, pass registered struct vm_physseg
* as a cookie from the block device to the caller (== mount code).
struct vm_physseg * will be passed to XIP vnode pager
(genfs_do_getpages_xip()), then converted back to paddr_t.

(My future plan is to pass struct vm_physseg * back to the fault handler,
and to pmap_enter() as is.)

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Wed Apr 28 14:56:13 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.5: +1 -1 lines
Initial implemention of bus_space_physload(9) for NetBSD/arm (only i.MX31
for now).

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Wed Apr 28 13:41:41 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +9 -0 lines
At device attachment, register the given bus address region as possible
"managed" region using the new bus_space_physload_device(9) API.

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 28 05:03:58 2010 UTC (16 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +3 -2 lines
To mount block devices as XIP, pass physical address "cookie" used by
bus_space_mmap(9) / pmap_phys_addr(9) via struct mount.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sun Feb 28 04:36:27 2010 UTC (16 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +46 -1 lines
Implement mmap() entry using bus_space_mmap(9).  Put a common init code.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Wed Feb 24 01:19:37 2010 UTC (16 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +44 -3 lines
Implement DIOCGPHYSADDR, a special block device ioctl for block devices that
can be directly memory-mapped.  When such a device is mounted, VFS checks
the backing store is XIP capable by querying this ioctl.

Add struct disk to struct flash_softc and let it do common bdev tasks.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Feb 12 01:36:02 2010 UTC (16 years, 9 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +155 -0 lines
Minimal NOR FlashROM driver to demonstrate the coming XIP functionality.

Revision 1.1
Fri Feb 12 01:36:02 2010 UTC (16 years, 9 months ago) by uebayasi
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base2, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, thorpej-futex-base, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, localcount-20160914, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, isaki-audio2-base, isaki-audio2, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Branch point for: uebayasi-xip
FILE REMOVED
file flash.c was initially added on branch uebayasi-xip.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>