s/volatile/__volatile
This commit is contained in:
parent
2538fd4e27
commit
ea4611db47
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: macros.h,v 1.38 2007/03/04 06:00:57 christos Exp $ */
|
||||
/* $NetBSD: macros.h,v 1.39 2007/03/31 06:02:08 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1998, 2000 Ludd, University of Lule}, Sweden.
|
||||
|
@ -98,7 +98,7 @@ vax_memmove(void *to, const void *from, size_t len)
|
|||
if (len > 65535) {
|
||||
__blkcpy(from, to, len);
|
||||
} else {
|
||||
__asm volatile ("movc3 %1,%2,%0"
|
||||
__asm __volatile ("movc3 %1,%2,%0"
|
||||
: "=m" (*(char *)to)
|
||||
: "g" (len), "mo" (*(const char *)from)
|
||||
:"r0","r1","r2","r3","r4","r5","memory","cc");
|
||||
|
@ -114,7 +114,7 @@ vax_memset(void *block, int c, size_t len)
|
|||
if (len > 65535) {
|
||||
__blkset(block, c, len);
|
||||
} else {
|
||||
__asm volatile ("movc5 $0,(%%sp),%2,%1,%0"
|
||||
__asm __volatile ("movc5 $0,(%%sp),%2,%1,%0"
|
||||
: "=m" (*(char *)block)
|
||||
: "g" (len), "g" (c)
|
||||
:"r0","r1","r2","r3","r4","r5","memory","cc");
|
||||
|
|
Loading…
Reference in New Issue