The NetBSD Project

CVS log for src/sys/arch/riscv/include/sysreg.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Mon Feb 5 21:46:05 2024 UTC (2 weeks, 5 days ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

fix various typos in comments.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Dec 25 13:31:00 2023 UTC (2 months ago) by skrll
Branch: MAIN
Changes since 1.29: +1 -4 lines
Diff to previous 1.29 (colored)

G/C ununsed and incorrect SIE_IM

Revision 1.29 / (download) - annotate - [select for diffs], Sun May 7 12:41:48 2023 UTC (9 months, 2 weeks ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.28: +30 -24 lines
Diff to previous 1.28 (colored)

RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).

Revision 1.28 / (download) - annotate - [select for diffs], Sat Dec 3 11:09:59 2022 UTC (14 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored)

leading whitespace... oops

Revision 1.27 / (download) - annotate - [select for diffs], Fri Nov 18 06:53:06 2022 UTC (15 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.26: +25 -23 lines
Diff to previous 1.26 (colored)

Fix SR_WPRI.

Tweak csr_cycle_read and csr_asid_write for code style, and add some
KNF whitespace.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Nov 17 13:10:42 2022 UTC (15 months, 1 week ago) by simonb
Branch: MAIN
Changes since 1.25: +64 -59 lines
Diff to previous 1.25 (colored)

Document lots of bits.
Remove bits no longer in the RISC-V supervisor spec.
Update defines for the user-mode sstatus value.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Nov 15 14:33:33 2022 UTC (15 months, 1 week ago) by simonb
Branch: MAIN
Changes since 1.24: +74 -59 lines
Diff to previous 1.24 (colored)

Use similar macro-magic to aarch64 armreg.h to add per-csr
read/write/set-bits/clear-bits inline functions.  Keep the
open-coded 32-bit version of riscvreg_cycle_read() than reads
a 64-bit cycle counter values.

Added benefit of fixing these so that the inline asm uses __volatile
and aren't opmtimised to nops by the compiler.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Nov 13 08:13:55 2022 UTC (15 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Comment fix

Revision 1.23 / (download) - annotate - [select for diffs], Sat Nov 12 07:05:40 2022 UTC (15 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.22: +9 -9 lines
Diff to previous 1.22 (colored)

Use uintptr_t consistently rather than register_t

Revision 1.22 / (download) - annotate - [select for diffs], Fri Nov 11 01:18:32 2022 UTC (15 months, 2 weeks ago) by simonb
Branch: MAIN
Changes since 1.21: +9 -9 lines
Diff to previous 1.21 (colored)

The supervisor status register is the native word width, not fixed
at 32 bits.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 8 13:47:09 2022 UTC (15 months, 2 weeks ago) by simonb
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Parentheses police.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 8 13:35:32 2022 UTC (15 months, 2 weeks ago) by simonb
Branch: MAIN
Changes since 1.19: +15 -3 lines
Diff to previous 1.19 (colored)

Add cause register trap types, and some macros to access cause register
fields.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Nov 8 12:48:28 2022 UTC (15 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

whitepsace nit

Revision 1.18 / (download) - annotate - [select for diffs], Sat Oct 15 06:53:49 2022 UTC (16 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Fix typo in SATP_MODE_SV64

Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 15 06:52:35 2022 UTC (16 months, 1 week ago) by simonb
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Consistency nit: use "__volatile" instead of "volatile" with asm()s.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Oct 15 06:48:31 2022 UTC (16 months, 1 week ago) by simonb
Branch: MAIN
Changes since 1.15: +5 -1 lines
Diff to previous 1.15 (colored)

Add SATP modes for bare, SV57 and SV64.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Oct 15 06:41:43 2022 UTC (16 months, 1 week ago) by simonb
Branch: MAIN
Changes since 1.14: +74 -74 lines
Diff to previous 1.14 (colored)

#define<tab>

Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 10 09:28:26 2022 UTC (17 months, 2 weeks ago) by skrll
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Remove unnecessary cast.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:27 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.11: +23 -7 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Sat May 1 07:09:55 2021 UTC (2 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.12: +17 -1 lines
Diff to previous 1.12 (colored)

Provide riscvreg_satp_{read,write}

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 1 07:09:04 2021 UTC (2 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)

Indent the FCSR_FRM value #defines

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Sun Jan 3 16:34:55 2021 UTC (3 years, 1 month ago) by thorpej
Branch: thorpej-futex
Changes since 1.5.4.1: +3 -3 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync w/ HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 16 19:49:04 2020 UTC (3 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs
Branch point for: thorpej-i2c-spi-conf
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

interupt -> interrupt

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:00 2020 UTC (3 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.5: +95 -33 lines
Diff to previous 1.5 (colored)

Sync w/ HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 4 20:05:47 2020 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

Miscellaneous updates to reflect riscv-privileged-20190608.pdf

Some from zmcgrew@

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 4 06:56:56 2020 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.8: +69 -16 lines
Diff to previous 1.8 (colored)

Miscellaneous updates to reflect riscv-privileged-20190608.pdf

Some from zmcgrew@

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 2 08:37:59 2020 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

Add SATP_MODE values

Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 2 08:36:54 2020 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.6: +7 -7 lines
Diff to previous 1.6 (colored)

Whitespace

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 1 21:09:48 2020 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.5: +17 -11 lines
Diff to previous 1.5 (colored)

Update CAUSE_* defines to reflect riscv-privileged-20190608.pdf

Revision 1.3.20.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:05 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.3.20.1: +20 -19 lines
Diff to previous 1.3.20.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.3.20.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:50 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Merge changes from current as of 20200406

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 14 16:12:16 2020 UTC (3 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Branch point for: thorpej-futex
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Trailing whitespace

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 16 07:42:52 2019 UTC (4 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.3: +21 -20 lines
Diff to previous 1.3 (colored)

Misc changes in RISC-V.

Revision 1.3.16.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:39 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3.16.1: +220 -0 lines
Diff to previous 1.3.16.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

update from HEAD

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:01 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1: +42 -14 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.3.16.1, Tue Mar 31 01:14:02 2015 UTC (8 years, 10 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3: +0 -220 lines
FILE REMOVED

file sysreg.h was added on branch tls-maxphys on 2017-12-03 11:36:39 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 31 01:14:02 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, 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, 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, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: tls-maxphys, phil-wifi
Changes since 1.2: +1 -11 lines
Diff to previous 1.2 (colored)

No more fatc (replaced by sfence.vm instruction).

Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 28 16:13:56 2015 UTC (8 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.1: +52 -14 lines
Diff to previous 1.1 (colored)

Beginnings of RISCV kernel support.  Note that the pmap support is not yet
committed and probably won't be for awhile.  This is mostly preliminary
waiting for the supervisor specification to come out.  Lots of missing pieces
but it mostly builds.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 19 17:36:26 2014 UTC (9 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb

New files for Userland support of UCB RISC-V (both 32-bit and 64-bit)

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>