From b98e22a3475906e3e1829d140079147fe1fb3e2b Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 30 May 2017 20:31:13 -0500 Subject: [PATCH] MP1 changed placeholder to my name. --- .gitignore | 2 + MP1/MP1_Sources/bochsout.txt | 448 +++++++++++++--------------- MP1/MP1_Sources/dev_kernel_grub.img | Bin 1474560 -> 1474560 bytes MP1/MP1_Sources/kernel.C | 2 +- 4 files changed, 216 insertions(+), 236 deletions(-) diff --git a/.gitignore b/.gitignore index 2983150..fa04242 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ Abraham Silberschatz-Operating System Concepts (9th,2012.12).pdf DevEnv/ +*.o +*.bin diff --git a/MP1/MP1_Sources/bochsout.txt b/MP1/MP1_Sources/bochsout.txt index 8e797ca..476be70 100644 --- a/MP1/MP1_Sources/bochsout.txt +++ b/MP1/MP1_Sources/bochsout.txt @@ -1,235 +1,213 @@ -00000000000i[ ] Bochs x86 Emulator 2.4.6 -00000000000i[ ] Build from CVS snapshot, on February 22, 2011 -00000000000i[ ] Compiled at Nov 11 2011, 09:31:18 -00000000000i[ ] System configuration -00000000000i[ ] processors: 1 (cores=1, HT threads=1) -00000000000i[ ] A20 line support: yes -00000000000i[ ] CPU configuration -00000000000i[ ] level: 6 -00000000000i[ ] SMP support: no -00000000000i[ ] APIC support: yes -00000000000i[ ] FPU support: yes -00000000000i[ ] MMX support: yes -00000000000i[ ] 3dnow! support: no -00000000000i[ ] SEP support: yes -00000000000i[ ] SSE support: sse2 -00000000000i[ ] XSAVE support: no -00000000000i[ ] AES support: no -00000000000i[ ] MOVBE support: no -00000000000i[ ] x86-64 support: yes -00000000000i[ ] 1G paging support: no -00000000000i[ ] VMX support: no -00000000000i[ ] Optimization configuration -00000000000i[ ] RepeatSpeedups support: yes -00000000000i[ ] Trace cache support: yes -00000000000i[ ] Fast function calls: yes -00000000000i[ ] Devices configuration -00000000000i[ ] ACPI support: yes -00000000000i[ ] NE2000 support: yes -00000000000i[ ] PCI support: yes, enabled=yes -00000000000i[ ] SB16 support: yes -00000000000i[ ] USB support: yes -00000000000i[ ] VGA extension support: vbe -00000000000i[MEM0 ] allocated memory at 0x7f59a881c010. after alignment, vector=0x7f59a881d000 -00000000000i[MEM0 ] 32.00MB -00000000000i[MEM0 ] mem block size = 0x00100000, blocks=32 -00000000000i[MEM0 ] rom at 0xfffe0000/131072 ('BIOS-bochs-latest') -00000000000i[MEM0 ] rom at 0xc0000/38400 ('VGABIOS-lgpl-latest') -00000000000i[ ] lt_dlhandle is 0x2b1e550 -00000000000i[PLGIN] loaded plugin libbx_cmos.so -00000000000i[ ] lt_dlhandle is 0x2b1ef70 -00000000000i[PLGIN] loaded plugin libbx_dma.so -00000000000i[ ] lt_dlhandle is 0x2b1f9d0 -00000000000i[PLGIN] loaded plugin libbx_pic.so -00000000000i[ ] lt_dlhandle is 0x2b20210 -00000000000i[PLGIN] loaded plugin libbx_pit.so -00000000000i[ ] lt_dlhandle is 0x2b20b80 -00000000000i[PLGIN] loaded plugin libbx_vga.so -00000000000i[ ] lt_dlhandle is 0x2b212b0 -00000000000i[PLGIN] loaded plugin libbx_hdimage.so -00000000000i[ ] lt_dlhandle is 0x2b21b70 -00000000000i[PLGIN] loaded plugin libbx_floppy.so -00000000000i[ ] lt_dlhandle is 0x2b22760 -00000000000i[PLGIN] loaded plugin libbx_soundmod.so -00000000000i[ ] lt_dlhandle is 0x2b23db0 -00000000000i[PLGIN] loaded plugin libbx_pci.so -00000000000i[ ] lt_dlhandle is 0x2b249e0 -00000000000i[PLGIN] loaded plugin libbx_pci2isa.so -00000000000i[ ] lt_dlhandle is 0x2b252c0 -00000000000i[PLGIN] loaded plugin libbx_usb_common.so -00000000000i[ ] lt_dlhandle is 0x2b25b20 -00000000000i[PLGIN] loaded plugin libbx_unmapped.so -00000000000i[ ] lt_dlhandle is 0x2b26390 -00000000000i[PLGIN] loaded plugin libbx_biosdev.so -00000000000i[ ] lt_dlhandle is 0x2b26cc0 -00000000000i[PLGIN] loaded plugin libbx_speaker.so -00000000000i[ ] lt_dlhandle is 0x2b274f0 -00000000000i[PLGIN] loaded plugin libbx_extfpuirq.so -00000000000i[ ] lt_dlhandle is 0x2b27d60 -00000000000i[PLGIN] loaded plugin libbx_gameport.so -00000000000i[ ] lt_dlhandle is 0x2b286d0 -00000000000i[PLGIN] loaded plugin libbx_pci_ide.so -00000000000i[ ] lt_dlhandle is 0x2b290a0 -00000000000i[PLGIN] loaded plugin libbx_acpi.so -00000000000i[ ] lt_dlhandle is 0x2b299e0 -00000000000i[PLGIN] loaded plugin libbx_ioapic.so -00000000000i[ ] lt_dlhandle is 0x2b2a390 -00000000000i[PLGIN] loaded plugin libbx_keyboard.so -00000000000i[ ] lt_dlhandle is 0x2b2ab90 -00000000000i[PLGIN] loaded plugin libbx_harddrv.so -00000000000i[ ] lt_dlhandle is 0x2b3cc60 -00000000000i[PLGIN] loaded plugin libbx_serial.so -00000000000i[ ] lt_dlhandle is 0x2b3dad0 -00000000000i[PLGIN] loaded plugin libbx_parallel.so -00000000000i[CMOS ] Using local time for initial clock -00000000000i[CMOS ] Setting initial clock to: Mon May 29 17:37:28 2017 (time0=1496097448) -00000000000i[DMA ] channel 4 used by cascade -00000000000i[DMA ] channel 2 used by Floppy Drive -00000000000i[FDD ] fd0: 'dev_kernel_grub.img' ro=0, h=2,t=80,spt=18 -00000000000i[PCI ] 440FX Host bridge present at device 0, function 0 -00000000000i[PCI ] PIIX3 PCI-to-ISA bridge present at device 1, function 0 -00000000000i[VGA ] interval=50000 -00000000000i[MEM0 ] Register memory access handlers: 0x00000000000a0000 - 0x00000000000bffff -00000000000i[XGUI ] test_alloc_colors: 16 colors available out of 16 colors tried -00000000000i[XGUI ] font 8 wide x 16 high, display depth = 24 -00000000000i[MEM0 ] Register memory access handlers: 0x00000000e0000000 - 0x00000000e0ffffff -00000000000i[VGA ] VBE Bochs Display Extension Enabled -00000000000i[PLGIN] init_dev of 'unmapped' plugin device by virtual method -00000000000i[PLGIN] init_dev of 'biosdev' plugin device by virtual method -00000000000i[PLGIN] init_dev of 'speaker' plugin device by virtual method -00000000000i[SPEAK] Failed to open /dev/console: Resource temporarily unavailable -00000000000i[SPEAK] Deactivating beep on console -00000000000i[PLGIN] init_dev of 'extfpuirq' plugin device by virtual method -00000000000i[PLGIN] init_dev of 'gameport' plugin device by virtual method -00000000000i[PLGIN] init_dev of 'pci_ide' plugin device by virtual method -00000000000i[PCI ] PIIX3 PCI IDE controller present at device 1, function 1 -00000000000i[PLGIN] init_dev of 'acpi' plugin device by virtual method -00000000000i[PCI ] ACPI Controller present at device 1, function 3 -00000000000i[PLGIN] init_dev of 'ioapic' plugin device by virtual method -00000000000i[IOAP ] initializing I/O APIC -00000000000i[MEM0 ] Register memory access handlers: 0x00000000fec00000 - 0x00000000fec00fff -00000000000i[PLGIN] init_dev of 'keyboard' plugin device by virtual method -00000000000i[KBD ] will paste characters every 1000 keyboard ticks -00000000000i[PLGIN] init_dev of 'harddrv' plugin device by virtual method -00000000000i[HD ] Using boot sequence floppy, none, none -00000000000i[HD ] Floppy boot signature check is enabled -00000000000i[PLGIN] init_dev of 'serial' plugin device by virtual method -00000000000i[SER ] com1 at 0x03f8 irq 4 -00000000000i[PLGIN] init_dev of 'parallel' plugin device by virtual method -00000000000i[PAR ] parallel port 1 at 0x0378 irq 7 -00000000000i[PLGIN] register state of 'unmapped' plugin device by virtual method -00000000000i[PLGIN] register state of 'biosdev' plugin device by virtual method -00000000000i[PLGIN] register state of 'speaker' plugin device by virtual method -00000000000i[PLGIN] register state of 'extfpuirq' plugin device by virtual method -00000000000i[PLGIN] register state of 'gameport' plugin device by virtual method -00000000000i[PLGIN] register state of 'pci_ide' plugin device by virtual method -00000000000i[PLGIN] register state of 'acpi' plugin device by virtual method -00000000000i[PLGIN] register state of 'ioapic' plugin device by virtual method -00000000000i[PLGIN] register state of 'keyboard' plugin device by virtual method -00000000000i[PLGIN] register state of 'harddrv' plugin device by virtual method -00000000000i[PLGIN] register state of 'serial' plugin device by virtual method -00000000000i[PLGIN] register state of 'parallel' plugin device by virtual method -00000000000i[SYS ] bx_pc_system_c::Reset(HARDWARE) called -00000000000i[CPU0 ] cpu hardware reset -00000000000i[APIC0] allocate APIC id=0 (MMIO enabled) to 0x00000000fee00000 -00000000000i[CPU0 ] CPUID[0x00000000]: 00000003 756e6547 6c65746e 49656e69 -00000000000i[CPU0 ] CPUID[0x00000001]: 00000f23 00000800 00002000 07cbfbff -00000000000i[CPU0 ] CPUID[0x00000002]: 00410601 00000000 00000000 00000000 -00000000000i[CPU0 ] CPUID[0x00000003]: 00000000 00000000 00000000 00000000 -00000000000i[CPU0 ] CPUID[0x00000004]: 00000000 00000000 00000000 00000000 -00000000000i[CPU0 ] CPUID[0x00000007]: 00000000 00000000 00000000 00000000 -00000000000i[CPU0 ] CPUID[0x80000000]: 80000008 00000000 00000000 00000000 -00000000000i[CPU0 ] CPUID[0x80000001]: 00000000 00000000 00000001 2a100800 -00000000000i[CPU0 ] CPUID[0x80000002]: 20202020 20202020 20202020 6e492020 -00000000000i[CPU0 ] CPUID[0x80000003]: 286c6574 50202952 69746e65 52286d75 -00000000000i[CPU0 ] CPUID[0x80000004]: 20342029 20555043 20202020 00202020 -00000000000i[CPU0 ] CPUID[0x80000006]: 00000000 42004200 02008140 00000000 -00000000000i[CPU0 ] CPUID[0x80000007]: 00000000 00000000 00000000 00000000 -00000000000i[CPU0 ] CPUID[0x80000008]: 00003028 00000000 00000000 00000000 -00000000000i[PLGIN] reset of 'unmapped' plugin device by virtual method -00000000000i[PLGIN] reset of 'biosdev' plugin device by virtual method -00000000000i[PLGIN] reset of 'speaker' plugin device by virtual method -00000000000i[PLGIN] reset of 'extfpuirq' plugin device by virtual method -00000000000i[PLGIN] reset of 'gameport' plugin device by virtual method -00000000000i[PLGIN] reset of 'pci_ide' plugin device by virtual method -00000000000i[PLGIN] reset of 'acpi' plugin device by virtual method -00000000000i[PLGIN] reset of 'ioapic' plugin device by virtual method -00000000000i[PLGIN] reset of 'keyboard' plugin device by virtual method -00000000000i[PLGIN] reset of 'harddrv' plugin device by virtual method -00000000000i[PLGIN] reset of 'serial' plugin device by virtual method -00000000000i[PLGIN] reset of 'parallel' plugin device by virtual method -00000000000i[XGUI ] [x] Mouse off -00000003302i[BIOS ] $Revision: 1.209 $ $Date: 2008/06/02 20:08:10 $ -00000318057i[KBD ] reset-disable command received -00000438667i[VBIOS] VGABios $Id: vgabios.c,v 1.67 2008/01/27 09:44:12 vruppert Exp $ -00000438738i[VGA ] VBE known Display Interface b0c0 -00000438770i[VGA ] VBE known Display Interface b0c4 -00000441695i[VBIOS] VBE Bios $Id: vbe.c,v 1.60 2008/03/02 07:47:21 vruppert Exp $ -00000600000i[XGUI ] charmap update. Font Height is 16 -00000764696i[BIOS ] Starting rombios32 -00000765523i[BIOS ] ram_size=0x02000000 -00000805868i[BIOS ] Found 1 cpu(s) -00000822169i[BIOS ] bios_table_addr: 0x000fb778 end=0x000fcc00 -00000822236i[PCI ] 440FX PMC write to PAM register 59 (TLB Flush) -00001281043i[PCI ] 440FX PMC write to PAM register 59 (TLB Flush) -00001740530i[P2I ] PCI IRQ routing: PIRQA# set to 0x0b -00001740577i[P2I ] PCI IRQ routing: PIRQB# set to 0x09 -00001740624i[P2I ] PCI IRQ routing: PIRQC# set to 0x0b -00001740671i[P2I ] PCI IRQ routing: PIRQD# set to 0x09 -00001740687i[P2I ] write: ELCR2 = 0x0a -00001741624i[BIOS ] PIIX3 init: elcr=00 0a -00001761879i[BIOS ] PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237 -00001765116i[BIOS ] PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000 -00001767849i[BIOS ] PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010 -00001768310i[PIDE ] new BM-DMA address: 0xc000 -00001769193i[BIOS ] region 4: 0x0000c000 -00001771769i[BIOS ] PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113 -00001772269i[ACPI ] new irq line = 11 -00001772306i[ACPI ] new PM base address: 0xb000 -00001772368i[ACPI ] new SM base address: 0xb100 -00001772836i[CPU0 ] Enter to System Management Mode -00001772846i[CPU0 ] RSM: Resuming from System Management Mode -00001772880i[PCI ] setting SMRAM control register to 0x4a -00001773162i[PCI ] setting SMRAM control register to 0x0a -00001796443i[BIOS ] MP table addr=0x000fb850 MPC table addr=0x000fb780 size=0xd0 -00001798646i[BIOS ] SMBIOS table addr=0x000fb860 -00001801690i[BIOS ] ACPI tables: RSDP addr=0x000fb970 ACPI DATA addr=0x01ff0000 size=0x9d8 -00001821223i[PCI ] 440FX PMC write to PAM register 59 (TLB Flush) -00001822235i[BIOS ] bios_table_cur_addr: 0x000fb994 -00014041530i[BIOS ] Booting from 0000:7c00 -00023800000i[XGUI ] charmap update. Font Height is 16 -00024000000i[XGUI ] charmap update. Font Height is 16 -00051600000i[XGUI ] charmap update. Font Height is 16 -00059200000i[XGUI ] charmap update. Font Height is 16 -00163492000p[XGUI ] >>PANIC<< POWER button turned off. -00163492000i[CPU0 ] CPU is in protected mode (active) -00163492000i[CPU0 ] CS.d_b = 32 bit -00163492000i[CPU0 ] SS.d_b = 32 bit -00163492000i[CPU0 ] EFER = 0x00000000 -00163492000i[CPU0 ] | RAX=0000000000000000 RBX=0000000000101000 -00163492000i[CPU0 ] | RCX=00000000000b8000 RDX=00000000000003d4 -00163492000i[CPU0 ] | RSP=0000000000102fe0 RBP=0000000000102ff8 -00163492000i[CPU0 ] | RSI=00000000000263d3 RDI=00000000000263df -00163492000i[CPU0 ] | R8=0000000000000000 R9=0000000000000000 -00163492000i[CPU0 ] | R10=0000000000000000 R11=0000000000000000 -00163492000i[CPU0 ] | R12=0000000000000000 R13=0000000000000000 -00163492000i[CPU0 ] | R14=0000000000000000 R15=0000000000000000 -00163492000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df if tf sf ZF af PF cf -00163492000i[CPU0 ] | SEG selector base limit G D -00163492000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D -00163492000i[CPU0 ] | CS:0008( 0001| 0| 0) 00000000 ffffffff 1 1 -00163492000i[CPU0 ] | DS:0010( 0002| 0| 0) 00000000 ffffffff 1 1 -00163492000i[CPU0 ] | SS:0010( 0002| 0| 0) 00000000 ffffffff 1 1 -00163492000i[CPU0 ] | ES:0010( 0002| 0| 0) 00000000 ffffffff 1 1 -00163492000i[CPU0 ] | FS:0010( 0002| 0| 0) 00000000 ffffffff 1 1 -00163492000i[CPU0 ] | GS:0010( 0002| 0| 0) 00000000 ffffffff 1 1 -00163492000i[CPU0 ] | MSR_FS_BASE:0000000000000000 -00163492000i[CPU0 ] | MSR_GS_BASE:0000000000000000 -00163492000i[CPU0 ] | RIP=00000000001000e9 (00000000001000e9) -00163492000i[CPU0 ] | CR0=0x60000011 CR2=0x0000000000000000 -00163492000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000 -00163492000i[CPU0 ] 0x00000000001000e9>> jmp .-2 (0x001000e9) : EBFE -00163492000i[CMOS ] Last time is 1496097488 (Mon May 29 17:38:08 2017) -00163492000i[XGUI ] Exit -00163492000i[ ] restoring default signal behavior -00163492000i[CTRL ] quit_sim called with exit code 1 +00000000000i[ ] Bochs x86 Emulator 2.6.9 +00000000000i[ ] Built from SVN snapshot on April 9, 2017 +00000000000i[ ] Compiled on Apr 21 2017 at 23:41:40 +00000000000i[ ] System configuration +00000000000i[ ] processors: 1 (cores=1, HT threads=1) +00000000000i[ ] A20 line support: yes +00000000000i[ ] IPS is set to 4000000 +00000000000i[ ] CPU configuration +00000000000i[ ] SMP support: yes, quantum=16 +00000000000i[ ] level: 6 +00000000000i[ ] APIC support: xapic +00000000000i[ ] FPU support: yes +00000000000i[ ] MMX support: yes +00000000000i[ ] 3dnow! support: yes +00000000000i[ ] SEP support: yes +00000000000i[ ] SIMD support: sse2 +00000000000i[ ] XSAVE support: no +00000000000i[ ] AES support: no +00000000000i[ ] SHA support: no +00000000000i[ ] MOVBE support: no +00000000000i[ ] ADX support: no +00000000000i[ ] x86-64 support: yes +00000000000i[ ] 1G paging support: no +00000000000i[ ] MWAIT support: yes +00000000000i[ ] Optimization configuration +00000000000i[ ] RepeatSpeedups support: no +00000000000i[ ] Fast function calls: no +00000000000i[ ] Handlers Chaining speedups: no +00000000000i[ ] Devices configuration +00000000000i[ ] PCI support: i440FX i430FX +00000000000i[ ] Networking: no +00000000000i[ ] Sound support: no +00000000000i[ ] USB support: UHCI +00000000000i[ ] VGA extension support: vbe +00000000000i[MEM0 ] allocated memory at 0x7f51d3416010. after alignment, vector=0x7f51d3417000 +00000000000i[MEM0 ] 32.00MB +00000000000i[MEM0 ] mem block size = 0x00020000, blocks=256 +00000000000i[MEM0 ] rom at 0xfffe0000/131072 ('BIOS-bochs-latest') +00000000000i[CPU0 ] WARNING: 3DNow! is not implemented yet ! +00000000000i[PLUGIN] init_dev of 'pci' plugin device by virtual method +00000000000i[DEV ] i440FX PMC present at device 0, function 0 +00000000000i[PLUGIN] init_dev of 'pci2isa' plugin device by virtual method +00000000000i[DEV ] PIIX3 PCI-to-ISA bridge present at device 1, function 0 +00000000000i[PLUGIN] init_dev of 'cmos' plugin device by virtual method +00000000000i[CMOS ] Using local time for initial clock +00000000000i[CMOS ] Setting initial clock to: Tue May 30 20:29:08 2017 (time0=1496194148) +00000000000i[PLUGIN] init_dev of 'dma' plugin device by virtual method +00000000000i[DMA ] channel 4 used by cascade +00000000000i[PLUGIN] init_dev of 'pic' plugin device by virtual method +00000000000i[PLUGIN] init_dev of 'pit' plugin device by virtual method +00000000000i[PLUGIN] init_dev of 'vga' plugin device by virtual method +00000000000i[MEM0 ] Register memory access handlers: 0x0000000a0000 - 0x0000000bffff +00000000000i[VGA ] interval=200000, mode=realtime +00000000000i[MEM0 ] Register memory access handlers: 0x0000e0000000 - 0x0000e0ffffff +00000000000i[BXVGA ] VBE Bochs Display Extension Enabled +00000000000i[XGUI ] test_alloc_colors: 16 colors available out of 16 colors tried +00000000000i[XGUI ] font 8 wide x 16 high, display depth = 24 +00000000000i[MEM0 ] rom at 0xc0000/38400 ('VGABIOS-lgpl-latest') +00000000000i[PLUGIN] init_dev of 'floppy' plugin device by virtual method +00000000000i[DMA ] channel 2 used by Floppy Drive +00000000000i[FLOPPY] fd0: 'dev_kernel_grub.img' ro=0, h=2,t=80,spt=18 +00000000000i[FLOPPY] Using boot sequence floppy, none, none +00000000000i[FLOPPY] Floppy boot signature check is enabled +00000000000i[PLUGIN] init_dev of 'acpi' plugin device by virtual method +00000000000i[DEV ] ACPI Controller present at device 1, function 3 +00000000000i[PLUGIN] init_dev of 'ioapic' plugin device by virtual method +00000000000i[IOAPIC] initializing I/O APIC +00000000000i[MEM0 ] Register memory access handlers: 0x0000fec00000 - 0x0000fec00fff +00000000000i[IOAPIC] IOAPIC enabled (base address = 0xfec00000) +00000000000i[PLUGIN] init_dev of 'keyboard' plugin device by virtual method +00000000000i[KBD ] will paste characters every 400 keyboard ticks +00000000000i[PLUGIN] init_dev of 'harddrv' plugin device by virtual method +00000000000i[PLUGIN] init_dev of 'pci_ide' plugin device by virtual method +00000000000i[DEV ] PIIX3 PCI IDE controller present at device 1, function 1 +00000000000i[PLUGIN] init_dev of 'unmapped' plugin device by virtual method +00000000000i[PLUGIN] init_dev of 'biosdev' plugin device by virtual method +00000000000i[PLUGIN] init_dev of 'speaker' plugin device by virtual method +00000000000i[PCSPK ] Using /dev/console for output +00000000000i[PLUGIN] init_dev of 'extfpuirq' plugin device by virtual method +00000000000i[PLUGIN] init_dev of 'parallel' plugin device by virtual method +00000000000i[PAR ] parallel port 1 at 0x0378 irq 7 +00000000000i[PLUGIN] init_dev of 'serial' plugin device by virtual method +00000000000i[SER ] com1 at 0x03f8 irq 4 (mode: null) +00000000000i[PLUGIN] init_dev of 'iodebug' plugin device by virtual method +00000000000i[PLUGIN] init_dev of 'usb_uhci' plugin device by virtual method +00000000000i[DEV ] USB UHCI present at device 1, function 2 +00000000000i[UHCI ] USB UHCI initialized +00000000000i[PLUGIN] register state of 'pci' plugin device by virtual method +00000000000i[PLUGIN] register state of 'pci2isa' plugin device by virtual method +00000000000i[PLUGIN] register state of 'cmos' plugin device by virtual method +00000000000i[PLUGIN] register state of 'dma' plugin device by virtual method +00000000000i[PLUGIN] register state of 'pic' plugin device by virtual method +00000000000i[PLUGIN] register state of 'pit' plugin device by virtual method +00000000000i[PLUGIN] register state of 'vga' plugin device by virtual method +00000000000i[PLUGIN] register state of 'floppy' plugin device by virtual method +00000000000i[PLUGIN] register state of 'unmapped' plugin device by virtual method +00000000000i[PLUGIN] register state of 'biosdev' plugin device by virtual method +00000000000i[PLUGIN] register state of 'speaker' plugin device by virtual method +00000000000i[PLUGIN] register state of 'extfpuirq' plugin device by virtual method +00000000000i[PLUGIN] register state of 'parallel' plugin device by virtual method +00000000000i[PLUGIN] register state of 'serial' plugin device by virtual method +00000000000i[PLUGIN] register state of 'iodebug' plugin device by virtual method +00000000000i[PLUGIN] register state of 'usb_uhci' plugin device by virtual method +00000000000i[PLUGIN] register state of 'acpi' plugin device by virtual method +00000000000i[PLUGIN] register state of 'ioapic' plugin device by virtual method +00000000000i[PLUGIN] register state of 'keyboard' plugin device by virtual method +00000000000i[PLUGIN] register state of 'harddrv' plugin device by virtual method +00000000000i[PLUGIN] register state of 'pci_ide' plugin device by virtual method +00000000000i[SYS ] bx_pc_system_c::Reset(HARDWARE) called +00000000000i[CPU0 ] cpu hardware reset +00000000000i[APIC0 ] allocate APIC id=0 (MMIO enabled) to 0x0000fee00000 +00000000000i[CPU0 ] CPU[0] is the bootstrap processor +00000000000i[CPU0 ] CPUID[0x00000000]: 00000005 68747541 444d4163 69746e65 +00000000000i[CPU0 ] CPUID[0x00000001]: 00000633 00010800 00002008 17cbfbff +00000000000i[CPU0 ] CPUID[0x00000002]: 00000000 00000000 00000000 00000000 +00000000000i[CPU0 ] CPUID[0x00000003]: 00000000 00000000 00000000 00000000 +00000000000i[CPU0 ] CPUID[0x00000004]: 00000000 00000000 00000000 00000000 +00000000000i[CPU0 ] CPUID[0x00000005]: 00000040 00000040 00000003 00000020 +00000000000i[CPU0 ] CPUID[0x80000000]: 80000008 68747541 444d4163 69746e65 +00000000000i[CPU0 ] CPUID[0x80000001]: 00000633 00000000 00000101 ebd3f3ff +00000000000i[CPU0 ] CPUID[0x80000002]: 20444d41 6c687441 74286e6f 7020296d +00000000000i[CPU0 ] CPUID[0x80000003]: 65636f72 726f7373 00000000 00000000 +00000000000i[CPU0 ] CPUID[0x80000004]: 00000000 00000000 00000000 00000000 +00000000000i[CPU0 ] CPUID[0x80000005]: 01ff01ff 01ff01ff 40020140 40020140 +00000000000i[CPU0 ] CPUID[0x80000006]: 00000000 42004200 02008140 00000000 +00000000000i[CPU0 ] CPUID[0x80000007]: 00000000 00000000 00000000 00000000 +00000000000i[CPU0 ] CPUID[0x80000008]: 00003028 00000000 00000000 00000000 +00000000000i[PLUGIN] reset of 'pci' plugin device by virtual method +00000000000i[PLUGIN] reset of 'pci2isa' plugin device by virtual method +00000000000i[PLUGIN] reset of 'cmos' plugin device by virtual method +00000000000i[PLUGIN] reset of 'dma' plugin device by virtual method +00000000000i[PLUGIN] reset of 'pic' plugin device by virtual method +00000000000i[PLUGIN] reset of 'pit' plugin device by virtual method +00000000000i[PLUGIN] reset of 'vga' plugin device by virtual method +00000000000i[PLUGIN] reset of 'floppy' plugin device by virtual method +00000000000i[PLUGIN] reset of 'acpi' plugin device by virtual method +00000000000i[PLUGIN] reset of 'ioapic' plugin device by virtual method +00000000000i[PLUGIN] reset of 'keyboard' plugin device by virtual method +00000000000i[PLUGIN] reset of 'harddrv' plugin device by virtual method +00000000000i[PLUGIN] reset of 'pci_ide' plugin device by virtual method +00000000000i[PLUGIN] reset of 'unmapped' plugin device by virtual method +00000000000i[PLUGIN] reset of 'biosdev' plugin device by virtual method +00000000000i[PLUGIN] reset of 'speaker' plugin device by virtual method +00000000000i[PLUGIN] reset of 'extfpuirq' plugin device by virtual method +00000000000i[PLUGIN] reset of 'parallel' plugin device by virtual method +00000000000i[PLUGIN] reset of 'serial' plugin device by virtual method +00000000000i[PLUGIN] reset of 'iodebug' plugin device by virtual method +00000000000i[PLUGIN] reset of 'usb_uhci' plugin device by virtual method +00000000000i[ ] set SIGINT handler to bx_debug_ctrlc_handler +00000003302i[BIOS ] $Revision: 1.209 $ $Date: 2008/06/02 20:08:10 $ +00000318057i[KBD ] reset-disable command received +00000438667i[VBIOS ] VGABios $Id: vgabios.c,v 1.67 2008/01/27 09:44:12 vruppert Exp $ +00000438738i[BXVGA ] VBE known Display Interface b0c0 +00000438770i[BXVGA ] VBE known Display Interface b0c4 +00000441695i[VBIOS ] VBE Bios $Id: vbe.c,v 1.60 2008/03/02 07:47:21 vruppert Exp $ +00000603836i[XGUI ] charmap update. Font is 9 x 16 +00000764696i[BIOS ] Starting rombios32 +00000765523i[BIOS ] ram_size=0x02000000 +00000805868i[BIOS ] Found 1 cpu(s) +00000822169i[BIOS ] bios_table_addr: 0x000fb778 end=0x000fcc00 +00001281043i[PCI ] i440FX PMC write to PAM register 59 (TLB Flush) +00001740530i[P2ISA ] PCI IRQ routing: PIRQA# set to 0x0b +00001740577i[P2ISA ] PCI IRQ routing: PIRQB# set to 0x09 +00001740624i[P2ISA ] PCI IRQ routing: PIRQC# set to 0x0b +00001740671i[P2ISA ] PCI IRQ routing: PIRQD# set to 0x09 +00001740687i[P2ISA ] write: ELCR2 = 0x0a +00001741624i[BIOS ] PIIX3 init: elcr=00 0a +00001761969i[BIOS ] PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237 +00001765206i[BIOS ] PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000 +00001767939i[BIOS ] PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010 +00001768400i[PIDE ] new BM-DMA address: 0xc000 +00001769283i[BIOS ] region 4: 0x0000c000 +00001771787i[BIOS ] PCI: bus=0 devfn=0x0a: vendor_id=0x8086 device_id=0x7020 +00001772176i[UHCI ] new base address: 0xc020 +00001773059i[BIOS ] region 4: 0x0000c020 +00001773330i[UHCI ] new irq line = 9 +00001775602i[BIOS ] PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113 +00001776102i[ACPI ] new irq line = 11 +00001776139i[ACPI ] new PM base address: 0xb000 +00001776201i[ACPI ] new SM base address: 0xb100 +00001776669i[CPU0 ] Enter to System Management Mode +00001776679i[CPU0 ] RSM: Resuming from System Management Mode +00001776713i[PCI ] setting SMRAM control register to 0x4a +00001776995i[PCI ] setting SMRAM control register to 0x0a +00001800276i[BIOS ] MP table addr=0x000fb850 MPC table addr=0x000fb780 size=0xd0 +00001802479i[BIOS ] SMBIOS table addr=0x000fb860 +00001805523i[BIOS ] ACPI tables: RSDP addr=0x000fb970 ACPI DATA addr=0x01ff0000 size=0x9d8 +00001825056i[PCI ] i440FX PMC write to PAM register 59 (TLB Flush) +00001826068i[BIOS ] bios_table_cur_addr: 0x000fb994 +00014040993i[BIOS ] Booting from 0000:7c00 +00060731772i[XGUI ] charmap update. Font is 9 x 16 +00300805704i[XGUI ] charmap update. Font is 9 x 16 +00547344000p[XGUI ] >>PANIC<< POWER button turned off. +00547344000i[CPU0 ] CPU is in protected mode (active) +00547344000i[CPU0 ] CS.mode = 32 bit +00547344000i[CPU0 ] SS.mode = 32 bit +00547344000i[CPU0 ] EFER = 0x00000000 +00547344000i[CPU0 ] | EAX=00000000 EBX=00101000 ECX=000b8000 EDX=000003d4 +00547344000i[CPU0 ] | ESP=00102fe0 EBP=00102fe8 ESI=000263d3 EDI=000263df +00547344000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df if tf sf zf af pf cf +00547344000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D +00547344000i[CPU0 ] | CS:0008( 0001| 0| 0) 00000000 ffffffff 1 1 +00547344000i[CPU0 ] | DS:0010( 0002| 0| 0) 00000000 ffffffff 1 1 +00547344000i[CPU0 ] | SS:0010( 0002| 0| 0) 00000000 ffffffff 1 1 +00547344000i[CPU0 ] | ES:0010( 0002| 0| 0) 00000000 ffffffff 1 1 +00547344000i[CPU0 ] | FS:0010( 0002| 0| 0) 00000000 ffffffff 1 1 +00547344000i[CPU0 ] | GS:0010( 0002| 0| 0) 00000000 ffffffff 1 1 +00547344000i[CPU0 ] | EIP=00100116 (00100116) +00547344000i[CPU0 ] | CR0=0x60000011 CR2=0x00000000 +00547344000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000 +00547344000i[CMOS ] Last time is 1496194284 (Tue May 30 20:31:24 2017) +00547344000i[XGUI ] Exit +00547344000i[SIM ] quit_sim called with exit code 1 diff --git a/MP1/MP1_Sources/dev_kernel_grub.img b/MP1/MP1_Sources/dev_kernel_grub.img index 1a39f72b3f4973b684259bb505f19064272aa294..caff7b0f47250ab250b909a6ddb7b9ef3a25a8f2 100644 GIT binary patch delta 3559 zcmeHHUuYaf7@xV^HJi&Odp5ZyHjRxX1X4tz_@K2^Ee>dH=_T!gRDw`w2w4zH}lQ!_xpbH&1JKvve{Et-tB1|YyA1hk4F%Kw|=f?@>~yI8q}<#-BEpI&3oTf zjXV9;m)*`?&(q~@1j9rEA>EPED6QBG!T4%IcjV!3>l4WSpzeM=BjVH5_^OBps_}-1 z4_9M9|LGvs1mMdOB4?1=hVt-fvHW|)=P%s@*&y}T2UVM@WD+^2 zmUCoHnNZ;&WvFBzWfuaRxmdIhszbb)S+{5Z$E z_s^P5GVC9F+qFLa z;wbKT)z{UZvL^!{byCKq>!B+M&BcUH@v)!uJa4nu`M=q7h2mt(caT{Smg+XXEZ(c* zd~p=--t{poWJgw-GIABX^d5Id@niMSYy9!gaBrNfm`PvsZT{w`_<;7&pPpxT z-2?80+5DD=99HGXUPiJRoFO#mbEK?Xn)+nw!!A=Tn?%AzWdbQbO+lZf>~8>0G_fdl z{-L;FyhXItlt9e~sIc22t0_AJUI4(qZw+?J6=NMaeb9cYLR^6nmIjw8eaKD*YZXi& z_nY@5bg!Eu8_>BM&|=063|xI#X((P6E;tN^CU6yD73yZk$~cJ zP^yG=BE#e2(h~n-40m)?(pn$^?uHX4LBbvW+Zf)XRT5f7!ldd983HEaL#)7@Zby9f z&BTC&!1Q>)2T%@x_*uRfv6kFIR_PYtU4zRoD9QoAYh)cYK{;SMw5uD}RBnBa_a=L% zjq65HpXxKFEp;8RaWN-}rS`M|ibQo^!L~ST3)ex>!M@B6{T)~<0T#+cMV=U)?J!l> zI_w$51yR;3*f<7`olLIh5~ZcU+KQIVQV2hG3AbxoN`W$dxUsmn_{VMdTd?awP2c~| zn&3!Ur6Gej$|P}&87D_P=nHRww~gb@7$_gg^JmBLQJy#PTiQ!+pE-Ldj)wBJ`D(SH zz0a!EsP0g}cKx+IfbH`SJFzzJ?f&2H|5`dw>-+!2f4O#)Vag(u)ln9uEJoQ5%IYbT jC~KfBPFW*mGG$GaHB+WgmZ0nr%63xLLRstAEb06OIEF@i delta 231 zcmZo@h-zqv+K{Kly{Koe*Iq9M1|Z#BskXgRjq!f$^oVJUk^$um3=GFvR9x5v7+xqd zgV|9awm5_x17dSS*b_kP|4axqpCRl!Ao1rA_UGwar!mSi{@Q+Z8smDl=|8#|v$rpv z%gD;Ht%)&$sU2t~5QAuDAZ7t#Rv=~rVs;?r0Afxc<^p1FAm#yLULfWJVtybN0AfKP R76M{nAQsskF->&EO8{W7Pu&0j diff --git a/MP1/MP1_Sources/kernel.C b/MP1/MP1_Sources/kernel.C index 3d1ae52..efd6e03 100644 --- a/MP1/MP1_Sources/kernel.C +++ b/MP1/MP1_Sources/kernel.C @@ -39,7 +39,7 @@ int main() Console::puts("WELCOME TO MY KERNEL!\n"); Console::puts(" "); Console::set_TextColor(GREEN, RED); - Console::puts("\n"); + Console::puts("\n"); /* -- LOOP FOREVER! */ for(;;);