465b6773 | 04-Jul-2022 |
Matthew Dillon <dillon@apollo.backplane.com> |
debug - more ncptrace enhancements
* Accumulate counts for unres, leafs, fache, and negative entries, and print at the end. |
edaa2878 | 19-Jun-2021 |
Aaron LI <aly@aaronly.me> |
testcases/libnvmm: Improve makefile to not write in source tree
Both build and dfregress(8) would write output in place in the source tree, which however may be on a readonly mount via NFS. Improve
testcases/libnvmm: Improve makefile to not write in source tree
Both build and dfregress(8) would write output in place in the source tree, which however may be on a readonly mount via NFS. Improve the makefile to cpdup the whole directory to /tmp and then do everything there. (credit to Matt Dillon for the idea)
show more ...
|
e0caa2c9 | 13-Jun-2021 |
Aaron LI <aly@aaronly.me> |
test/nvmm/demo: Rewrite makefiles to not write in source tree
Rewrite the makefiles so it no longer write in the source tree but output in the /tmp directory. This is useful for building with a NFS
test/nvmm/demo: Rewrite makefiles to not write in source tree
Rewrite the makefiles so it no longer write in the source tree but output in the /tmp directory. This is useful for building with a NFS-exported readonly mount of the source tree (e.g., used by dillon).
show more ...
|
3bac6f2a | 08-Jun-2021 |
Aaron LI <aly@aaronly.me> |
test/nvmm/demo: Make 'smallkern' more self-contained
Provide local 'asm.h' and 'trap.h' headers (derived from NetBSD), extract necessary PTE_* and PSL_* defines, making 'smallkern' much more self-co
test/nvmm/demo: Make 'smallkern' more self-contained
Provide local 'asm.h' and 'trap.h' headers (derived from NetBSD), extract necessary PTE_* and PSL_* defines, making 'smallkern' much more self-contained, which greatly reduces the needed modifications for porting it to DragonFly. Moreover, it helps to keep the ported code working on both operating systems.
show more ...
|
aaa1e810 | 08-Jun-2021 |
Aaron LI <aly@aaronly.me> |
test/nvmm/demo: Various cleanups to 'smallkern'
* Remove unused variables, symbols, function prototypes and functions. * Move function prototypes and 'extern' declarations to header files. * Add 'st
test/nvmm/demo: Various cleanups to 'smallkern'
* Remove unused variables, symbols, function prototypes and functions. * Move function prototypes and 'extern' declarations to header files. * Add 'static' qualifier for file-local variables. * Add inclusion guard to header files. * Various minor adjustments.
show more ...
|
f2252fff | 06-Jun-2021 |
Aaron LI <aly@aaronly.me> |
test/nvmm/demo: Fix ELF load/mmap issue on DragonFly
The 'smallkern' ELF built on DragonFly has a zero-sized GNU_STACK segment, which causes mmap() to fail (EINVAL). Add conditionals in elf_parse()
test/nvmm/demo: Fix ELF load/mmap issue on DragonFly
The 'smallkern' ELF built on DragonFly has a zero-sized GNU_STACK segment, which causes mmap() to fail (EINVAL). Add conditionals in elf_parse() to ignore such a segment (while also check for unsupported non-LOAD segments).
Now 'toyvirt' correctly loads the 'smallkern' ELF on DragonFly.
In addition, assert in toyvirt_mem_add() that the size must be greater than zero.
show more ...
|
2efd87c6 | 27-May-2021 |
Aaron LI <aly@aaronly.me> |
test/nvmm/demo: Update 'toyvirt' to current libnvmm(3)
Various adjustments to the demo code to make it work again with the current libnvmm(3) API in NetBSD 9.1.
In addition, add one more return che
test/nvmm/demo: Update 'toyvirt' to current libnvmm(3)
Various adjustments to the demo code to make it work again with the current libnvmm(3) API in NetBSD 9.1.
In addition, add one more return check of nvmm_vcpu_configure() and improve the logging messages a bit. Update the example output in README accordingly.
Tested on NetBSD 9.1. Porting to DragonFly follows.
show more ...
|