[Kernel] Implement ObCreateObject

This commit is contained in:
disjtqz
2023-10-15 12:33:54 -04:00
committed by Radosław Gliński
parent d8aa14da73
commit 275454089e
8 changed files with 298 additions and 21 deletions

View File

@@ -16,7 +16,15 @@ namespace xe {
namespace kernel {
namespace xboxkrnl {
void xeObDereferenceObject(PPCContext* context, uint32_t native_ptr);
void xeObSplitName(X_ANSI_STRING input_string,
X_ANSI_STRING* leading_path_component,
X_ANSI_STRING* remaining_path_components,
PPCContext* context);
uint32_t xeObHashObjectName(X_ANSI_STRING* ElementName, PPCContext* context);
uint32_t xeObCreateObject(X_OBJECT_TYPE* object_factory,
X_OBJECT_ATTRIBUTES* optional_attributes,
uint32_t object_size_sans_headers,
uint32_t* out_object, cpu::ppc::PPCContext* context);
} // namespace xboxkrnl
} // namespace kernel
} // namespace xe