ReXGlue SDK
Loading...
Searching...
No Matches
object.h File Reference
#include <algorithm>
#include <atomic>
#include <chrono>
#include <concepts>
#include <cstddef>
#include <format>
#include <memory>
#include <span>
#include <string>
#include <vector>
#include <rex/kernel/types/thread.h>
#include <rex/platform.h>
#include <rex/types.h>
#include <rex/assert.h>
#include <rex/memory/endian.h>
#include <rex/platform/thread.h>
#include <rex/platform/sync.h>
#include <rex/kernel/heap.h>
#include <rex/kernel/types/status.h>
#include <rex/memory/host.h>

Go to the source code of this file.

Classes

struct  std::formatter< rex::kernel::ObjectType >
class  rex::kernel::PinCount
class  rex::kernel::PublishedPtr< T >

Namespaces

namespace  rex
namespace  rex::kernel

Enumerations

enum class  ObjectType : u8 {
  kEvent , kSemaphore , kMutant , kTimer ,
  kFile , kNotifyListener , kIOCompletion , kSymbolicLink ,
  kModule , kThread , kXAM
}

Functions

std::chrono::milliseconds rex::kernel::TimeoutFromTicks (i64 timeout_ticks)
std::chrono::microseconds rex::kernel::DelayFromTicks (i64 delay_ticks)
std::string rex::kernel::NameFromAttributes (kernel::GuestAddressSpace *memory, u32 obj_attributes_ptr)
X_STATUS rex::kernel::Wait (TitleRuntime &runtime, const ObjectPin &object, u32 wait_reason, u32 processor_mode, u32 alertable, u64 *opt_timeout)
X_STATUS rex::kernel::WaitMultiple (TitleRuntime &runtime, std::span< const ObjectPin > objects, u32 wait_type, u32 wait_reason, u32 processor_mode, u32 alertable, u64 *opt_timeout)
X_STATUS rex::kernel::SignalAndWait (TitleRuntime &runtime, const ObjectPin &signal_object, const ObjectPin &wait_object, u32 wait_reason, u32 processor_mode, u32 alertable, u64 *opt_timeout)

Variables

constexpr memory::FourCCT rex::kernel::kStashSignature = memory::make_fourcc('R', 'E', 'X', '\0')
constexpr u32 rex::kernel::kHandleBase = 0xF8000000
constexpr memory::Tag rex::kernel::kRuntime {2}

Detailed Description

Xenia : Xbox 360 Emulator Research Project *

Copyright 2013 Ben Vanik. All rights reserved. * Released under the BSD license - see LICENSE in the root for more details. *

Modified
Tom Clay, 2026 - Adapted for ReXGlue runtime