Skip to content

Commit

Permalink
Let's also commit the generated SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
can1357 committed Sep 25, 2024
1 parent 3516cd5 commit 2e9bd4b
Show file tree
Hide file tree
Showing 40,460 changed files with 1,930,094 additions and 1 deletion.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ DvlErrLog.txt
*raw_store.inl
*.yaml
*.suo
sdk/
x64/
enc_temp_folder/
build/
Expand Down
17 changes: 17 additions & 0 deletions resources/sdk/acpi/api.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#pragma once
#include <sdkgen/support_library.hpp>

#include "magic/api.start.hpp"
namespace acpi
{
// [AcpiRootPdo]
// Ldr = [ntoskrnl.exe, hal.dll]
// => Windows 10 v1607, Windows 10 v2004, Windows 11, Windows 10 v20H2
// hal.dll .data:0x4d858, 0x11e8 bytes
// ntoskrnl.exe .data:0xc507f0, 0x1fe000 bytes
// ntoskrnl.exe .data:0xc6a598, 0x1fd000 bytes
// ntoskrnl.exe .data:0xc507f0, 0x1fe000 bytes
//
_m0(sdk::unknown_ptr) root_pdo;
};
#include "magic/api.end.hpp"
24 changes: 24 additions & 0 deletions resources/sdk/acpi/cached_table_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#pragma once
#include <sdkgen/support_library.hpp>
#include "../nt/description_header_t.hpp"

#include "magic/cached_table_t.start.hpp"
namespace acpi
{
// [struct _ACPI_CACHED_TABLE]
// => Windows 10 v1607, Windows 10 v2004, Windows 11, Windows 10 v20H2
//
struct cached_table_t
{
// Windows 10 v1607, Windows 10 v2004, Windows 11, Windows 10 v20H2
//
_m00 nt::list_entry_t links; //{ +0x0000 +0x0000 +0x0000 +0x0000 } | .Links
_m01 int64_t physical_address; //{ +0x0010 +0x0010 +0x0010 +0x0010 } | .PhysicalAddress
_m02 struct nt::description_header_t header; //{ +0x0018 +0x0018 +0x0018 +0x0018 } | .Header

SDK_MAGIC_PROPERTIES( "_ACPI_CACHED_TABLE.$", 0x40, true, 0xf553cf909df8656d );
SDK_FIXED_SIZE( cached_table_t, 0x40 );
};
};
#include "magic/cached_table_t.end.hpp"
SDK_VERIFY( struct acpi::cached_table_t, 0x40 );
22 changes: 22 additions & 0 deletions resources/sdk/acpi/debugging_device_in_use_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#pragma once
#include <sdkgen/support_library.hpp>

#include "magic/debugging_device_in_use_t.start.hpp"
namespace acpi
{
// [struct _ACPI_DEBUGGING_DEVICE_IN_USE]
// => WDK 10, Windows 10 v1607, Windows 10 v2004, Windows 11, Windows 10 v20H2 (NV)
//
struct debugging_device_in_use_t
{
// WDK 10, Windows 10 v1607, Windows 10 v2004, Windows 11, Windows 10 v20H2
//
_m00 uint32_t name_space_path_length; //{ +0x0000 +0x0000 +0x0000 +0x0000 +0x0000 } | .NameSpacePathLength
_m01 sdk::array<wchar_t, 1> name_space_path; //{ +0x0004 +0x0004 +0x0004 +0x0004 +0x0004 } | .NameSpacePath

SDK_NONVOL_PROPERTIES( "_ACPI_DEBUGGING_DEVICE_IN_USE.$", 0x8, true, 0xe9b455bcdd059f7d );
SDK_FIXED_SIZE( debugging_device_in_use_t, 0x8 );
};
};
#include "magic/debugging_device_in_use_t.end.hpp"
SDK_VERIFY( struct acpi::debugging_device_in_use_t, 0x8 );
35 changes: 35 additions & 0 deletions resources/sdk/acpi/device_information_output_buffer_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#pragma once
#include <sdkgen/support_library.hpp>

#include "magic/device_information_output_buffer_t.start.hpp"
namespace acpi
{
// [struct _ACPI_DEVICE_INFORMATION_OUTPUT_BUFFER]
// => WDK 10 (NV)
//
struct device_information_output_buffer_t
{
// WDK 10
//
_m00 uint32_t signature; //{ +0x0000 } | .Signature
_m01 uint16_t size; //{ +0x0004 } | .Size
_m02 uint8_t revision; //{ +0x0006 } | .Revision
_m03 uint16_t vendor_id_string_offset; //{ +0x0008 } | .VendorIdStringOffset
_m04 uint16_t vendor_string_length; //{ +0x000a } | .VendorStringLength
_m05 uint16_t device_id_string_offset; //{ +0x000c } | .DeviceIdStringOffset
_m06 uint16_t sub_system_id_string_offset; //{ +0x000e } | .SubSystemIdStringOffset
_m07 uint16_t sub_system_string_length; //{ +0x0010 } | .SubSystemStringLength
_m08 uint16_t sub_device_id_string_offset; //{ +0x0012 } | .SubDeviceIdStringOffset
_m09 uint16_t instance_id_length; //{ +0x0014 } | .InstanceIdLength
_m10 uint16_t instance_id_offset; //{ +0x0016 } | .InstanceIdOffset
_m11 uint16_t base_class_code; //{ +0x0018 } | .BaseClassCode
_m12 uint16_t hardware_revision; //{ +0x001a } | .HardwareRevision
_m13 uint8_t programming_interface; //{ +0x001c } | .ProgrammingInterface
_m14 uint16_t sub_class_code; //{ +0x001e } | .SubClassCode

SDK_NONVOL_PROPERTIES( "_ACPI_DEVICE_INFORMATION_OUTPUT_BUFFER.$", 0x0, false, 0x17217b3deee40e30 );
SDK_FIXED_SIZE( device_information_output_buffer_t, 0x20 );
};
};
#include "magic/device_information_output_buffer_t.end.hpp"
SDK_VERIFY( struct acpi::device_information_output_buffer_t, 0x20 );
23 changes: 23 additions & 0 deletions resources/sdk/acpi/enum_child_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#pragma once
#include <sdkgen/support_library.hpp>

#include "magic/enum_child_t.start.hpp"
namespace acpi
{
// [struct _ACPI_ENUM_CHILD]
// => WDK 10 (NV)
//
struct enum_child_t
{
// WDK 10
//
_m00 uint32_t flags; //{ +0x0000 } | .Flags
_m01 uint32_t name_length; //{ +0x0004 } | .NameLength
_m02 sdk::array<char, 1> name; //{ +0x0008 } | .Name

SDK_NONVOL_PROPERTIES( "_ACPI_ENUM_CHILD.$", 0x0, false, 0xf508ea9cf60f2972 );
SDK_FIXED_SIZE( enum_child_t, 0xc );
};
};
#include "magic/enum_child_t.end.hpp"
SDK_VERIFY( struct acpi::enum_child_t, 0xc );
24 changes: 24 additions & 0 deletions resources/sdk/acpi/enum_children_input_buffer_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#pragma once
#include <sdkgen/support_library.hpp>

#include "magic/enum_children_input_buffer_t.start.hpp"
namespace acpi
{
// [struct _ACPI_ENUM_CHILDREN_INPUT_BUFFER]
// => WDK 10 (NV)
//
struct enum_children_input_buffer_t
{
// WDK 10
//
_m00 uint32_t signature; //{ +0x0000 } | .Signature
_m01 uint32_t flags; //{ +0x0004 } | .Flags
_m02 uint32_t name_length; //{ +0x0008 } | .NameLength
_m03 sdk::array<char, 1> name; //{ +0x000c } | .Name

SDK_NONVOL_PROPERTIES( "_ACPI_ENUM_CHILDREN_INPUT_BUFFER.$", 0x0, false, 0xa73d2b61231f4d4a );
SDK_FIXED_SIZE( enum_children_input_buffer_t, 0x10 );
};
};
#include "magic/enum_children_input_buffer_t.end.hpp"
SDK_VERIFY( struct acpi::enum_children_input_buffer_t, 0x10 );
24 changes: 24 additions & 0 deletions resources/sdk/acpi/enum_children_output_buffer_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#pragma once
#include <sdkgen/support_library.hpp>
#include "enum_child_t.hpp"

#include "magic/enum_children_output_buffer_t.start.hpp"
namespace acpi
{
// [struct _ACPI_ENUM_CHILDREN_OUTPUT_BUFFER]
// => WDK 10 (NV)
//
struct enum_children_output_buffer_t
{
// WDK 10
//
_m00 uint32_t signature; //{ +0x0000 } | .Signature
_m01 uint32_t number_of_children; //{ +0x0004 } | .NumberOfChildren
_m02 sdk::array<struct acpi::enum_child_t, 1> children; //{ +0x0008 } | .Children

SDK_NONVOL_PROPERTIES( "_ACPI_ENUM_CHILDREN_OUTPUT_BUFFER.$", 0x0, false, 0x41ceda6b67899c28 );
SDK_FIXED_SIZE( enum_children_output_buffer_t, 0x14 );
};
};
#include "magic/enum_children_output_buffer_t.end.hpp"
SDK_VERIFY( struct acpi::enum_children_output_buffer_t, 0x14 );
26 changes: 26 additions & 0 deletions resources/sdk/acpi/eval_input_buffer_complex_v1_ex_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#pragma once
#include <sdkgen/support_library.hpp>
#include "method_argument_v1_t.hpp"

#include "magic/eval_input_buffer_complex_v1_ex_t.start.hpp"
namespace acpi
{
// [struct _ACPI_EVAL_INPUT_BUFFER_COMPLEX_V1_EX]
// => WDK 10 (NV)
//
struct eval_input_buffer_complex_v1_ex_t
{
// WDK 10
//
_m00 uint32_t signature; //{ +0x0000 } | .Signature
_m01 sdk::array<char, 256> method_name; //{ +0x0004 } | .MethodName
_m02 uint32_t size; //{ +0x0104 } | .Size
_m03 uint32_t argument_count; //{ +0x0108 } | .ArgumentCount
_m04 sdk::array<struct acpi::method_argument_v1_t, 1> argument; //{ +0x010c } | .Argument

SDK_NONVOL_PROPERTIES( "_ACPI_EVAL_INPUT_BUFFER_COMPLEX_V1_EX.$", 0x0, false, 0xdbf26ba55b95d3cf );
SDK_FIXED_SIZE( eval_input_buffer_complex_v1_ex_t, 0x114 );
};
};
#include "magic/eval_input_buffer_complex_v1_ex_t.end.hpp"
SDK_VERIFY( struct acpi::eval_input_buffer_complex_v1_ex_t, 0x114 );
27 changes: 27 additions & 0 deletions resources/sdk/acpi/eval_input_buffer_complex_v1_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#pragma once
#include <sdkgen/support_library.hpp>
#include "method_argument_v1_t.hpp"

#include "magic/eval_input_buffer_complex_v1_t.start.hpp"
namespace acpi
{
// [struct _ACPI_EVAL_INPUT_BUFFER_COMPLEX_V1]
// => WDK 10 (NV)
//
struct eval_input_buffer_complex_v1_t
{
// WDK 10
//
_m00 uint32_t signature; //{ +0x0000 } | .Signature
_m01 sdk::array<uint8_t, 4> method_name; //{ +0x0004 } | .MethodName
_m02 uint32_t method_name_as_ulong; //{ +0x0004 } | .MethodNameAsUlong
_m03 uint32_t size; //{ +0x0008 } | .Size
_m04 uint32_t argument_count; //{ +0x000c } | .ArgumentCount
_m05 sdk::array<struct acpi::method_argument_v1_t, 1> argument; //{ +0x0010 } | .Argument

SDK_NONVOL_PROPERTIES( "_ACPI_EVAL_INPUT_BUFFER_COMPLEX_V1.$", 0x0, false, 0x46cf5b9ca7194062 );
SDK_FIXED_SIZE( eval_input_buffer_complex_v1_t, 0x18 );
};
};
#include "magic/eval_input_buffer_complex_v1_t.end.hpp"
SDK_VERIFY( struct acpi::eval_input_buffer_complex_v1_t, 0x18 );
26 changes: 26 additions & 0 deletions resources/sdk/acpi/eval_input_buffer_complex_v2_ex_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#pragma once
#include <sdkgen/support_library.hpp>
#include "method_argument_v2_t.hpp"

#include "magic/eval_input_buffer_complex_v2_ex_t.start.hpp"
namespace acpi
{
// [struct _ACPI_EVAL_INPUT_BUFFER_COMPLEX_V2_EX]
// => WDK 10 (NV)
//
struct eval_input_buffer_complex_v2_ex_t
{
// WDK 10
//
_m00 uint32_t signature; //{ +0x0000 } | .Signature
_m01 sdk::array<char, 256> method_name; //{ +0x0004 } | .MethodName
_m02 uint32_t size; //{ +0x0104 } | .Size
_m03 uint32_t argument_count; //{ +0x0108 } | .ArgumentCount
_m04 sdk::array<struct acpi::method_argument_v2_t, 1> argument; //{ +0x010c } | .Argument

SDK_NONVOL_PROPERTIES( "_ACPI_EVAL_INPUT_BUFFER_COMPLEX_V2_EX.$", 0x0, false, 0x8c7074b18470b7af );
SDK_FIXED_SIZE( eval_input_buffer_complex_v2_ex_t, 0x118 );
};
};
#include "magic/eval_input_buffer_complex_v2_ex_t.end.hpp"
SDK_VERIFY( struct acpi::eval_input_buffer_complex_v2_ex_t, 0x118 );
27 changes: 27 additions & 0 deletions resources/sdk/acpi/eval_input_buffer_complex_v2_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#pragma once
#include <sdkgen/support_library.hpp>
#include "method_argument_v2_t.hpp"

#include "magic/eval_input_buffer_complex_v2_t.start.hpp"
namespace acpi
{
// [struct _ACPI_EVAL_INPUT_BUFFER_COMPLEX_V2]
// => WDK 10 (NV)
//
struct eval_input_buffer_complex_v2_t
{
// WDK 10
//
_m00 uint32_t signature; //{ +0x0000 } | .Signature
_m01 sdk::array<uint8_t, 4> method_name; //{ +0x0004 } | .MethodName
_m02 uint32_t method_name_as_ulong; //{ +0x0004 } | .MethodNameAsUlong
_m03 uint32_t size; //{ +0x0008 } | .Size
_m04 uint32_t argument_count; //{ +0x000c } | .ArgumentCount
_m05 sdk::array<struct acpi::method_argument_v2_t, 1> argument; //{ +0x0010 } | .Argument

SDK_NONVOL_PROPERTIES( "_ACPI_EVAL_INPUT_BUFFER_COMPLEX_V2.$", 0x0, false, 0xca08b6fdd6573ed0 );
SDK_FIXED_SIZE( eval_input_buffer_complex_v2_t, 0x1c );
};
};
#include "magic/eval_input_buffer_complex_v2_t.end.hpp"
SDK_VERIFY( struct acpi::eval_input_buffer_complex_v2_t, 0x1c );
23 changes: 23 additions & 0 deletions resources/sdk/acpi/eval_input_buffer_simple_integer_v1_ex_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#pragma once
#include <sdkgen/support_library.hpp>

#include "magic/eval_input_buffer_simple_integer_v1_ex_t.start.hpp"
namespace acpi
{
// [struct _ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_V1_EX]
// => WDK 10 (NV)
//
struct eval_input_buffer_simple_integer_v1_ex_t
{
// WDK 10
//
_m00 uint32_t signature; //{ +0x0000 } | .Signature
_m01 sdk::array<char, 256> method_name; //{ +0x0004 } | .MethodName
_m02 uint64_t integer_argument; //{ +0x0108 } | .IntegerArgument

SDK_NONVOL_PROPERTIES( "_ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_V1_EX.$", 0x0, false, 0xe9e15266a7c2676d );
SDK_FIXED_SIZE( eval_input_buffer_simple_integer_v1_ex_t, 0x110 );
};
};
#include "magic/eval_input_buffer_simple_integer_v1_ex_t.end.hpp"
SDK_VERIFY( struct acpi::eval_input_buffer_simple_integer_v1_ex_t, 0x110 );
24 changes: 24 additions & 0 deletions resources/sdk/acpi/eval_input_buffer_simple_integer_v1_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#pragma once
#include <sdkgen/support_library.hpp>

#include "magic/eval_input_buffer_simple_integer_v1_t.start.hpp"
namespace acpi
{
// [struct _ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_V1]
// => WDK 10 (NV)
//
struct eval_input_buffer_simple_integer_v1_t
{
// WDK 10
//
_m00 uint32_t signature; //{ +0x0000 } | .Signature
_m01 sdk::array<uint8_t, 4> method_name; //{ +0x0004 } | .MethodName
_m02 uint32_t method_name_as_ulong; //{ +0x0004 } | .MethodNameAsUlong
_m03 uint32_t integer_argument; //{ +0x0008 } | .IntegerArgument

SDK_NONVOL_PROPERTIES( "_ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_V1.$", 0x0, false, 0x1d63de8b6f8ea9d0 );
SDK_FIXED_SIZE( eval_input_buffer_simple_integer_v1_t, 0xc );
};
};
#include "magic/eval_input_buffer_simple_integer_v1_t.end.hpp"
SDK_VERIFY( struct acpi::eval_input_buffer_simple_integer_v1_t, 0xc );
23 changes: 23 additions & 0 deletions resources/sdk/acpi/eval_input_buffer_simple_integer_v2_ex_t.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#pragma once
#include <sdkgen/support_library.hpp>

#include "magic/eval_input_buffer_simple_integer_v2_ex_t.start.hpp"
namespace acpi
{
// [struct _ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_V2_EX]
// => WDK 10 (NV)
//
struct eval_input_buffer_simple_integer_v2_ex_t
{
// WDK 10
//
_m00 uint32_t signature; //{ +0x0000 } | .Signature
_m01 sdk::array<char, 256> method_name; //{ +0x0004 } | .MethodName
_m02 uint64_t integer_argument; //{ +0x0108 } | .IntegerArgument

SDK_NONVOL_PROPERTIES( "_ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_V2_EX.$", 0x0, false, 0x458be47d82521a22 );
SDK_FIXED_SIZE( eval_input_buffer_simple_integer_v2_ex_t, 0x110 );
};
};
#include "magic/eval_input_buffer_simple_integer_v2_ex_t.end.hpp"
SDK_VERIFY( struct acpi::eval_input_buffer_simple_integer_v2_ex_t, 0x110 );
Loading

0 comments on commit 2e9bd4b

Please sign in to comment.