Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
7bdbe18e
Commit
7bdbe18e
authored
Apr 14, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e57a136e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
bigfile/tests/test_virtmem.c
bigfile/tests/test_virtmem.c
+6
-6
No files found.
bigfile/tests/test_virtmem.c
View file @
7bdbe18e
...
...
@@ -339,8 +339,8 @@ void test_file_access_synthetic(void)
size_t
PS
,
PSb
;
int
err
;
/* MUST_FAULT(code) - checks that code faults */
/* somewhat dup in wcfs
_test.pyx
*/
/* MUST_FAULT(code) - checks that code faults
*/
/* somewhat dup in wcfs
/internal/wcfs_test.pyx
*/
sigjmp_buf
fault_jmp
;
volatile
int
fault_expected
=
0
;
void
sigfault_handler
(
int
sig
)
{
...
...
@@ -1115,8 +1115,8 @@ void test_pagefault_savestate()
/* 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
* data and everything else comes as read-only mmap from wcfs file.
*
"mmap overlay" is virtmem mode used with wcfs: RAM pages are used only for
* d
irtied d
ata and everything else comes as read-only mmap from wcfs file.
*/
/* BigFileMMap is BigFile that mmaps blkdata for read from a regular file.
...
...
@@ -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. */
void
test_file_access_mmap
base
(
void
)
void
test_file_access_mmap
overlay
(
void
)
{
RAM
*
ram
;
BigFileH
fh_struct
,
*
fh
=
&
fh_struct
;
...
...
@@ -1652,6 +1652,6 @@ int main()
test_file_access_synthetic
();
test_file_access_pagefault
();
test_pagefault_savestate
();
test_file_access_mmap
base
();
test_file_access_mmap
overlay
();
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment