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

Re: [Minios-devel] [UNIKRAFT PATCH] plat/kvm: Fix __packed macro usage in multiboot.h



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

On 27.04.2018 17:38, Costin Lupu wrote:
When using nolibc, multiboot_mmap_entry structure layout was padded
instead of packed because the __packed macro definition was not
properly evaluated.

Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
  plat/kvm/include/kvm-x86/multiboot.h | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/plat/kvm/include/kvm-x86/multiboot.h 
b/plat/kvm/include/kvm-x86/multiboot.h
index fc3839e..fa3c67c 100644
--- a/plat/kvm/include/kvm-x86/multiboot.h
+++ b/plat/kvm/include/kvm-x86/multiboot.h
@@ -23,6 +23,8 @@
  #ifndef MULTIBOOT_HEADER
  #define MULTIBOOT_HEADER 1
+#include <uk/essentials.h>
+
  typedef unsigned char multiboot_uint8_t;
  typedef unsigned short multiboot_uint16_t;
  typedef unsigned int multiboot_uint32_t;


_______________________________________________
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®.