You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
198 lines
4.4 KiB
198 lines
4.4 KiB
struct cpuinfo_mock_file filesystem[] = {
|
|
{
|
|
.path = "/proc/cpuinfo",
|
|
.size = 1140,
|
|
.content =
|
|
"processor\t: 0\n"
|
|
"BogoMIPS\t: 200.00\n"
|
|
"Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics\n"
|
|
"CPU implementer\t: 0x43\n"
|
|
"CPU architecture: 8\n"
|
|
"CPU variant\t: 0x1\n"
|
|
"CPU part\t: 0x0a1\n"
|
|
"CPU revision\t: 1\n"
|
|
"\n"
|
|
"processor\t: 1\n"
|
|
"BogoMIPS\t: 200.00\n"
|
|
"Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics\n"
|
|
"CPU implementer\t: 0x43\n"
|
|
"CPU architecture: 8\n"
|
|
"CPU variant\t: 0x1\n"
|
|
"CPU part\t: 0x0a1\n"
|
|
"CPU revision\t: 1\n"
|
|
"\n"
|
|
"processor\t: 2\n"
|
|
"BogoMIPS\t: 200.00\n"
|
|
"Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics\n"
|
|
"CPU implementer\t: 0x43\n"
|
|
"CPU architecture: 8\n"
|
|
"CPU variant\t: 0x1\n"
|
|
"CPU part\t: 0x0a1\n"
|
|
"CPU revision\t: 1\n"
|
|
"\n"
|
|
"processor\t: 3\n"
|
|
"BogoMIPS\t: 200.00\n"
|
|
"Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics\n"
|
|
"CPU implementer\t: 0x43\n"
|
|
"CPU architecture: 8\n"
|
|
"CPU variant\t: 0x1\n"
|
|
"CPU part\t: 0x0a1\n"
|
|
"CPU revision\t: 1\n"
|
|
"\n"
|
|
"processor\t: 4\n"
|
|
"BogoMIPS\t: 200.00\n"
|
|
"Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics\n"
|
|
"CPU implementer\t: 0x43\n"
|
|
"CPU architecture: 8\n"
|
|
"CPU variant\t: 0x1\n"
|
|
"CPU part\t: 0x0a1\n"
|
|
"CPU revision\t: 1\n"
|
|
"\n"
|
|
"processor\t: 5\n"
|
|
"BogoMIPS\t: 200.00\n"
|
|
"Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics\n"
|
|
"CPU implementer\t: 0x43\n"
|
|
"CPU architecture: 8\n"
|
|
"CPU variant\t: 0x1\n"
|
|
"CPU part\t: 0x0a1\n"
|
|
"CPU revision\t: 1\n"
|
|
"\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/kernel_max",
|
|
.size = 4,
|
|
.content = "127\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/possible",
|
|
.size = 4,
|
|
.content = "0-5\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/present",
|
|
.size = 4,
|
|
.content = "0-5\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu0/topology/physical_package_id",
|
|
.size = 2,
|
|
.content = "0\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu0/topology/core_siblings_list",
|
|
.size = 4,
|
|
.content = "0-5\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu0/topology/core_id",
|
|
.size = 2,
|
|
.content = "0\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu0/topology/thread_siblings_list",
|
|
.size = 2,
|
|
.content = "0\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu1/topology/physical_package_id",
|
|
.size = 2,
|
|
.content = "0\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu1/topology/core_siblings_list",
|
|
.size = 4,
|
|
.content = "0-5\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu1/topology/core_id",
|
|
.size = 2,
|
|
.content = "1\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu1/topology/thread_siblings_list",
|
|
.size = 2,
|
|
.content = "1\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu2/topology/physical_package_id",
|
|
.size = 2,
|
|
.content = "0\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu2/topology/core_siblings_list",
|
|
.size = 4,
|
|
.content = "0-5\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu2/topology/core_id",
|
|
.size = 2,
|
|
.content = "2\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu2/topology/thread_siblings_list",
|
|
.size = 2,
|
|
.content = "2\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu3/topology/physical_package_id",
|
|
.size = 2,
|
|
.content = "0\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu3/topology/core_siblings_list",
|
|
.size = 4,
|
|
.content = "0-5\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu3/topology/core_id",
|
|
.size = 2,
|
|
.content = "3\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu3/topology/thread_siblings_list",
|
|
.size = 2,
|
|
.content = "3\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu4/topology/physical_package_id",
|
|
.size = 2,
|
|
.content = "0\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu4/topology/core_siblings_list",
|
|
.size = 4,
|
|
.content = "0-5\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu4/topology/core_id",
|
|
.size = 2,
|
|
.content = "4\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu4/topology/thread_siblings_list",
|
|
.size = 2,
|
|
.content = "4\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu5/topology/physical_package_id",
|
|
.size = 2,
|
|
.content = "0\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu5/topology/core_siblings_list",
|
|
.size = 4,
|
|
.content = "0-5\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu5/topology/core_id",
|
|
.size = 2,
|
|
.content = "5\n",
|
|
},
|
|
{
|
|
.path = "/sys/devices/system/cpu/cpu5/topology/thread_siblings_list",
|
|
.size = 2,
|
|
.content = "5\n",
|
|
},
|
|
{ NULL },
|
|
};
|