aborted_msg db ' aborted.', CR, LF
section .text
-
or al,1
mov cr0,eax ; Enter protected mode
jmp PM_CS32:.next ; Synchronize and go to 32-bit mode
-
+
bits 32
.next: xor eax,eax
lldt ax ; TR <- 0 to be nice to Intel VT
;; -----------------------------------------------------------------------
-;;
+;;
;; Copyright 2007 H. Peter Anvin - All Rights Reserved
;;
;; This program is free software; you can redistribute it and/or modify
xor ax,ax
mov [bx+gc_bufbytes],ax ; Buffer empty
mov [bx+gc_unget_cnt],al ; ungetc buffer empty
-
+
inc ax ; ZF <- 0
pop bx
.ret: ret