Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD.
PATCH 2/3 Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD.
Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures.
--- tcg/mips/tcg-target.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
tcg/mips/tcg-target.h +4 -0
@@ -102,7 +102,11 @@ enum {/* guest base is supported */ #define TCG_TARGET_HAS_GUEST_BASE +#ifdef __OpenBSD__ +#include <machine/sysarch.h> +#else #include <sys/cachectl.h> +#endif static inline void flush_icache_range (unsigned long start,unsigned long stop) {
Signature · 6 lines
1.7.5 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Quoted 2 lines · Brad
Use the correct header in the TCG MIPS code to find
cacheflush()on OpenBSD to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures.
ping.
Quoted 22 lines
Signed-off-by Brad Smith<[email protected]>--- tcg/mips/tcg-target.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)tcg/mips/tcg-target.h +4
-0@@ -102,7 +102,11 @@ enum {/* guest base is supported */ #define TCG_TARGET_HAS_GUEST_BASE +#ifdef __OpenBSD__ +#include <machine/sysarch.h> +#else #include <sys/cachectl.h> +#endif static inline void flush_icache_range (unsigned long start,unsigned long stop) {
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Am 30.05.2011 um 23:01 schrieb Brad:
Quoted 20 lines · Brad
Quoted 2 lines
Use the correct header in the TCG MIPS code to find
cacheflush()on OpenBSD to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures.ping.
Quoted 14 lines
Signed-off-by Brad Smith<[email protected]>--- tcg/mips/tcg-target.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)tcg/mips/tcg-target.h +0
-0@@ -102,7 +102,11 @@ enum {/* guest base is supported */ #define TCG_TARGET_HAS_GUEST_BASE
Quoted 2 lines
tcg/mips/tcg-target.h enum { · line 106
Quoted 2 lines
tcg/mips/tcg-target.h +2
-0+#ifdef __OpenBSD__ +#include <machine/sysarch.h>
Usually we have a space in there. Bad example below. ;)
Quoted 7 lines
Quoted 7 lines
tcg/mips/tcg-target.h +2
-0+#else #include <sys/cachectl.h> +#endif static inline void flush_icache_range (unsigned long start,unsigned long stop){
Quoted 24 lines · Andreas Färber
Am 30.05.2011 um 23:01 schrieb Brad:
Quoted 22 lines · Brad
Quoted 4 lines
Use the correct header in the TCG MIPS code to find
cacheflush()on OpenBSD
to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures.ping.
Quoted 14 lines
Signed-off-by Brad Smith<[email protected]>---
tcg/mips/tcg-target.h| 4 ++++1 files changed, 4 insertions(+), 0 deletions(-)tcg/mips/tcg-target.h +0
-0@@ -102,7 +102,11 @@ enum {/* guest base is supported */ #define TCG_TARGET_HAS_GUEST_BASE
Quoted 4 lines
Quoted 2 lines
tcg/mips/tcg-target.h enum { · line 106
Quoted 2 lines
tcg/mips/tcg-target.h +2
-0+#ifdef __OpenBSD__ +#include <machine/sysarch.h> Usually we have a space in there. Bad example below. ;)
In the original diff as it came across the mailing list even there is a space.
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Quoted 25 lines · Brad
Quoted 24 lines · Andreas Färber
Am 30.05.2011 um 23:01 schrieb Brad:
Quoted 22 lines · Brad
Quoted 4 lines
Use the correct header in the TCG MIPS code to find
cacheflush()on OpenBSD
to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures.ping.
Quoted 14 lines
Signed-off-by Brad Smith<[email protected]>---
tcg/mips/tcg-target.h| 4 ++++1 files changed, 4 insertions(+), 0 deletions(-)tcg/mips/tcg-target.h +0
-0@@ -102,7 +102,11 @@ enum {/* guest base is supported */ #define TCG_TARGET_HAS_GUEST_BASE
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
tcg/mips/tcg-target.h enum { · line 106
Quoted 2 lines
tcg/mips/tcg-target.h +2
-0+#ifdef __OpenBSD__ +#include <machine/sysarch.h> Usually we have a space in there. Bad example below. ;)
In the original diff as it came across the mailing list even there is a space.
Looks like a case of stupid ThunderBird mangling the e-mail content upon replying. I didn't send the diff with ThunderBird.
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Am 30.05.2011 um 23:22 schrieb Brad:
Quoted 25 lines · Andreas Färber
Quoted 24 lines
Am 30.05.2011 um 23:01 schrieb Brad:
Quoted 22 lines · Brad
Quoted 4 lines
Use the correct header in the TCG MIPS code to find
cacheflush()on OpenBSD
to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures.ping.
Quoted 14 lines
Signed-off-by Brad Smith<[email protected]>---
tcg/mips/tcg-target.h| 4 ++++1 files changed, 4 insertions(+), 0 deletions(-)tcg/mips/tcg-target.h +0
-0@@ -102,7 +102,11 @@ enum {/* guest base is supported */ #define TCG_TARGET_HAS_GUEST_BASE
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
tcg/mips/tcg-target.h enum { · line 106
Quoted 2 lines
tcg/mips/tcg-target.h +2
-0+#ifdef __OpenBSD__ +#include <machine/sysarch.h> Usually we have a space in there. Bad example below. ;)
In the original diff as it came across the mailing list even there is a space.
Confirmed, looks better on Patchwork: http://patchwork.ozlabs.org/patch/97488/
Andreas
Aurelien Jarno
AppliedQuoted 8 lines · Brad
Use the correct header in the TCG MIPS code to find
cacheflush()on OpenBSD to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures.Signed-off-by Brad Smith <[email protected]>--- tcg/mips/tcg-target.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
Thanks, applied.
Quoted 26 lines
tcg/mips/tcg-target.h +4
-0@@ -102,7 +102,11 @@ enum {/* guest base is supported */ #define TCG_TARGET_HAS_GUEST_BASE +#ifdef __OpenBSD__ +#include <machine/sysarch.h> +#else #include <sys/cachectl.h> +#endif static inline void flush_icache_range (unsigned long start,unsigned long stop) {Signature · 6 lines
1.7.5 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net