diff --git a/include/image.h b/include/image.h index 5bcfffd47..f2daae9d9 100644 --- a/include/image.h +++ b/include/image.h @@ -29,12 +29,16 @@ #define PIPEFS_MAGIC 0x50495045 -#define FDINFO_REG 1 -#define FDINFO_MAP 2 +enum fd_types { + FDINFO_UND, + FDINFO_REG, + FDINFO_MAP, -/* Specials */ -#define FDINFO_CWD 3 -#define FDINFO_EXE 4 + FDINFO_CWD, + FDINFO_EXE, + + FD_INFO_MAX +}; #define PAGE_IMAGE_SIZE 4096 #define PAGE_RSS 1