Rename decompress_lzvn function to lzvn_decode follow Apple source name.

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2477 b5af796a-00a8-11df-919b-ffff7a100b7d
Fix "sed: RE error: illegal byte sequence", which turns out to be from feeding sed a TIFF file (buildpkg.sh)

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2478 b5af796a-00a8-11df-919b-ffff7a100b7d
CacheInit(), CacheRead() prototypes: use u_int32_t instead of long where appropriate (saio_internal.h), improved defensiveness against malloc failure (disk.c), use u_int32_t instead of long where appropriate (cache.c)

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2479 b5af796a-00a8-11df-919b-ffff7a100b7d
Comment out unused static functions, which cause build to fail in "release" mode; other minor cleanups

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2480 b5af796a-00a8-11df-919b-ffff7a100b7d
Improved defensiveness against malloc failure (disk.c)

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2481 b5af796a-00a8-11df-919b-ffff7a100b7d
Update laoder.h to latest, declare gMI global, Load modules passed in via the multiboot header / first bootloader, fix mboot.h include, Add ?log command to print out bdmesg without needing Wait=y, Add slightly more debugging for modules.

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2482 b5af796a-00a8-11df-919b-ffff7a100b7d
Rename CPU_MODEL_xxx into CPUID_MODEL_xxx follow Apple source name

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2483 b5af796a-00a8-11df-919b-ffff7a100b7d
Split out states generator from acpi_patcher (Credits to Clover Teams)

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2484 b5af796a-00a8-11df-919b-ffff7a100b7d
Merged proposed patch by N3 (Boot from vanilla Recovery HD, Installation DMG)

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2485 b5af796a-00a8-11df-919b-ffff7a100b7d