From 07f390ed8345fc566ab1e7ffa01fdd65309b5706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sun, 3 Nov 2013 14:49:08 +0000 Subject: [PATCH] make resource descriptor structures packed --- BaS_gcc/include/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaS_gcc/include/pci.h b/BaS_gcc/include/pci.h index 85b2cc5..e8d700e 100644 --- a/BaS_gcc/include/pci.h +++ b/BaS_gcc/include/pci.h @@ -106,7 +106,7 @@ typedef struct /* structure of resource descriptor */ unsigned long length; /* length of resource */ unsigned long offset; /* offset PCI to phys. CPU Address */ unsigned long dmaoffset; /* offset for DMA-transfers */ -} PCI_RSC_DESC; +} __attribute__ ((packed)) PCI_RSC_DESC; typedef struct /* structure of address conversion */ {