Adding bus_barrier macro to compatibility layer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26312 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a042907733
commit
f90a5e346d
@ -70,6 +70,9 @@ bus_space_barrier(bus_space_tag_t tag, bus_space_handle_t handle,
|
||||
__asm__ __volatile__ ("" : : : "memory");
|
||||
}
|
||||
|
||||
#define bus_barrier(r, o, l, f) \
|
||||
bus_space_barrier((r)->r_bustag, (r)->r_bushandle, (o), (l), (f))
|
||||
|
||||
struct resource;
|
||||
|
||||
struct resource_spec {
|
||||
|
Loading…
Reference in New Issue
Block a user