Show
Ignore:
Timestamp:
09/04/09 23:38:21 (3 years ago)
Author:
H. Peter Anvin <hpa@…>
Children:
779a360023f47def89666923653d3ec59483a036
Parents:
517edd4527b9b4bd33aa18c8c6edecf20a9a992f
git-committer:
H. Peter Anvin <hpa@zytor.com> / 2009-09-04T16:38:21Z-0700
Message:

core: remove overzealous calls to cleanup_hardware

cleanup_hardware is not needed in core/runkernel.inc: cleanup_hardware
is already invoked from replace_bootstrap. Furthermore,
cleanup_hardware is defined to preserve all registers, so there is no
need to push/pop ax around it.

Signed-off-by: H. Peter Anvin <hpa@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • core/localboot.inc

    r517edd r96281d  
    3232                mov si,localboot_msg 
    3333                call writestr 
    34                 push ax 
    3534                call cleanup_hardware 
    36                 pop ax 
    3735                cmp ax,-1 
    3836                je .int18