Added system_info::abi field. It contains the system's ABI version, which
might be different from that of the caller (on hybrid builds). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30858 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d69c4f6aa9
commit
c7d1aa192f
@ -702,7 +702,10 @@ typedef struct {
|
||||
|
||||
bigtime_t _busy_wait_time; /* reserved for whatever */
|
||||
int32 cached_pages;
|
||||
int32 pad[3]; /* just in case... */
|
||||
|
||||
uint32 abi; /* the system API */
|
||||
|
||||
int32 pad[2]; /* just in case... */
|
||||
} system_info;
|
||||
|
||||
/* system private, use macro instead */
|
||||
|
@ -97,6 +97,7 @@ _get_system_info(system_info *info, size_t size)
|
||||
strlcpy(info->kernel_name, kKernelName, B_FILE_NAME_LENGTH);
|
||||
strlcpy(info->kernel_build_date, __DATE__, B_OS_NAME_LENGTH);
|
||||
strlcpy(info->kernel_build_time, __TIME__, B_OS_NAME_LENGTH);
|
||||
info->abi = B_HAIKU_ABI;
|
||||
|
||||
// all other stuff is architecture specific
|
||||
return arch_get_system_info(info, size);
|
||||
|
Loading…
Reference in New Issue
Block a user