forked from mirage/shared-memory-ring
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the C xenstore/console stubs to the test directory and out of th…
…e main library
- Loading branch information
David Scott
committed
Dec 7, 2012
1 parent
2761f01
commit fb314fb
Showing
15 changed files
with
585 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* Taken from include/minios/x86/os.h | ||
* | ||
* random collection of macros and definition | ||
*/ | ||
|
||
#ifndef _BARRIER_H_ | ||
#define _BARRIER_H_ | ||
|
||
/* This is a barrier for the compiler only, NOT the processor! */ | ||
#define barrier() __asm__ __volatile__("": : :"memory") | ||
|
||
#define mb() __asm__ __volatile__ ("mfence":::"memory") | ||
#define rmb() __asm__ __volatile__ ("lfence":::"memory") | ||
#define wmb() __asm__ __volatile__ ("sfence" ::: "memory") /* From CONFIG_UNORDERED_IO (linux) */ | ||
|
||
#endif /* _BARRIER_H_ */ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: 86f72fd814e3fd5b29a7347de47f1c81) | ||
old_ring_stubs.o | ||
# OASIS_STOP |
Oops, something went wrong.