Skip to content

Commit

Permalink
Add more Wikipedia links to cpu.c
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jan 17, 2014
1 parent 5cc576d commit b986e8e
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ int main(void)
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_VME] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_VME\",\n");
printf(" \"FEATURE\": \"vme\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Virtual_8086_mode\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Virtual mode extension\"\n");
printf(" },\n");
printf(" \"6\": {\n");
Expand Down Expand Up @@ -127,8 +127,8 @@ int main(void)
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_MTRR] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_MTRR\",\n");
printf(" \"FEATURE\": \"mtrr\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Memory_type_range_register\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Memory type range registers\"\n");
printf(" },\n");
printf(" \"11\": {\n");
Expand Down Expand Up @@ -167,8 +167,8 @@ int main(void)
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_FPU] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_FPU\",\n");
printf(" \"FEATURE\": \"fpu\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Floating-point_unit\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Floating point unit\"\n");
printf(" },\n");
printf(" \"16\": {\n");
Expand All @@ -183,8 +183,8 @@ int main(void)
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_VME] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_VME\",\n");
printf(" \"FEATURE\": \"vme\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Virtual_8086_mode\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Virtual mode extension\"\n");
printf(" },\n");
printf(" \"18\": {\n");
Expand All @@ -199,32 +199,32 @@ int main(void)
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_TSC] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_TSC\",\n");
printf(" \"FEATURE\": \"tsc\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Time_Stamp_Counter\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Time-stamp counter\"\n");
printf(" },\n");
printf(" \"20\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_MSR] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_MSR\",\n");
printf(" \"FEATURE\": \"msr\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Model-specific_register\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Model-specific regsisters, RDMSR/WRMSR supported\"\n");
printf(" },\n");
printf(" \"21\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_PAE] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_PAE\",\n");
printf(" \"FEATURE\": \"pae\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Physical_Address_Extension\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Physical address extension\"\n");
printf(" },\n");
printf(" \"22\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_MCE] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_MCE\",\n");
printf(" \"FEATURE\": \"mce\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Machine-check_exception\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Machine check exception\"\n");
printf(" },\n");
printf(" \"23\": {\n");
Expand All @@ -239,40 +239,40 @@ int main(void)
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_APIC] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_APIC\",\n");
printf(" \"FEATURE\": \"apic\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Advanced_Programmable_Interrupt_Controller\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"APIC support\"\n");
printf(" },\n");
printf(" \"25\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_MTRR] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_MTRR\",\n");
printf(" \"FEATURE\": \"mtrr\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Memory_type_range_register\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Memory type range registers\"\n");
printf(" },\n");
printf(" \"26\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_SEP] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_SEP\",\n");
printf(" \"FEATURE\": \"sep\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Call_gate\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"SYSENTER / SYSEXIT instructions supported\"\n");
printf(" },\n");
printf(" \"27\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_PGE] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_PGE\",\n");
printf(" \"FEATURE\": \"pge\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Translation_lookaside_buffer\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Page global enable\"\n");
printf(" },\n");
printf(" \"28\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_MCA] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_MCA\",\n");
printf(" \"FEATURE\": \"mca\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Machine_check_architecture\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Machine check architecture\"\n");
printf(" },\n");
printf(" \"29\": {\n");
Expand Down Expand Up @@ -503,24 +503,24 @@ int main(void)
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_XSAVE] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_XSAVE\",\n");
printf(" \"FEATURE\": \"xsave\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Streaming_SIMD_Extensions\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"XSAVE/XRSTOR/etc instructions supported\"\n");
printf(" },\n");
printf(" \"58\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_OSXSAVE] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_OSXSAVE\",\n");
printf(" \"FEATURE\": \"osxsave\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Streaming_SIMD_Extensions\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"non-privileged copy of OSXSAVE supported\"\n");
printf(" },\n");
printf(" \"59\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_AVX] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_AVX\",\n");
printf(" \"FEATURE\": \"avx\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Advanced_Vector_Extensions\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Advanced vector extensions supported\"\n");
printf(" },\n");
printf(" \"60\": {\n");
Expand Down Expand Up @@ -551,8 +551,8 @@ int main(void)
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_RDTSCP] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_RDTSCP\",\n");
printf(" \"FEATURE\": \"rdtscp\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Time_Stamp_Counter\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"RDTSCP instruction supported (AMD-only)\"\n");
printf(" },\n");
printf(" \"64\": {\n");
Expand Down Expand Up @@ -607,8 +607,8 @@ int main(void)
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_ABM] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_ABM\",\n");
printf(" \"FEATURE\": \"abm\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Bit_Manipulation_Instruction_Sets\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"LZCNT instruction support\"\n");
printf(" },\n");
printf(" \"71\": {\n");
Expand All @@ -631,8 +631,8 @@ int main(void)
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_IBS] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_IBS\",\n");
printf(" \"FEATURE\": \"ibs\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Hardware_performance_counter\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Instruction-based sampling\"\n");
printf(" },\n");
printf(" \"74\": {\n");
Expand Down Expand Up @@ -783,8 +783,8 @@ int main(void)
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_HT] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_HT\",\n");
printf(" \"FEATURE\": \"ht\",\n");
printf(" \"WEBSITE\": \"mmxext\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Hyper-Threading\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Hyper-threading supported (but might be disabled)\"\n");
printf(" },\n");
printf(" \"93\": {\n");
Expand Down

0 comments on commit b986e8e

Please sign in to comment.