shadPS4/src/core/libraries/kernel/libkernel.h

35 lines
652 B
C
Raw Normal View History

2024-02-23 22:32:32 +01:00
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2023-11-06 00:11:54 +01:00
#pragma once
#include <sys/types.h>
#include "common/types.h"
namespace Core::Loader {
class SymbolsResolver;
}
2024-04-13 23:35:48 +02:00
namespace Libraries::Kernel {
2023-11-06 00:11:54 +01:00
struct OrbisTimesec {
time_t t;
u32 west_sec;
u32 dst_sec;
};
typedef struct {
uint32_t timeLow;
uint16_t timeMid;
uint16_t timeHiAndVersion;
uint8_t clockSeqHiAndReserved;
uint8_t clockSeqLow;
uint8_t node[6];
} OrbisKernelUuid;
2023-11-11 11:13:43 +01:00
int* PS4_SYSV_ABI __Error();
2023-11-06 00:11:54 +01:00
2024-04-13 23:35:48 +02:00
void LibKernel_Register(Core::Loader::SymbolsResolver* sym);
2023-11-06 00:11:54 +01:00
2024-04-13 23:35:48 +02:00
} // namespace Libraries::Kernel