Rev 1787 | Rev 2082 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1888 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup ia32 |
29 | /** @addtogroup ia32 |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef __ia32_BARRIER_H__ |
35 | #ifndef KERN_ia32_BARRIER_H_ |
36 | #define __ia32_BARRIER_H__ |
36 | #define KERN_ia32_BARRIER_H_ |
37 | 37 | ||
38 | /* |
38 | /* |
39 | * NOTE: |
39 | * NOTE: |
40 | * No barriers for critical section (i.e. spinlock) on IA-32 are needed: |
40 | * No barriers for critical section (i.e. spinlock) on IA-32 are needed: |
41 | * - spinlock_lock() and spinlock_trylock() use serializing XCHG instruction |
41 | * - spinlock_lock() and spinlock_trylock() use serializing XCHG instruction |
Line 84... | Line 84... | ||
84 | # endif |
84 | # endif |
85 | #endif |
85 | #endif |
86 | 86 | ||
87 | #endif |
87 | #endif |
88 | 88 | ||
89 | /** @} |
89 | /** @} |
90 | */ |
90 | */ |
91 | - |