Changeset 58 for trunk/include/k
- Timestamp:
- Oct 12, 2013, 10:18:21 PM (12 years ago)
- Location:
- trunk/include/k
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/k/kErrors.h
r54 r58 208 208 /** The image has no UUID. */ 209 209 #define KLDR_ERR_NO_IMAGE_UUID (KLDR_ERR_BASE + 38) 210 /** Duplicate segment name. */ 211 #define KLDR_ERR_DUPLICATE_SEGMENT_NAME (KLDR_ERR_BASE + 39) 210 212 /** @} */ 211 213 … … 214 216 */ 215 217 /** The base of the kLdrModPE specific status codes. */ 216 #define KLDR_ERR_PE_BASE (KLDR_ERR_BASE + 39)218 #define KLDR_ERR_PE_BASE (KLDR_ERR_BASE + 40) 217 219 /** The machine isn't supported by the interpreter. */ 218 220 #define KLDR_ERR_PE_UNSUPPORTED_MACHINE (KLDR_ERR_PE_BASE + 0) … … 303 305 /** Unsupported fixup type. */ 304 306 #define KLDR_ERR_MACHO_UNSUPPORTED_FIXUP_TYPE (KLDR_ERR_MACHO_BASE + 16) 307 /** Both debug and non-debug sections in segment. */ 308 #define KLDR_ERR_MACHO_MIXED_DEBUG_SECTION_FLAGS (KLDR_ERR_MACHO_BASE + 17) 309 /** The segment bits are non-contiguous in the file. */ 310 #define KLDR_ERR_MACHO_NON_CONT_SEG_BITS (KLDR_ERR_MACHO_BASE + 18) 305 311 /** @} */ 306 312 … … 309 315 */ 310 316 /** The base of the kCpu specific status codes. */ 311 #define KCPU_ERR_BASE (KLDR_ERR_MACHO_BASE + 1 8)317 #define KCPU_ERR_BASE (KLDR_ERR_MACHO_BASE + 19) 312 318 /** The specified ARCH+CPU pairs aren't compatible. */ 313 319 #define KCPU_ERR_ARCH_CPU_NOT_COMPATIBLE (KCPU_ERR_BASE + 0) -
trunk/include/k/kLdr.h
r54 r58 366 366 367 367 368 /** @name KLDRMOD::fFlags 369 * @{ */ 370 /** The link address doesn't form a contiguous image, from the first to the 371 * last segment. */ 372 #define KLDRMOD_FLAGS_NON_CONTIGUOUS_LINK_ADDRS K_BIT32(0) 373 /** @} */ 374 368 375 /** Pointer to a module interpreter method table. */ 369 376 typedef struct KLDRMODOPS *PKLDRMODOPS; … … 390 397 /** The endian used by the module. */ 391 398 KLDRENDIAN enmEndian; 399 /** Module falgs. */ 400 KU32 fFlags; 392 401 /** The filename length (bytes). */ 393 402 KU32 cchFilename;
Note:
See TracChangeset
for help on using the changeset viewer.