[libj6] Create a standard definition of the log entry type

Move logger::entry to libj6 as j6_log_entry, and use that everywhere. It
was silly that it was copied into srv.logger and drv.uefi_fb
This commit is contained in:
Justin C. Miller
2023-02-09 21:19:30 -08:00
parent 8f968f4954
commit 0eddb002f0
5 changed files with 28 additions and 36 deletions

View File

@@ -50,3 +50,12 @@ struct j6_handle_descriptor
j6_object_type type;
};
/// Log entries as returned by j6_system_get_log
struct j6_log_entry
{
uint64_t id : 42;
uint64_t bytes : 11;
uint64_t severity : 4;
uint64_t area : 7;
char message[0];
};