[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Minios-devel] [UNIKRAFT PATCH] plat/kvm: Fix __packed macro usage in multiboot.h
- To: minios-devel@xxxxxxxxxxxxx
- From: Costin Lupu <costin.lupu@xxxxxxxxx>
- Date: Fri, 27 Apr 2018 18:38:39 +0300
- Cc: simon.kuenzer@xxxxxxxxx
- Delivery-date: Fri, 27 Apr 2018 15:39:23 +0000
- Ironport-phdr: 9a23:I17nJRKll9fYTIVAttmcpTZWNBhigK39O0sv0rFitYgeKv7xwZ3uMQTl6Ol3ixeRBMOHs6kC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwtFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhicZOTAk/m/Zict+gblHrB69vRFz35TZbJ2JOPd4Y6jTfckaRW1EXstJSSFBBZi8b5cOD+oHIO1WqZT9p0MTrRCjAgSjGOTvyiRUhn/32602yeAhERze3Aw9BN8BrG/UoM/tNKcPSu+51rPIzTLaYv5QxDzz65DIfwg8rfyDQL58a8ncxEk1Gw/bkFmdq5bpMj2N2ugQvGWX8vBsWOGvhmI9tQ18rDaiyt0xhoTGmI4YzE3P+z9jz4YvP9K4TVZ2YdujEJRNqS6XL5B2QsY+Q2FwvyY616EGtYa7fCcUzJQnwAbSa+KCc4eS4xLjUPydLitjhH5/YLK/mg29/VK6yu37TsW00VBKoTRZktTUq3wA2AHf5tKER/Z95EutxyiD2gLJ5uxKOUw0kLDUK58lwr4+jJoTtkHDEzfql0Xxl6+WakQk+u6y5+Tjf7XmvoKcOpRohQHlKKgugtG/Dv8iPggUWGiX4f6826H7/U3lXLVKieU7kqzYsJDcJMQbobW5DxZI3Yk99RawETOm3c8cnXkGN1JFZAmHg5LmOl7QJvD0F/C/g06jkD1z3fDJIqXhAonRLnjEiLrhZrd960tbyAo119xf5I9UBa8HIPPyREDxrsfVDhknPAOox+boEs5y2pkAVmKSUeelN/bXsFmJ4flqL+SSaYs9vDfmN+Nj9/Poy3gjlgwzZ66siLAQc2y5GLxCPl2EKS7nhcwdEGFMuhcmUcThkxuaTDQVfXHkDPF03S0yFI/zVdSLfYuqmrHUhCo=
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
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;
--
2.1.4
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|