COMPRESSION

This configuration option specifies whether Romimage.exe compresses the writable sections in the image. If the writable sections are compressed, the kernel decompresses them as it loads them into RAM.

COMPRESSION = OFF | ON 

Parameters

  • OFF
    The writable sections are not compressed.
  • ON
    By default, the writable sections in the MODULES section, as well as all files in the FILES section, are compressed.

Remarks

The ON configuration option should always be used. When ON, the Compression component must be added to the OS image.

By default, Romimage.exe compresses all writable sections to reduce the image size. When the module is loaded from ROM or flash memory, the writable sections are decompressed into RAM.

For modules containing the C attribute, which means compress everything, this configuration option is ignored, because the entire module is already compressed.

The writable sections are always copied into RAM, even if they are not compressed.

See Also

CONFIG Section | MODULES Section

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.