summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_scratch.h
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2019-01-14 12:30:15 +0300
committerAnup Patel <anup@brainfault.org>2019-01-16 08:55:25 +0300
commit3298251f0c56b556a8f53632e46020861a2f4f8a (patch)
tree16d1e6e0401db57b2d4dac3f9e1fd62e903c7e34 /include/sbi/sbi_scratch.h
parent4485b5cba86a2488c326c0dee9a1fec2d788b6e8 (diff)
downloadopensbi-3298251f0c56b556a8f53632e46020861a2f4f8a.tar.xz
include: Add documentation for sbi_trap_regs and friends
This patch adds doxygen style documentation for struct sbi_trap_regs and related macros/defines/functions. Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/sbi/sbi_scratch.h')
-rw-r--r--include/sbi/sbi_scratch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi/sbi_scratch.h b/include/sbi/sbi_scratch.h
index ace1a0d..562f7bb 100644
--- a/include/sbi/sbi_scratch.h
+++ b/include/sbi/sbi_scratch.h
@@ -57,7 +57,7 @@ struct sbi_scratch {
unsigned long hartid_to_scratch;
/** IPI type (or flags) */
unsigned long ipi_type;
-} __attribute__((packed));
+} __packed;
/** Get pointer to sbi_scratch for current HART */
#define sbi_scratch_thishart_ptr() \