diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-03 16:06:41 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-03 16:06:41 -0800 |
commit | addaeaeb3949d576c4e0eb5cfc133b7c3bcfa8fa (patch) | |
tree | 2ffea726dc494e87ecc9f506bc6a2bc9242730e3 /gpxe/src/include/lib.h | |
parent | 5c0f48e49f8d7d084810ecf0b98a76aaebb44835 (diff) | |
parent | e7a5f95432132c8fc8f8ede39fda1d368002ddd8 (diff) | |
download | syslinux.git-addaeaeb3949d576c4e0eb5cfc133b7c3bcfa8fa.tar.gz syslinux.git-addaeaeb3949d576c4e0eb5cfc133b7c3bcfa8fa.tar.xz syslinux.git-addaeaeb3949d576c4e0eb5cfc133b7c3bcfa8fa.zip |
Merge branch 'master' into i915res
Diffstat (limited to 'gpxe/src/include/lib.h')
-rw-r--r-- | gpxe/src/include/lib.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/gpxe/src/include/lib.h b/gpxe/src/include/lib.h deleted file mode 100644 index 400ea468..00000000 --- a/gpxe/src/include/lib.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef LIB_H -#define LIB_H - -#include <stdint.h> - -int getline(char *buf, int max); - -extern struct pci_device *dev_list; -extern int n_devs; - -extern void pci_init(void); -extern struct pci_device *pci_find_device(int vendor, int device, int devclass, -int prog_if, int index); - -void *calloc(size_t nmemb, size_t size); -void *realloc(void *ptr, size_t size); - -char *strdup(const char *s); - -int isspace(int c); - -unsigned long long simple_strtoull(const char *cp,char **endp,unsigned int base); -unsigned long long strtoull_with_suffix(const char *cp,char **endp,unsigned int base); - -unsigned int get_le32(const unsigned char *); -unsigned int get_le16(const unsigned char *); -void hexdump(const void *p, unsigned int len); - -long long simple_strtoll(const char *cp,char **endp,unsigned int base); - -#define LOADER_NOT_SUPPORT 0xbadf11e - -struct sys_info; -int elf_load(struct sys_info *, const char *filename, const char *cmdline); - -#if LINUX_LOADER -int linux_load(struct sys_info *, const char *filename, const char *cmdline); -#else -#define linux_load(x,y,z) LOADER_NOT_SUPPORT /* nop */ -#endif - -#endif /* LIB_H */ |