hw_x86_64_muen: Add support for subject name to sinfo

This commit is contained in:
Adrian-Ken Rueegsegger
2016-10-25 19:18:24 +02:00
committed by Christian Helmuth
parent 712213af24
commit 86a3e0b8b3
3 changed files with 28 additions and 0 deletions

View File

@@ -86,6 +86,13 @@ class Genode::Sinfo
*/
bool check_magic(void);
/*
* Return subject name.
*
* The function returns NULL if the subject name cannot be retrieved.
*/
const char * const get_subject_name(void);
/*
* Return information for a channel given by name.
*
@@ -173,6 +180,8 @@ class Genode::Sinfo
private:
subject_info_type * sinfo;
char subject_name[MAX_NAME_LENGTH + 1];
bool subject_name_set = false;
/*
* Fill memregion struct with memory region info from resource given by