Commit 161bb822 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d4f1670c
......@@ -201,7 +201,6 @@ const char *__tsan_default_options()
/* whether appropriate page of vma is mapped */
// XXX BUG on out-of-bounds
int M(VMA *vma, pgoff_t idx) { return bitmap_test_bit(vma->page_ismappedv, idx); }
......
......@@ -30,7 +30,6 @@ extern "C" {
/* access to vma memory as byte[] and blk_t[] */
// XXX BUG on out-of-bound access
#define b(vma, idx) ( ((volatile uint8_t *)vma->addr_start) [ idx ] )
#define B(vma, idx) ( ((volatile blk_t *)vma->addr_start) [ idx ] )
......
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