aboutsummaryrefslogtreecommitdiffstats
path: root/vppinfra/vppinfra/cpu.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-03-04 12:44:14 +0100
committerDamjan Marion <damarion@cisco.com>2016-03-04 15:02:27 +0100
commit522e4864b9b8b6751a9cb35ad8f1926f5d162837 (patch)
treee26cf9c524c94a68b1a1203d738ad91dcaa53c13 /vppinfra/vppinfra/cpu.h
parent196cb3d82a7085a9122efadbe4ef1fd8ad19b01e (diff)
Add CPU detection functions
Change-Id: Id7ea0410d6a789000c747c36a7e50076e31dc29a Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vppinfra/vppinfra/cpu.h')
-rw-r--r--vppinfra/vppinfra/cpu.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/vppinfra/vppinfra/cpu.h b/vppinfra/vppinfra/cpu.h
new file mode 100644
index 00000000000..79cdf74f84b
--- /dev/null
+++ b/vppinfra/vppinfra/cpu.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2016 Cisco and/or its affiliates.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef included_clib_cpu_h
+#define included_clib_cpu_h
+
+format_function_t format_cpu_uarch;
+format_function_t format_cpu_model_name;
+
+#endif \ No newline at end of file