From 2c1bf62d0c8c21bdda316ea0e20be6904bbcb6f5 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Sun, 18 Oct 2009 03:15:59 +0000 Subject: Remove this, we no longer need it. Signed-off-by: Ronald G. Minnich Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4804 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/fs/iso9660.h | 310 ----------------------------------------------- 1 file changed, 310 deletions(-) delete mode 100644 src/include/fs/iso9660.h (limited to 'src/include/fs/iso9660.h') diff --git a/src/include/fs/iso9660.h b/src/include/fs/iso9660.h deleted file mode 100644 index 1c76800eb8..0000000000 --- a/src/include/fs/iso9660.h +++ /dev/null @@ -1,310 +0,0 @@ -#ifndef _ISO9660_H -#define _ISO9660_H - -/* - * The isofs filesystem constants/structures - */ - -/* This part borrowed from the bsd386 isofs */ -#define ISODCL(from, to) (to - from + 1) - -struct iso_volume_descriptor { - char type[ISODCL(1,1)]; /* 711 */ - char id[ISODCL(2,6)]; - char version[ISODCL(7,7)]; - char data[ISODCL(8,2048)]; -}; - -#define ISO_SECTOR_BITS (11) -#define ISO_SECTOR_SIZE (1< - -static inline int isonum_711(char *p) -{ - unsigned char x = *(unsigned char *)p; - return x; -} -static inline int isonum_712(char *p) -{ - return *(char *)p; -} -static inline int isonum_721(char *p) -{ - return le16_to_cpu(*(unsigned short *)p); -} -static inline int isonum_722(char *p) -{ - return be16_to_cpu(*(unsigned short *)p); -} -static inline int isonum_723(char *p) -{ - /* Ignore bigendian datum due to broken mastering programs */ - return le16_to_cpu(*(unsigned short *)p); -} -static inline int isonum_731(char *p) -{ - return le32_to_cpu(*(unsigned int *)p); -} -static inline int isonum_732(char *p) -{ - return be32_to_cpu(*(unsigned int *)p); -} -static inline int isonum_733(char *p) -{ - /* Ignore bigendian datum due to broken mastering programs */ - return le32_to_cpu(*(unsigned int *)p); -} -#endif /* _ISO9660_H */ -- cgit v1.2.3