mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-07-08 05:58:59 +00:00
include: Add __packed define for packed structures
This patch adds __packed define for specifying packed attribute of structures. Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
parent
924a26d82f
commit
4485b5cba8
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ typedef unsigned long physical_size_t;
|
|||
|
||||
#define NULL ((void *)0)
|
||||
|
||||
#define __packed __attribute__((packed))
|
||||
#define __noreturn __attribute__((noreturn))
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue