rombios:000f0000
-vgabios:000c0000
\ No newline at end of file
* But it does say that the EXITINTINFO field is in bits 63-1
* ALL other occurances mention a 1 bit reserved field
*/
- uint_t rsvd5 : 1 PACKED;
- ullong_t exit_int_info : 63 PACKED;
+ // uint_t rsvd5 : 1 PACKED;
+ //ullong_t exit_int_info : 63 PACKED;
/* ** */
+ // AMD Manual 2, pg 391, sect: 15.19
+ struct Interrupt_Info exit_int_info PACKED;
+
// uint_t NP_ENABLE : 1 PACKED;
//ullong_t rsvd6 : 63 PACKED; // Should be 0
ullong_t NP_ENABLE PACKED;
region_start += reg->length;
}
+ add_shadow_region_passthrough(&vm_info, 0xc0000, 0xc8000, 0xc0000);
add_shadow_region_passthrough(&vm_info, 0x0, 0xa0000, (addr_t)Allocate_VMM_Pages(160));
add_shadow_region_passthrough(&vm_info, 0xa0000, 0xc0000, 0xa0000);
- if (add_shadow_region_passthrough(&vm_info, 0xc7000, 0xf0000, (addr_t)Allocate_VMM_Pages(41)) == -1) {
+ if (add_shadow_region_passthrough(&vm_info, 0xc8000, 0xf0000, (addr_t)Allocate_VMM_Pages(40)) == -1) {
PrintDebug("Error adding shadow region\n");
}
PrintBoth("Initializing Guest (eip=0x%.8x) (esp=0x%.8x)\n", (uint_t)vm_info.rip,(uint_t)vm_info.vm_regs.rsp);
(vmm_ops).init_guest(&vm_info);
PrintBoth("Starting Guest\n");
- Clear_Screen();
+ //Clear_Screen();
(vmm_ops).start_guest(&vm_info);
return 0;
tmp_reg.r_reg = ctrl_area->exit_info2;
PrintDebug("exit_info2: hi: 0x%.8x, lo: 0x%.8x\n", tmp_reg.e_reg.high, tmp_reg.e_reg.low);
- tmp_reg.r_reg = ctrl_area->exit_int_info;
- PrintDebug("exit_int_info: hi: 0x%.8x, lo: 0x%.8x\n", tmp_reg.e_reg.high, tmp_reg.e_reg.low);
+
+ PrintDebug("Exit Int Info: (at 0x%.8x)\n", &(ctrl_area->exit_int_info));
+ PrintDebug("Vector: %d\n", ctrl_area->exit_int_info.vector);
+ PrintDebug("(type=%d) (ev=%d) (valid=%d)\n", ctrl_area->exit_int_info.type,
+ ctrl_area->exit_int_info.ev, ctrl_area->exit_int_info.valid);
+ PrintDebug("Error Code: %d\n", ctrl_area->exit_int_info.error_code);
tmp_reg.r_reg = ctrl_area->NP_ENABLE;
+// -*- fundamental -*-
/////////////////////////////////////////////////////////////////////////
-// $Id: rombios.c,v 1.1 2007/11/29 20:26:38 pdinda Exp $
+// $Id: rombios.c,v 1.2 2008/04/11 19:12:59 jarusl Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
#endif // BX_ELTORITO_BOOT
-static char bios_cvs_version_string[] = "$Revision: 1.1 $";
-static char bios_date_string[] = "$Date: 2007/11/29 20:26:38 $";
+static char bios_cvs_version_string[] = "$Revision: 1.2 $";
+static char bios_date_string[] = "$Date: 2008/04/11 19:12:59 $";
-static char CVSID[] = "$Id: rombios.c,v 1.1 2007/11/29 20:26:38 pdinda Exp $";
+static char CVSID[] = "$Id: rombios.c,v 1.2 2008/04/11 19:12:59 jarusl Exp $";
/* Offset to skip the CVS $Id: prefix */
#define bios_version_string (CVSID + 4)
;; Video setup
SET_INT_VECTOR(0x10, #0xF000, #int10_handler)
+
+
;; PIC
mov al, #0x11 ; send initialisation commands
out 0x20, al
call rom_scan
+
+ ;; JRL CHANGE
+ ;;push ax
+ ;;push bx
+ ;;mov ah, #0x0e
+ ;;mov al, #0x41
+ ;;xor bx,bx
+ ;;int #0x10
+ ;;pop bx
+ ;;pop ax
+
+
+
call _print_bios_banner
;;