Home | History | Annotate | Download | only in include
History log of /src/sys/arch/riscv/include/types.h
RevisionDateAuthorComments
 1.19  23-Nov-2024  skrll risc-v: add __HAVE_MM_MD_KERNACC (basic) support.
 1.18  04-Aug-2024  skrll spaces to tabs
 1.17  06-Apr-2024  skrll Provide and use _ucas_{32,64} implementations
 1.16  07-May-2023  skrll RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.15  08-Nov-2022  simonb Add a #define for XLEN, the RISC-V native base integer ISA width.
 1.14  18-Oct-2022  skrll VSXLEN=64 supports 16-bit ASID space so change tlb_asid_t to be big
enough. Spotted by Simon.
 1.13  11-Sep-2022  skrll Add some bus_space(9), bus_dma(9) and FDT infrastructure. Baby steps.

Remove the RISC-V Host Target Interface (HTIF) Emulation code.
 1.12  03-May-2021  skrll Sort __HAVE_ #defines. NFCI.
 1.11  01-May-2021  skrll Make paddr_t/psize_t __uint64_t for both 32 and 64 bit ports
 1.10  01-Apr-2021  simonb branches: 1.10.2;
Whitespace: #define<tab>
 1.9  22-Mar-2020  ad branches: 1.9.4; 1.9.6;
Temporarily mark hppa, mips, powerpc and riscv with __HAVE_UNLOCKED_PMAP,
for the benefit of UVM.

These need some pmap changes to support concurrent faults on the same
object. I have changes to do just that, but they're a work in progress.
 1.8  14-Mar-2020  skrll Trailing whitespace
 1.7  12-Jul-2018  maxv Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

* Removes "options PERFCTRS", the associated includes, and the associated
ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
good.

* Removes the PMC code of ARM XSCALE.

* Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

* Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
definitions are put in sysarch.h.

* Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
netbsd32 and rump.

* Removes the pmc_evid_t and pmc_ctr_t types.

* Removes all the associated man pages. The sets are marked as obsolete.
 1.6  26-Jan-2017  christos branches: 1.6.12; 1.6.14; 1.6.16;
provide __HAVE_COMPAT_NETBSD32 and fix multiple include protection consistently.
 1.5  23-Jan-2016  christos branches: 1.5.2; 1.5.4;
expose the kernel types for standalone code.
 1.4  23-Jan-2016  christos Hide {p,v}{addr,size}_t and register_t (and a couple more types that
are machine-specific) from userland unless _KERNEL/_KMEMUSER and a
new _KERNTYPES variables is defined. The _KERNTYPES should be fixed
for many subsystems that should not be using it (rump)...
 1.3  27-Aug-2015  pooka Fix PTHREAD_FOO_INITIALIZER for C++ by not using volatile in the relevant
pthread types in C++ builds, attempt 2.

The problem with attempt 1 was making assumptions of what the MD
__cpu_simple_lock_t (declared volatile) looks like. To get a same type
except non-volatile, we change the MD type to __cpu_simple_lock_nv_t
and typedef __cpu_simple_lock_t as a volatile __cpu_simple_lock_nv_t.
IMO, __cpu_simple_lock_t should not be volatile at all, but changing it
now is too risky.

Fixes at least Rumprun w/ gcc 5.1/5.2. Furthermore, the mpd application
(and possibly others) will no longer require NetBSD-specific patches.

Tested: build.sh for i386, Rumprun for x86_64 w/ gcc 5.2.

Based on the patch from Christos in lib/49989.
 1.2  28-Mar-2015  matt 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.
 1.1  19-Sep-2014  matt branches: 1.1.2;
New files for Userland support of UCB RISC-V (both 32-bit and 64-bit)
 1.1.2.4  05-Feb-2017  skrll Sync with HEAD
 1.1.2.3  19-Mar-2016  skrll Sync with HEAD
 1.1.2.2  22-Sep-2015  skrll Sync with HEAD
 1.1.2.1  06-Apr-2015  skrll Sync with HEAD
 1.5.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.5.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.6.16.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.6.16.1  10-Jun-2019  christos Sync with HEAD
 1.6.14.1  28-Jul-2018  pgoyette Sync with HEAD
 1.6.12.2  03-Dec-2017  jdolecek update from HEAD
 1.6.12.1  26-Jan-2017  jdolecek file types.h was added on branch tls-maxphys on 2017-12-03 11:36:39 +0000
 1.9.6.1  03-Apr-2021  thorpej Sync with HEAD.
 1.9.4.1  03-Apr-2021  thorpej Sync with HEAD.
 1.10.2.1  13-May-2021  thorpej Sync with HEAD.

RSS XML Feed