Changeset 2954 for trunk/kLdr/kLdr.h
- Timestamp:
- Feb 7, 2007, 5:42:32 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdr.h
r2952 r2954 1117 1117 /** The mach-o image format isn't supported by this kLdr build. */ 1118 1118 #define KLDR_ERR_MACHO_NOT_SUPPORTED (KLDR_ERR_BASE + 7) 1119 /** The mach-o image format isn't supported by this kLdr build. */ 1120 #define KLDR_ERR_AOUT_NOT_SUPPORTED (KLDR_ERR_BASE + 8) 1119 /** The FAT image format isn't supported by this kLdr build or 1120 * a direct open was attempt without going thru the FAT file provider. 1121 * FAT images are also known as Universal Binaries. */ 1122 #define KLDR_ERR_FAT_NOT_SUPPORTED (KLDR_ERR_BASE + 8) 1123 /** The a.out image format isn't supported by this kLdr build. */ 1124 #define KLDR_ERR_AOUT_NOT_SUPPORTED (KLDR_ERR_BASE + 9) 1121 1125 1122 1126 /** Invalid parameter to a kLdr API. */ … … 1237 1241 * @{ */ 1238 1242 #define KLDR_ERR_MACHO_BASE (KLDR_ERR_LX_BASE + 12) 1239 /** Only native endian M ACH-O files are supported. */1243 /** Only native endian Mach-O files are supported. */ 1240 1244 #define KLDR_ERR_MACHO_OTHER_ENDIAN_NOT_SUPPORTED (KLDR_ERR_MACHO_BASE + 0) 1241 /** 64-bit M ACH-O files aren't supported yet. */1245 /** 64-bit Mach-O files aren't supported yet. */ 1242 1246 #define KLDR_ERR_MACHO_64BIT_NOT_SUPPORTED (KLDR_ERR_MACHO_BASE + 1) 1243 /** The M ACH-O header is bad or contains new and unsupported features. */1247 /** The Mach-O header is bad or contains new and unsupported features. */ 1244 1248 #define KLDR_ERR_MACHO_BAD_HEADER (KLDR_ERR_MACHO_BASE + 2) 1245 1249 /** The file type isn't supported. */ … … 1247 1251 /** The machine (cputype / cpusubtype combination) isn't supported. */ 1248 1252 #define KLDR_ERR_MACHO_UNSUPPORTED_MACHINE (KLDR_ERR_MACHO_BASE + 4) 1253 /** Bad load command(s). */ 1254 #define KLDR_ERR_MACHO_BAD_LOAD_COMMAND (KLDR_ERR_MACHO_BASE + 5) 1255 /** Encountered an unknown load command.*/ 1256 #define KLDR_ERR_MACHO_UNKNOWN_LOAD_COMMAND (KLDR_ERR_MACHO_BASE + 6) 1257 /** Encountered a load command that's not implemented.*/ 1258 #define KLDR_ERR_MACHO_UNSUPPORTED_LOAD_COMMAND (KLDR_ERR_MACHO_BASE + 7) 1259 /** Bad section. */ 1260 #define KLDR_ERR_MACHO_BAD_SECTION (KLDR_ERR_MACHO_BASE + 8) 1261 /** Encountered a section type that's not implemented.*/ 1262 #define KLDR_ERR_MACHO_UNSUPPORTED_SECTION (KLDR_ERR_MACHO_BASE + 9) 1263 /** Encountered a section type that's not known to the loader. (probably invalid) */ 1264 #define KLDR_ERR_MACHO_UNKNOWN_SECTION (KLDR_ERR_MACHO_BASE + 10) 1265 /** The sections aren't ordered by segment as expected by the loader. */ 1266 #define KLDR_ERR_MACHO_BAD_SECTION_ORDER (KLDR_ERR_MACHO_BASE + 11) 1249 1267 /** @} */ 1250 1268 1251 1269 /** End of the valid kLdr status codes. */ 1252 #define KLDR_ERR_END (KLDR_ERR_ LX_BASE + 12)1270 #define KLDR_ERR_END (KLDR_ERR_MACHO_BASE + 12) 1253 1271 1254 1272 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.