--- tme/host/posix/posix-memory.c 2018/04/24 16:39:14 1.1.1.2 +++ tme/host/posix/posix-memory.c 2018/04/24 16:42:23 1.1.1.3 @@ -1,4 +1,4 @@ -/* $Id: posix-memory.c,v 1.1.1.2 2018/04/24 16:39:14 root Exp $ */ +/* $Id: posix-memory.c,v 1.1.1.3 2018/04/24 16:42:23 root Exp $ */ /* host/posix/posix-memory.c - implementation of memory on a POSIX system: */ @@ -34,7 +34,7 @@ */ #include -_TME_RCSID("$Id: posix-memory.c,v 1.1.1.2 2018/04/24 16:39:14 root Exp $"); +_TME_RCSID("$Id: posix-memory.c,v 1.1.1.3 2018/04/24 16:42:23 root Exp $"); /* includes: */ #include @@ -114,8 +114,8 @@ _tme_posix_memory_tlb_fill(void *_memory tme_bus_tlb_initialize(tlb); /* this TLB entry can cover the whole device: */ - TME_ATOMIC_WRITE(tme_bus_addr_t, tlb->tme_bus_tlb_addr_first, 0); - TME_ATOMIC_WRITE(tme_bus_addr_t, tlb->tme_bus_tlb_addr_last, memory_address_last); + tlb->tme_bus_tlb_addr_first = 0; + tlb->tme_bus_tlb_addr_last = memory_address_last; /* all memory devices allow fast reading. all memory devices except ROMs allow fast writing: */