00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include "global.h"
00023 #include "htendian.h"
00024 #include "nestruct.h"
00025
00026 byte NE_HEADER_struct[] = {
00027 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00028 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00029 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00030 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00031 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00032 STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00033 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00034 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00035 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00036 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00037 STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00038 STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00039 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00040 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00041 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00042 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00043 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00044 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00045 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00046 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00047 STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00048 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00049 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00050 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00051 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00052 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00053 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00054 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00055 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00056 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00057 0
00058 };
00059
00060 byte NE_SEGMENT_struct[] = {
00061 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00062 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00063 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00064 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00065 0
00066 };
00067
00068 byte NE_ENTRYPOINT_HEADER_struct[] = {
00069 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00070 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00071 0
00072 };
00073
00074 byte NE_ENTRYPOINT_MOVABLE_struct[] = {
00075 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00076 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00077 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00078 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00079 0
00080 };
00081
00082 byte NE_ENTRYPOINT_FIXED_struct[] = {
00083 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00084 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00085 0
00086 };
00087
00088 byte NE_RELOC_HEADER_struct[] = {
00089 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00090 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00091 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00092 0
00093 };
00094
00095 byte NE_RELOC_INTERNAL_struct[] = {
00096 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00097 STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00098 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00099 0
00100 };
00101
00102 byte NE_RELOC_IMPORT_struct[] = {
00103 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00104 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00105 0
00106 };
00107
00108 byte NE_RELOC_FIXUP_struct[] = {
00109 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00110 STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00111 0
00112 };
00113