ホーム › System.Diagnostics.Debug.Extensions › DEBUG_PROCESSOR_IDENTIFICATION_ALL
DEBUG_PROCESSOR_IDENTIFICATION_ALL
共用体サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。
フィールド
| フィールド | 型 | サイズ | x64 | x86 | 説明 |
|---|---|---|---|---|---|
| Alpha | DEBUG_PROCESSOR_IDENTIFICATION_ALPHA | 8 | +0 | +0 | Alpha向けプロセッサ識別情報。 |
| Amd64 | DEBUG_PROCESSOR_IDENTIFICATION_AMD64 | 28 | +0 | +0 | AMD64向けプロセッサ識別情報。 |
| Ia64 | DEBUG_PROCESSOR_IDENTIFICATION_IA64 | 32 | +0 | +0 | IA64向けプロセッサ識別情報。 |
| X86 | DEBUG_PROCESSOR_IDENTIFICATION_X86 | 28 | +0 | +0 | x86向けプロセッサ識別情報。 |
| Arm | DEBUG_PROCESSOR_IDENTIFICATION_ARM | 24 | +0 | +0 | ARM向けプロセッサ識別情報。 |
| Arm64 | DEBUG_PROCESSOR_IDENTIFICATION_ARM64 | 24 | +0 | +0 | ARM64向けプロセッサ識別情報。 |
各言語での定義
#include <windows.h>
// DEBUG_PROCESSOR_IDENTIFICATION_ALPHA (x64 8 / x86 8 バイト)
typedef struct DEBUG_PROCESSOR_IDENTIFICATION_ALPHA {
DWORD Type;
DWORD Revision;
} DEBUG_PROCESSOR_IDENTIFICATION_ALPHA;
// DEBUG_PROCESSOR_IDENTIFICATION_AMD64 (x64 28 / x86 28 バイト)
typedef struct DEBUG_PROCESSOR_IDENTIFICATION_AMD64 {
DWORD Family;
DWORD Model;
DWORD Stepping;
CHAR VendorString[16];
} DEBUG_PROCESSOR_IDENTIFICATION_AMD64;
// DEBUG_PROCESSOR_IDENTIFICATION_IA64 (x64 32 / x86 32 バイト)
typedef struct DEBUG_PROCESSOR_IDENTIFICATION_IA64 {
DWORD Model;
DWORD Revision;
DWORD Family;
DWORD ArchRev;
CHAR VendorString[16];
} DEBUG_PROCESSOR_IDENTIFICATION_IA64;
// DEBUG_PROCESSOR_IDENTIFICATION_X86 (x64 28 / x86 28 バイト)
typedef struct DEBUG_PROCESSOR_IDENTIFICATION_X86 {
DWORD Family;
DWORD Model;
DWORD Stepping;
CHAR VendorString[16];
} DEBUG_PROCESSOR_IDENTIFICATION_X86;
// DEBUG_PROCESSOR_IDENTIFICATION_ARM (x64 24 / x86 24 バイト)
typedef struct DEBUG_PROCESSOR_IDENTIFICATION_ARM {
DWORD Model;
DWORD Revision;
CHAR VendorString[16];
} DEBUG_PROCESSOR_IDENTIFICATION_ARM;
// DEBUG_PROCESSOR_IDENTIFICATION_ARM64 (x64 24 / x86 24 バイト)
typedef struct DEBUG_PROCESSOR_IDENTIFICATION_ARM64 {
DWORD Model;
DWORD Revision;
CHAR VendorString[16];
} DEBUG_PROCESSOR_IDENTIFICATION_ARM64;
// DEBUG_PROCESSOR_IDENTIFICATION_ALL (x64 32 / x86 32 バイト)
typedef struct DEBUG_PROCESSOR_IDENTIFICATION_ALL {
DEBUG_PROCESSOR_IDENTIFICATION_ALPHA Alpha;
DEBUG_PROCESSOR_IDENTIFICATION_AMD64 Amd64;
DEBUG_PROCESSOR_IDENTIFICATION_IA64 Ia64;
DEBUG_PROCESSOR_IDENTIFICATION_X86 X86;
DEBUG_PROCESSOR_IDENTIFICATION_ARM Arm;
DEBUG_PROCESSOR_IDENTIFICATION_ARM64 Arm64;
} DEBUG_PROCESSOR_IDENTIFICATION_ALL;using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct DEBUG_PROCESSOR_IDENTIFICATION_ALPHA
{
public uint Type;
public uint Revision;
}
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct DEBUG_PROCESSOR_IDENTIFICATION_AMD64
{
public uint Family;
public uint Model;
public uint Stepping;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)] public sbyte[] VendorString;
}
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct DEBUG_PROCESSOR_IDENTIFICATION_IA64
{
public uint Model;
public uint Revision;
public uint Family;
public uint ArchRev;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)] public sbyte[] VendorString;
}
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct DEBUG_PROCESSOR_IDENTIFICATION_X86
{
public uint Family;
public uint Model;
public uint Stepping;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)] public sbyte[] VendorString;
}
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct DEBUG_PROCESSOR_IDENTIFICATION_ARM
{
public uint Model;
public uint Revision;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)] public sbyte[] VendorString;
}
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct DEBUG_PROCESSOR_IDENTIFICATION_ARM64
{
public uint Model;
public uint Revision;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)] public sbyte[] VendorString;
}
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct DEBUG_PROCESSOR_IDENTIFICATION_ALL
{
public DEBUG_PROCESSOR_IDENTIFICATION_ALPHA Alpha;
public DEBUG_PROCESSOR_IDENTIFICATION_AMD64 Amd64;
public DEBUG_PROCESSOR_IDENTIFICATION_IA64 Ia64;
public DEBUG_PROCESSOR_IDENTIFICATION_X86 X86;
public DEBUG_PROCESSOR_IDENTIFICATION_ARM Arm;
public DEBUG_PROCESSOR_IDENTIFICATION_ARM64 Arm64;
}Imports System.Runtime.InteropServices
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)>
Public Structure DEBUG_PROCESSOR_IDENTIFICATION_ALPHA
Public Type As UInteger
Public Revision As UInteger
End Structure
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)>
Public Structure DEBUG_PROCESSOR_IDENTIFICATION_AMD64
Public Family As UInteger
Public Model As UInteger
Public Stepping As UInteger
<MarshalAs(UnmanagedType.ByValArray, SizeConst:=16)> Public VendorString() As SByte
End Structure
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)>
Public Structure DEBUG_PROCESSOR_IDENTIFICATION_IA64
Public Model As UInteger
Public Revision As UInteger
Public Family As UInteger
Public ArchRev As UInteger
<MarshalAs(UnmanagedType.ByValArray, SizeConst:=16)> Public VendorString() As SByte
End Structure
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)>
Public Structure DEBUG_PROCESSOR_IDENTIFICATION_X86
Public Family As UInteger
Public Model As UInteger
Public Stepping As UInteger
<MarshalAs(UnmanagedType.ByValArray, SizeConst:=16)> Public VendorString() As SByte
End Structure
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)>
Public Structure DEBUG_PROCESSOR_IDENTIFICATION_ARM
Public Model As UInteger
Public Revision As UInteger
<MarshalAs(UnmanagedType.ByValArray, SizeConst:=16)> Public VendorString() As SByte
End Structure
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)>
Public Structure DEBUG_PROCESSOR_IDENTIFICATION_ARM64
Public Model As UInteger
Public Revision As UInteger
<MarshalAs(UnmanagedType.ByValArray, SizeConst:=16)> Public VendorString() As SByte
End Structure
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)>
Public Structure DEBUG_PROCESSOR_IDENTIFICATION_ALL
Public Alpha As DEBUG_PROCESSOR_IDENTIFICATION_ALPHA
Public Amd64 As DEBUG_PROCESSOR_IDENTIFICATION_AMD64
Public Ia64 As DEBUG_PROCESSOR_IDENTIFICATION_IA64
Public X86 As DEBUG_PROCESSOR_IDENTIFICATION_X86
Public Arm As DEBUG_PROCESSOR_IDENTIFICATION_ARM
Public Arm64 As DEBUG_PROCESSOR_IDENTIFICATION_ARM64
End Structureimport ctypes
from ctypes import wintypes
class DEBUG_PROCESSOR_IDENTIFICATION_ALPHA(ctypes.Structure):
_fields_ = [
("Type", wintypes.DWORD),
("Revision", wintypes.DWORD),
]
class DEBUG_PROCESSOR_IDENTIFICATION_AMD64(ctypes.Structure):
_fields_ = [
("Family", wintypes.DWORD),
("Model", wintypes.DWORD),
("Stepping", wintypes.DWORD),
("VendorString", ctypes.c_byte * 16),
]
class DEBUG_PROCESSOR_IDENTIFICATION_IA64(ctypes.Structure):
_fields_ = [
("Model", wintypes.DWORD),
("Revision", wintypes.DWORD),
("Family", wintypes.DWORD),
("ArchRev", wintypes.DWORD),
("VendorString", ctypes.c_byte * 16),
]
class DEBUG_PROCESSOR_IDENTIFICATION_X86(ctypes.Structure):
_fields_ = [
("Family", wintypes.DWORD),
("Model", wintypes.DWORD),
("Stepping", wintypes.DWORD),
("VendorString", ctypes.c_byte * 16),
]
class DEBUG_PROCESSOR_IDENTIFICATION_ARM(ctypes.Structure):
_fields_ = [
("Model", wintypes.DWORD),
("Revision", wintypes.DWORD),
("VendorString", ctypes.c_byte * 16),
]
class DEBUG_PROCESSOR_IDENTIFICATION_ARM64(ctypes.Structure):
_fields_ = [
("Model", wintypes.DWORD),
("Revision", wintypes.DWORD),
("VendorString", ctypes.c_byte * 16),
]
class DEBUG_PROCESSOR_IDENTIFICATION_ALL(ctypes.Structure):
_fields_ = [
("Alpha", DEBUG_PROCESSOR_IDENTIFICATION_ALPHA),
("Amd64", DEBUG_PROCESSOR_IDENTIFICATION_AMD64),
("Ia64", DEBUG_PROCESSOR_IDENTIFICATION_IA64),
("X86", DEBUG_PROCESSOR_IDENTIFICATION_X86),
("Arm", DEBUG_PROCESSOR_IDENTIFICATION_ARM),
("Arm64", DEBUG_PROCESSOR_IDENTIFICATION_ARM64),
]#[repr(C)]
pub struct DEBUG_PROCESSOR_IDENTIFICATION_ALPHA {
pub Type: u32,
pub Revision: u32,
}
#[repr(C)]
pub struct DEBUG_PROCESSOR_IDENTIFICATION_AMD64 {
pub Family: u32,
pub Model: u32,
pub Stepping: u32,
pub VendorString: [i8; 16],
}
#[repr(C)]
pub struct DEBUG_PROCESSOR_IDENTIFICATION_IA64 {
pub Model: u32,
pub Revision: u32,
pub Family: u32,
pub ArchRev: u32,
pub VendorString: [i8; 16],
}
#[repr(C)]
pub struct DEBUG_PROCESSOR_IDENTIFICATION_X86 {
pub Family: u32,
pub Model: u32,
pub Stepping: u32,
pub VendorString: [i8; 16],
}
#[repr(C)]
pub struct DEBUG_PROCESSOR_IDENTIFICATION_ARM {
pub Model: u32,
pub Revision: u32,
pub VendorString: [i8; 16],
}
#[repr(C)]
pub struct DEBUG_PROCESSOR_IDENTIFICATION_ARM64 {
pub Model: u32,
pub Revision: u32,
pub VendorString: [i8; 16],
}
#[repr(C)]
pub struct DEBUG_PROCESSOR_IDENTIFICATION_ALL {
pub Alpha: DEBUG_PROCESSOR_IDENTIFICATION_ALPHA,
pub Amd64: DEBUG_PROCESSOR_IDENTIFICATION_AMD64,
pub Ia64: DEBUG_PROCESSOR_IDENTIFICATION_IA64,
pub X86: DEBUG_PROCESSOR_IDENTIFICATION_X86,
pub Arm: DEBUG_PROCESSOR_IDENTIFICATION_ARM,
pub Arm64: DEBUG_PROCESSOR_IDENTIFICATION_ARM64,
}import "golang.org/x/sys/windows"
type DEBUG_PROCESSOR_IDENTIFICATION_ALPHA struct {
Type uint32
Revision uint32
}
type DEBUG_PROCESSOR_IDENTIFICATION_AMD64 struct {
Family uint32
Model uint32
Stepping uint32
VendorString [16]int8
}
type DEBUG_PROCESSOR_IDENTIFICATION_IA64 struct {
Model uint32
Revision uint32
Family uint32
ArchRev uint32
VendorString [16]int8
}
type DEBUG_PROCESSOR_IDENTIFICATION_X86 struct {
Family uint32
Model uint32
Stepping uint32
VendorString [16]int8
}
type DEBUG_PROCESSOR_IDENTIFICATION_ARM struct {
Model uint32
Revision uint32
VendorString [16]int8
}
type DEBUG_PROCESSOR_IDENTIFICATION_ARM64 struct {
Model uint32
Revision uint32
VendorString [16]int8
}
type DEBUG_PROCESSOR_IDENTIFICATION_ALL struct {
Alpha DEBUG_PROCESSOR_IDENTIFICATION_ALPHA
Amd64 DEBUG_PROCESSOR_IDENTIFICATION_AMD64
Ia64 DEBUG_PROCESSOR_IDENTIFICATION_IA64
X86 DEBUG_PROCESSOR_IDENTIFICATION_X86
Arm DEBUG_PROCESSOR_IDENTIFICATION_ARM
Arm64 DEBUG_PROCESSOR_IDENTIFICATION_ARM64
}type
DEBUG_PROCESSOR_IDENTIFICATION_ALPHA = record
Type: DWORD;
Revision: DWORD;
end;
DEBUG_PROCESSOR_IDENTIFICATION_AMD64 = record
Family: DWORD;
Model: DWORD;
Stepping: DWORD;
VendorString: array[0..15] of Shortint;
end;
DEBUG_PROCESSOR_IDENTIFICATION_IA64 = record
Model: DWORD;
Revision: DWORD;
Family: DWORD;
ArchRev: DWORD;
VendorString: array[0..15] of Shortint;
end;
DEBUG_PROCESSOR_IDENTIFICATION_X86 = record
Family: DWORD;
Model: DWORD;
Stepping: DWORD;
VendorString: array[0..15] of Shortint;
end;
DEBUG_PROCESSOR_IDENTIFICATION_ARM = record
Model: DWORD;
Revision: DWORD;
VendorString: array[0..15] of Shortint;
end;
DEBUG_PROCESSOR_IDENTIFICATION_ARM64 = record
Model: DWORD;
Revision: DWORD;
VendorString: array[0..15] of Shortint;
end;
DEBUG_PROCESSOR_IDENTIFICATION_ALL = record
Alpha: DEBUG_PROCESSOR_IDENTIFICATION_ALPHA;
Amd64: DEBUG_PROCESSOR_IDENTIFICATION_AMD64;
Ia64: DEBUG_PROCESSOR_IDENTIFICATION_IA64;
X86: DEBUG_PROCESSOR_IDENTIFICATION_X86;
Arm: DEBUG_PROCESSOR_IDENTIFICATION_ARM;
Arm64: DEBUG_PROCESSOR_IDENTIFICATION_ARM64;
end;const DEBUG_PROCESSOR_IDENTIFICATION_ALPHA = extern struct {
Type: u32,
Revision: u32,
};
const DEBUG_PROCESSOR_IDENTIFICATION_AMD64 = extern struct {
Family: u32,
Model: u32,
Stepping: u32,
VendorString: [16]i8,
};
const DEBUG_PROCESSOR_IDENTIFICATION_IA64 = extern struct {
Model: u32,
Revision: u32,
Family: u32,
ArchRev: u32,
VendorString: [16]i8,
};
const DEBUG_PROCESSOR_IDENTIFICATION_X86 = extern struct {
Family: u32,
Model: u32,
Stepping: u32,
VendorString: [16]i8,
};
const DEBUG_PROCESSOR_IDENTIFICATION_ARM = extern struct {
Model: u32,
Revision: u32,
VendorString: [16]i8,
};
const DEBUG_PROCESSOR_IDENTIFICATION_ARM64 = extern struct {
Model: u32,
Revision: u32,
VendorString: [16]i8,
};
const DEBUG_PROCESSOR_IDENTIFICATION_ALL = extern struct {
Alpha: DEBUG_PROCESSOR_IDENTIFICATION_ALPHA,
Amd64: DEBUG_PROCESSOR_IDENTIFICATION_AMD64,
Ia64: DEBUG_PROCESSOR_IDENTIFICATION_IA64,
X86: DEBUG_PROCESSOR_IDENTIFICATION_X86,
Arm: DEBUG_PROCESSOR_IDENTIFICATION_ARM,
Arm64: DEBUG_PROCESSOR_IDENTIFICATION_ARM64,
};type
DEBUG_PROCESSOR_IDENTIFICATION_ALPHA {.bycopy.} = object
Type: uint32
Revision: uint32
DEBUG_PROCESSOR_IDENTIFICATION_AMD64 {.bycopy.} = object
Family: uint32
Model: uint32
Stepping: uint32
VendorString: array[16, int8]
DEBUG_PROCESSOR_IDENTIFICATION_IA64 {.bycopy.} = object
Model: uint32
Revision: uint32
Family: uint32
ArchRev: uint32
VendorString: array[16, int8]
DEBUG_PROCESSOR_IDENTIFICATION_X86 {.bycopy.} = object
Family: uint32
Model: uint32
Stepping: uint32
VendorString: array[16, int8]
DEBUG_PROCESSOR_IDENTIFICATION_ARM {.bycopy.} = object
Model: uint32
Revision: uint32
VendorString: array[16, int8]
DEBUG_PROCESSOR_IDENTIFICATION_ARM64 {.bycopy.} = object
Model: uint32
Revision: uint32
VendorString: array[16, int8]
DEBUG_PROCESSOR_IDENTIFICATION_ALL {.bycopy.} = object
Alpha: DEBUG_PROCESSOR_IDENTIFICATION_ALPHA
Amd64: DEBUG_PROCESSOR_IDENTIFICATION_AMD64
Ia64: DEBUG_PROCESSOR_IDENTIFICATION_IA64
X86: DEBUG_PROCESSOR_IDENTIFICATION_X86
Arm: DEBUG_PROCESSOR_IDENTIFICATION_ARM
Arm64: DEBUG_PROCESSOR_IDENTIFICATION_ARM64struct DEBUG_PROCESSOR_IDENTIFICATION_ALPHA
{
uint Type;
uint Revision;
}
struct DEBUG_PROCESSOR_IDENTIFICATION_AMD64
{
uint Family;
uint Model;
uint Stepping;
byte[16] VendorString;
}
struct DEBUG_PROCESSOR_IDENTIFICATION_IA64
{
uint Model;
uint Revision;
uint Family;
uint ArchRev;
byte[16] VendorString;
}
struct DEBUG_PROCESSOR_IDENTIFICATION_X86
{
uint Family;
uint Model;
uint Stepping;
byte[16] VendorString;
}
struct DEBUG_PROCESSOR_IDENTIFICATION_ARM
{
uint Model;
uint Revision;
byte[16] VendorString;
}
struct DEBUG_PROCESSOR_IDENTIFICATION_ARM64
{
uint Model;
uint Revision;
byte[16] VendorString;
}
struct DEBUG_PROCESSOR_IDENTIFICATION_ALL
{
DEBUG_PROCESSOR_IDENTIFICATION_ALPHA Alpha;
DEBUG_PROCESSOR_IDENTIFICATION_AMD64 Amd64;
DEBUG_PROCESSOR_IDENTIFICATION_IA64 Ia64;
DEBUG_PROCESSOR_IDENTIFICATION_X86 X86;
DEBUG_PROCESSOR_IDENTIFICATION_ARM Arm;
DEBUG_PROCESSOR_IDENTIFICATION_ARM64 Arm64;
}HSP用 定義
HSP3.7/3.8 は構造体機能が無いため4byte整数配列(dim)+peek/poke で操作(32/64bitでサイズ・位置が異なる場合はタブで分割)。IronHSP は NSTRUCT(#defstruct/stdim/->)で32/64bit共通。
; HSP3.7/3.8 は構造体機能が無いため、4byte整数の配列変数で操作します。(x64 レイアウト)
; DEBUG_PROCESSOR_IDENTIFICATION_ALL サイズ: 32 バイト(x64)
dim st, 8 ; 4byte整数×8(構造体サイズ 32 / 4 切り上げ)
; Alpha : DEBUG_PROCESSOR_IDENTIFICATION_ALPHA (+0, 8byte) varptr(st)+0 を基点に操作(8byte:入れ子/配列)
; Amd64 : DEBUG_PROCESSOR_IDENTIFICATION_AMD64 (+0, 28byte) varptr(st)+0 を基点に操作(28byte:入れ子/配列)
; Ia64 : DEBUG_PROCESSOR_IDENTIFICATION_IA64 (+0, 32byte) varptr(st)+0 を基点に操作(32byte:入れ子/配列)
; X86 : DEBUG_PROCESSOR_IDENTIFICATION_X86 (+0, 28byte) varptr(st)+0 を基点に操作(28byte:入れ子/配列)
; Arm : DEBUG_PROCESSOR_IDENTIFICATION_ARM (+0, 24byte) varptr(st)+0 を基点に操作(24byte:入れ子/配列)
; Arm64 : DEBUG_PROCESSOR_IDENTIFICATION_ARM64 (+0, 24byte) varptr(st)+0 を基点に操作(24byte:入れ子/配列)
; ※4byte境界の整数は添字 st.N(N=オフセット/4)で読み書き可。それ以外は peek/poke 系を使用。; IronHSP は NSTRUCT(構造体)をサポート。32bit/64bit どちらでも同じコードで動作します。
; ※GUID・入れ子構造体はデフォルト型でないため、依存する #defstruct を先に定義(下記に同梱)。
#defstruct global DEBUG_PROCESSOR_IDENTIFICATION_ALPHA
#field int Type
#field int Revision
#endstruct
#defstruct global DEBUG_PROCESSOR_IDENTIFICATION_AMD64
#field int Family
#field int Model
#field int Stepping
#field byte VendorString 16
#endstruct
#defstruct global DEBUG_PROCESSOR_IDENTIFICATION_IA64
#field int Model
#field int Revision
#field int Family
#field int ArchRev
#field byte VendorString 16
#endstruct
#defstruct global DEBUG_PROCESSOR_IDENTIFICATION_X86
#field int Family
#field int Model
#field int Stepping
#field byte VendorString 16
#endstruct
#defstruct global DEBUG_PROCESSOR_IDENTIFICATION_ARM
#field int Model
#field int Revision
#field byte VendorString 16
#endstruct
#defstruct global DEBUG_PROCESSOR_IDENTIFICATION_ARM64
#field int Model
#field int Revision
#field byte VendorString 16
#endstruct
#defstruct global DEBUG_PROCESSOR_IDENTIFICATION_ALL
#field DEBUG_PROCESSOR_IDENTIFICATION_ALPHA Alpha
#field DEBUG_PROCESSOR_IDENTIFICATION_AMD64 Amd64
#field DEBUG_PROCESSOR_IDENTIFICATION_IA64 Ia64
#field DEBUG_PROCESSOR_IDENTIFICATION_X86 X86
#field DEBUG_PROCESSOR_IDENTIFICATION_ARM Arm
#field DEBUG_PROCESSOR_IDENTIFICATION_ARM64 Arm64
#endstruct
stdim st, DEBUG_PROCESSOR_IDENTIFICATION_ALL ; NSTRUCT 変数を確保