mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
[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:
@@ -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];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user