X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..HEAD:/osfmk/man/host_basic_info.html diff --git a/osfmk/man/host_basic_info.html b/osfmk/man/host_basic_info.html old mode 100755 new mode 100644 index 0e359f0f2..b14209c2f --- a/osfmk/man/host_basic_info.html +++ b/osfmk/man/host_basic_info.html @@ -1 +1,86 @@ -

host_basic_info


Structure - Used to present basic information about a host.

SYNOPSIS

struct host_basic_info
{
       integer_t            max_cpus;
       integer_t          avail_cpus;
       vm_size_t         memory_size;
       cpu_type_t           cpu_type;
       cpu_subtype_t     cpu_subtype;
};

typedef struct host_basic_info* host_basic_info_t;

FIELDS

max_cpus
Maximum possible CPUs for which kernel is configured

avail_cpus
Number of CPUs now available

memory_size
Size of memory, in bytes

cpu_type
CPU type

cpu_subtype
CPU sub-type

DESCRIPTION

The host_basic_info structure defines the basic information available about a host.

NOTES

This structure is machine word length specific because of the memory size returned.

RELATED INFORMATION

Functions: host_info.

Data Structures: host_load_info, host_sched_info. \ No newline at end of file +

host_basic_info

+
+

+Structure - Used to present basic information about a host. +

SYNOPSIS

+
+struct host_basic_info
+{
+       integer_t            max_cpus;
+       integer_t            avail_cpus;
+       vm_size_t            memory_size;
+       cpu_type_t           cpu_type;
+       cpu_subtype_t        cpu_subtype;
+       cpu_threadtype_t     cpu_threadtype;
+       integer_t            physical_cpu;
+       integer_t            physical_cpu_max;
+       integer_t            logical_cpu;
+       integer_t            logical_cpu_max;
+       uint64_t             max_mem;
+};
+
+typedef struct host_basic_info* host_basic_info_t;
+
+

FIELDS

+
+
max_cpus +
+Maximum number of CPUs possible +

+

avail_cpus +
+Number of CPUs now available +

+

memory_size +
+Size of memory in bytes, capped at 2 GB +

+

cpu_type +
+CPU type +

+

cpu_subtype +
+CPU sub-type +

+

cpu_threadtype +
+CPU thread-type +

+

physical_cpu +
+Number of physical CPUs now available +

+

physical_cpu_max +
+Maximum number of physical CPUs possible +

+

logical_cpu +
+Number of logical CPUs now available +

+

logical_cpu_max +
+Maximum number of logical CPUs possible +

+

max_mem +
+Actual size of physical memory in bytes +
+

DESCRIPTION

+

+The host_basic_info structure defines the basic information +available about a +host. +

NOTES

+

+This structure is machine word length specific because of the memory size +returned. +

RELATED INFORMATION

+

+Functions: +host_info. +

+Data Structures: +host_load_info, +host_sched_info.