• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1;
2; The prefix is a small structure that prefaces the actual code;
3; it gives the compression program necessary information.
4;
5
6		section .prefix		nowrite progbits align=16
7pfx_start	dd _start		; Start of raw chunk
8pfx_compressed	dd __pm_code_lma	; Start of compressed chunk
9pfx_cdatalen	dd lzo_data_size	; Pointer to compressed size field
10%if IS_ISOLINUX
11pfx_checksum	dd bi_length		; File length and checksum fields
12%else
13pfx_checksum	dd 0			; No checksum
14%endif
15pfx_maxlma	dd MaxLMA		; Maximum size
16
17		section .text16
18