misc.c (020abf03cd659388f94cb328e1e1df0656e0d7ff) misc.c (2d3862d26e67a59340ba1cf1748196c76c5787de)
1/*
2 * arch/sh/boot/compressed/misc.c
3 *
4 * This is a collection of several routines from gzip-1.0.3
5 * adapted for Linux.
6 *
7 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994
8 *

--- 118 unchanged lines hidden (view full) ---

127#endif
128
129 output = (unsigned char *)output_addr;
130 free_mem_ptr = (unsigned long)&_end;
131 free_mem_end_ptr = free_mem_ptr + HEAP_SIZE;
132
133 puts("Uncompressing Linux... ");
134 cache_control(CACHE_ENABLE);
1/*
2 * arch/sh/boot/compressed/misc.c
3 *
4 * This is a collection of several routines from gzip-1.0.3
5 * adapted for Linux.
6 *
7 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994
8 *

--- 118 unchanged lines hidden (view full) ---

127#endif
128
129 output = (unsigned char *)output_addr;
130 free_mem_ptr = (unsigned long)&_end;
131 free_mem_end_ptr = free_mem_ptr + HEAP_SIZE;
132
133 puts("Uncompressing Linux... ");
134 cache_control(CACHE_ENABLE);
135 decompress(input_data, input_len, NULL, NULL, output, NULL, error);
135 __decompress(input_data, input_len, NULL, NULL, output, 0, NULL, error);
136 cache_control(CACHE_DISABLE);
137 puts("Ok, booting the kernel.\n");
138}
136 cache_control(CACHE_DISABLE);
137 puts("Ok, booting the kernel.\n");
138}