File: loader.h

package info (click to toggle)
etherboot 5.4.4-9
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 7,204 kB
  • ctags: 34,630
  • sloc: ansic: 105,334; asm: 6,604; perl: 2,795; makefile: 1,063; sh: 448; java: 324; xml: 14
file content (14 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Do not change these values unless you really know what you are doing;
   the pre-computed lookup tables rely on the buffer size being 4kB or
   smaller. The buffer size must be a power of two. The lookahead size has
   to fit into 6 bits. If you change any of these numbers, you will also
   have to adjust the decompressor accordingly.
 */

#define BUFSZ           4096
#define LOOKAHEAD       60
#define THRESHOLD       2
#define NCHAR           (256+LOOKAHEAD-THRESHOLD)
#define TABLESZ         (NCHAR+NCHAR-1)
#define NIL             ((unsigned short)-1)