summaryrefslogtreecommitdiffstats
path: root/payloads/linuxcheck/linuxcheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/linuxcheck/linuxcheck.h')
-rw-r--r--payloads/linuxcheck/linuxcheck.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/payloads/linuxcheck/linuxcheck.h b/payloads/linuxcheck/linuxcheck.h
new file mode 100644
index 000000000000..b7078765566f
--- /dev/null
+++ b/payloads/linuxcheck/linuxcheck.h
@@ -0,0 +1,22 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018 Google Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+/* buts is a programmed IO byte puts, which you need to write for all platforms. */
+void buts(char *s);
+
+void hex4(u8 c);
+void hex8(u8 c);
+void hex16(u16 c);
+void hex32(u32 c);