LDLINUX: Fix "kaboom" bug when booting off hard disk

Provide an API call for "perform final cleanup"
3 files changed