--- tme/host/posix/posix-memory.c 2018/04/24 16:37:52 1.1.1.1 +++ tme/host/posix/posix-memory.c 2018/04/24 16:42:23 1.1.1.3 @@ -1,6 +1,6 @@ -/* $Id: posix-memory.c,v 1.1.1.1 2018/04/24 16:37:52 root Exp $ */ +/* $Id: posix-memory.c,v 1.1.1.3 2018/04/24 16:42:23 root Exp $ */ -/* host/posix/memory.c - implementation of memory on a POSIX system: */ +/* host/posix/posix-memory.c - implementation of memory on a POSIX system: */ /* * Copyright (c) 2003 Matt Fredette @@ -34,7 +34,7 @@ */ #include -_TME_RCSID("$Id: posix-memory.c,v 1.1.1.1 2018/04/24 16:37:52 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: */ @@ -176,9 +176,9 @@ TME_ELEMENT_SUB_NEW_DECL(tme_host_posix, arg_i += 2; } - /* we are nonvolatile storage if our arguments are: + /* we are persistent storage if our arguments are: - nonvolatile FILE + persistent FILE */ else if (TME_ARG_IS(args[arg_i + 0], "persistent")