summaryrefslogtreecommitdiffstats
path: root/src/include/lib.h
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-28 16:13:28 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-28 16:13:28 +0000
commit581707811c1c24bb0676e7582c671548b8851436 (patch)
tree7d1263d1f0f2f606adef8c2aeb211910aa421ab0 /src/include/lib.h
parentd4e5c0a2282a2af05d620fb0f8806d42a998c6da (diff)
downloadcoreboot-581707811c1c24bb0676e7582c671548b8851436.tar.gz
coreboot-581707811c1c24bb0676e7582c671548b8851436.tar.bz2
coreboot-581707811c1c24bb0676e7582c671548b8851436.zip
Create lib.h for homeless prototypes.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4878 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/lib.h')
-rw-r--r--src/include/lib.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/include/lib.h b/src/include/lib.h
new file mode 100644
index 000000000000..8afa12880e7b
--- /dev/null
+++ b/src/include/lib.h
@@ -0,0 +1,30 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2009, Myles Watson <mylesgw@gmail.com>
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
+ */
+
+/* This file is for "nuisance prototypes" that have no other home. */
+
+/* Defined in src/lib/clog2.c */
+unsigned long log2(unsigned long x);
+
+/* Defined in src/lib/lzma.c */
+unsigned long ulzma(unsigned char *src, unsigned char *dst);
+
+/* Defined in src/arch/i386/boot/gdt.c */
+void move_gdt(void);
+