Subversion Repositories HelenOS

Rev

Rev 4055 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4055 Rev 4398
Line 37... Line 37...
37
#include <libarch/types.h>
37
#include <libarch/types.h>
38
 
38
 
39
static inline memory_barrier(void)
39
static inline memory_barrier(void)
40
{
40
{
41
    asm volatile ("membar #LoadLoad | #StoreStore\n" ::: "memory");
41
    asm volatile ("membar #LoadLoad | #StoreStore\n" ::: "memory");
-
 
42
    //asm volatile ("membar #Sync\n" ::: "memory");
42
}
43
}
43
 
44
 
44
static inline void pio_write_8(ioport8_t *port, uint8_t v)
45
static inline void pio_write_8(ioport8_t *port, uint8_t v)
45
{
46
{
46
    *port = v;
47
    *port = v;