[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCH 11/17] arch/x86_64: Add nop() macro



Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>

On 04.04.2018 15:54, Costin Lupu wrote:
Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
  include/uk/arch/x86_64/lcpu.h | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/include/uk/arch/x86_64/lcpu.h b/include/uk/arch/x86_64/lcpu.h
index 640ff68..1750c6f 100644
--- a/include/uk/arch/x86_64/lcpu.h
+++ b/include/uk/arch/x86_64/lcpu.h
@@ -43,3 +43,7 @@
  #ifndef wmb
  #define wmb()   __asm__ __volatile__ ("sfence" : : : "memory")
  #endif
+
+#ifndef nop
+#define nop()   __asm__ __volatile__ ("nop" : : : "memory")
+#endif


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.