[modrom] Avoid clobbering near jump with checksum
[gpxe.git] / contrib / compressor / loader.h
blob20fa9af36c0e81967c45ff89956c2dec02862c54
1 /* Do not change these values unless you really know what you are doing;
2 the pre-computed lookup tables rely on the buffer size being 4kB or
3 smaller. The buffer size must be a power of two. The lookahead size has
4 to fit into 6 bits. If you change any of these numbers, you will also
5 have to adjust the decompressor accordingly.
6 */
8 #define BUFSZ 4096
9 #define LOOKAHEAD 60
10 #define THRESHOLD 2
11 #define NCHAR (256+LOOKAHEAD-THRESHOLD)
12 #define TABLESZ (NCHAR+NCHAR-1)
13 #define NIL ((unsigned short)-1)