hw_x86_64_muen: Assert subject_info_type size

This commit is contained in:
Adrian-Ken Rueegsegger 2016-10-10 16:51:10 +02:00 committed by Christian Helmuth
parent c16aa05f19
commit 712213af24
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@
#include "musinfo.h"
static_assert(sizeof(subject_info_type) <= Sinfo::SIZE,
"Size of subject info type larger than Sinfo::SIZE.");
/* Log channel information */
static bool log_channel(
const struct Genode::Sinfo::Channel_info * const channel,