Commit 7bdbe18e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e57a136e
...@@ -339,8 +339,8 @@ void test_file_access_synthetic(void) ...@@ -339,8 +339,8 @@ void test_file_access_synthetic(void)
size_t PS, PSb; size_t PS, PSb;
int err; int err;
/* MUST_FAULT(code) - checks that code faults */ /* MUST_FAULT(code) - checks that code faults */
/* somewhat dup in wcfs_test.pyx */ /* somewhat dup in wcfs/internal/wcfs_test.pyx */
sigjmp_buf fault_jmp; sigjmp_buf fault_jmp;
volatile int fault_expected = 0; volatile int fault_expected = 0;
void sigfault_handler(int sig) { void sigfault_handler(int sig) {
...@@ -1115,8 +1115,8 @@ void test_pagefault_savestate() ...@@ -1115,8 +1115,8 @@ void test_pagefault_savestate()
/* test access to file mappings with file having .mmap* instead of .loadblk /* test access to file mappings with file having .mmap* instead of .loadblk
* *
* mmapbase is virtmem mode used with wcfs: RAM pages are used only for dirtied * "mmap overlay" is virtmem mode used with wcfs: RAM pages are used only for
* data and everything else comes as read-only mmap from wcfs file. * dirtied data and everything else comes as read-only mmap from wcfs file.
*/ */
/* BigFileMMap is BigFile that mmaps blkdata for read from a regular file. /* BigFileMMap is BigFile that mmaps blkdata for read from a regular file.
...@@ -1211,7 +1211,7 @@ static const struct bigfile_ops mmapfile_ops = { ...@@ -1211,7 +1211,7 @@ static const struct bigfile_ops mmapfile_ops = {
/* verify virtmem behaviour when it is given BigFile with .mmap_* to handle data load. */ /* verify virtmem behaviour when it is given BigFile with .mmap_* to handle data load. */
void test_file_access_mmapbase(void) void test_file_access_mmapoverlay(void)
{ {
RAM *ram; RAM *ram;
BigFileH fh_struct, *fh = &fh_struct; BigFileH fh_struct, *fh = &fh_struct;
...@@ -1652,6 +1652,6 @@ int main() ...@@ -1652,6 +1652,6 @@ int main()
test_file_access_synthetic(); test_file_access_synthetic();
test_file_access_pagefault(); test_file_access_pagefault();
test_pagefault_savestate(); test_pagefault_savestate();
test_file_access_mmapbase(); test_file_access_mmapoverlay();
return 0; return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment