summaryrefslogtreecommitdiffstats
path: root/src/include/image.h
diff options
context:
space:
mode:
authorMichael Brown2007-01-11 17:04:36 +0100
committerMichael Brown2007-01-11 17:04:36 +0100
commit4fc9333159f3ad62bdc7e27103eac3139ba41e68 (patch)
tree0d5045cf6184c20be75958b51e2bac97445bb074 /src/include/image.h
parentHad this file lying around for ages; may as well check it in. (diff)
downloadipxe-4fc9333159f3ad62bdc7e27103eac3139ba41e68.tar.gz
ipxe-4fc9333159f3ad62bdc7e27103eac3139ba41e68.tar.xz
ipxe-4fc9333159f3ad62bdc7e27103eac3139ba41e68.zip
Move include/image.h to include/gpxe/image.h
Diffstat (limited to 'src/include/image.h')
-rw-r--r--src/include/image.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/include/image.h b/src/include/image.h
deleted file mode 100644
index b86f324c..00000000
--- a/src/include/image.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef IMAGE_H
-#define IMAGE_H
-
-#include "stdint.h"
-#include "io.h"
-#include <gpxe/tables.h>
-#include "dev.h"
-
-struct image {
- char *name;
- int ( * probe ) ( physaddr_t data, off_t len, void **context );
- int ( * load ) ( physaddr_t data, off_t len, void *context );
- int ( * boot ) ( void *context );
-};
-
-#define __image_start __table_start ( struct image, image )
-#define __image __table ( struct image, image, 01 )
-#define __default_image __table ( struct image, image, 02 )
-#define __image_end __table_end ( struct image, image )
-
-/* Functions in image.c */
-
-extern void print_images ( void );
-extern int autoload ( struct dev *dev, struct image **image, void **context );
-
-#endif /* IMAGE_H */