diff options
author | Andrew Waterman <andrew@sifive.com> | 2017-02-20 21:43:09 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2017-02-20 21:43:09 -0800 |
commit | f6bca6e35b66632afad68f6b7fb2b3203c8502fb (patch) | |
tree | 3f8d691713d96ef4e7f57b8504691e68cdcda6f7 /pk/mmap.h | |
parent | 59484c94e161b0f1870096cfb183533b20569669 (diff) | |
download | pk-f6bca6e35b66632afad68f6b7fb2b3203c8502fb.zip pk-f6bca6e35b66632afad68f6b7fb2b3203c8502fb.tar.gz pk-f6bca6e35b66632afad68f6b7fb2b3203c8502fb.tar.bz2 |
Don't block for acks on console writes
Diffstat (limited to 'pk/mmap.h')
-rw-r--r-- | pk/mmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -33,6 +33,7 @@ uintptr_t do_mprotect(uintptr_t addr, size_t length, int prot); uintptr_t do_brk(uintptr_t addr); #define va2pa(va) ({ uintptr_t __va = (uintptr_t)(va); \ + extern uintptr_t first_free_paddr; \ __va >= DRAM_BASE ? __va : __va + first_free_paddr; }) #endif |