summaryrefslogtreecommitdiffstats
path: root/qemu/roms/SLOF/romfs/tools/createcrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/SLOF/romfs/tools/createcrc.h')
-rw-r--r--qemu/roms/SLOF/romfs/tools/createcrc.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/qemu/roms/SLOF/romfs/tools/createcrc.h b/qemu/roms/SLOF/romfs/tools/createcrc.h
new file mode 100644
index 000000000..1f2359829
--- /dev/null
+++ b/qemu/roms/SLOF/romfs/tools/createcrc.h
@@ -0,0 +1,19 @@
+/******************************************************************************
+ * Copyright (c) 2004, 2008 IBM Corporation
+ * All rights reserved.
+ * This program and the accompanying materials
+ * are made available under the terms of the BSD License
+ * which accompanies this distribution, and is available at
+ * http://www.opensource.org/licenses/bsd-license.php
+ *
+ * Contributors:
+ * IBM Corporation - initial implementation
+ *****************************************************************************/
+#ifndef CREATECRC_H
+#define CREATECRC_H
+
+int buildDataStream(unsigned char *pucbuf, int size);
+int createHeaderImgage(char *pcFilename);
+int writeDataStream(int ofd, int notime);
+
+#endif