- [Kernel] Create guest object for XEnumerator. - [XAM] Split content data into host/guest variants. - [XAM] Correct message return type from RESULT to HRESULT. - [XAM] Add a new dummy content device for ODD. - [XAM] Implement XamContentAggregateCreateEnumerator. - [XAM] Implement XamGetPrivateEnumStructureFromHandle. - [XAM] Implement XMsgCompleteIORequest (sketchy). - [XAM] Implement XamGetOverlappedResult (sketchy). - [XAM] Implement XamTaskSchedule (sketchy).
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
/**
|
|
******************************************************************************
|
|
* Xenia : Xbox 360 Emulator Research Project *
|
|
******************************************************************************
|
|
* Copyright 2020 Ben Vanik. All rights reserved. *
|
|
* Released under the BSD license - see LICENSE in the root for more details. *
|
|
******************************************************************************
|
|
*/
|
|
|
|
#ifndef XENIA_KERNEL_XAM_XAM_CONTENT_DEVICE_H_
|
|
#define XENIA_KERNEL_XAM_XAM_CONTENT_DEVICE_H_
|
|
|
|
#include "xenia/xbox.h"
|
|
|
|
namespace xe {
|
|
namespace kernel {
|
|
namespace xam {
|
|
|
|
enum class DeviceType : uint32_t {
|
|
HDD = 1,
|
|
ODD = 4,
|
|
};
|
|
|
|
enum class DummyDeviceId : uint32_t {
|
|
HDD = 1,
|
|
ODD = 2,
|
|
};
|
|
|
|
struct DummyDeviceInfo {
|
|
DummyDeviceId device_id;
|
|
DeviceType device_type;
|
|
uint64_t total_bytes;
|
|
uint64_t free_bytes;
|
|
const std::u16string_view name;
|
|
};
|
|
|
|
const DummyDeviceInfo* GetDummyDeviceInfo(uint32_t device_id);
|
|
|
|
} // namespace xam
|
|
} // namespace kernel
|
|
} // namespace xe
|
|
|
|
#endif // XENIA_KERNEL_XAM_XAM_CONTENT_DEVICE_H_
|