mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Replace all __attribute__((aligned(x)) with aligned_data(x)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
9c3799f130
commit
b3f9ffbe72
@@ -336,7 +336,7 @@
|
||||
|
||||
/* DMA descriptor buffer alignment to 32 bytes */
|
||||
|
||||
#define NX_ALIGN32 __attribute__((aligned(32)))
|
||||
#define NX_ALIGN32 aligned_data(32)
|
||||
|
||||
/****************************************************************************
|
||||
* Public Variables
|
||||
|
||||
@@ -250,12 +250,12 @@ struct rx65n_usbhost_list_s
|
||||
/* Variable length buffer data follows */
|
||||
};
|
||||
|
||||
struct rx65n_usbhost_ed_s __attribute__ ((aligned (32)));
|
||||
struct rx65n_usbhost_gtd_s __attribute__ ((aligned (32)));
|
||||
struct rx65n_usbhost_ed_s aligned_data(32);
|
||||
struct rx65n_usbhost_gtd_s aligned_data(32);
|
||||
|
||||
/* This must be aligned to a 256-byte boundary */
|
||||
|
||||
static struct ohci_hcca_s g_hcca __attribute__ ((aligned (256)));
|
||||
static struct ohci_hcca_s g_hcca aligned_data(256);
|
||||
static struct ohci_hcca_s *HCCA;
|
||||
|
||||
static struct rx65n_usbhost_gtd_s *TDTAIL;
|
||||
|
||||
Reference in New Issue
Block a user