tyler@osdev:nightingale$ make run
qemu-system-x86_64 -cdrom nightingale.iso -vga std -no-quit -no-reboot -smp 2 -m 64M -serial stdio
warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
unknown keycodes `(unnamed)', please report to [email protected]
Terminal Initialized
UART Initialized
PIC remapped
Interval Timer Initialized
Serial Interrupts Initialized
IRQs Enabled
strncmp("foo", "foo", 3) = 0
strncmp("bar", "foo", 3) = 4
strncmp("foobar", "foo", 3) = 0
_kernel_start = 0000000000100000;
_kernel_end = 00000000001170c0;
kernel is 92 kilobytes long
kernel is 170c0 bytes long
Multiboot magic: 0x36d76289
Multiboot info*: 0000000000124c50
Multiboot announced size 1816
Which makes the end 0000000000125368
first_free_page = 0000000000126000
tag type: 1, size: 31
Command line = "this is a command line"
tag type: 2, size: 33
boot loader name = "GRUB 2.02~beta3-4ubuntu7"
tag type: 10, size: 28
unhandled
tag type: 6, size: 160
Memory map:
base: 0000000000000000, len: 9fc00 (0M), type 1
base: 000000000009fc00, len: 400 (0M), type 2
base: 00000000000f0000, len: 10000 (0M), type 2
base: 0000000000100000, len: 3ee0000 (62M), type 1
base: 0000000003fe0000, len: 20000 (0M), type 2
base: 00000000fffc0000, len: 40000 (0M), type 2
tag type: 9, size: 1428
ELF Sections:
size = 1428
num = 22
entsize = 64
tag type: 4, size: 16
unhandled
tag type: 5, size: 20
unhandled
tag type: 8, size: 32
unhandled
tag type: 14, size: 28
ACPI RSDP: len=1c
acpi->rsdp signature: RSD PTR
ACPI RSDT found at 3fe1628
RSDT signature: 'RSDT'
ACPI MADT found at 3fe1570
MADT signature: 'APIC'
ACPI header:
signature = APIC
length: 0x80
revision: 0x1
checksum: 0xda
oem_id: BOCHS
oem_table_id: BXPCAPIC
oem_rev: 0x1
creator_id: 0x43505842
creator_rev: 0x1
MADT lapic address: 0xfee00000
MADT flags: 0x1
MADT APIC entries:
LAPIC 0, Processor 0
LAPIC 1, Processor 1
IOAPIC 0
Address: 0xfec00000
Interrupt Base: 0x0
Unhandled MADT entry
Unhandled MADT entry
Unhandled MADT entry
Unhandled MADT entry
Unhandled MADT entry
Unhandled MADT entry
Setup physical allocator: 0000000000126000 -> 0000000003fdf000
Allocate vmm test: 0000000000127000
resolved vma:0000000000101888 to pma:0000000000101888
*0000123456789000 = 100
Debug dump system, and u128(-1):
128 bytes surrounding address: 000000000010ef60
000000000010ef20 : 11 00 00 00 00 00 00 00 15 00 00 00 00 00 00 00
000000000010ef30 : 00 00 00 00 f8 03 00 00 07 00 00 00 00 00 00 00
000000000010ef40 : b0 9b 10 00 00 00 00 00 00 00 00 00 00 00 00 00
000000000010ef50 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000000000010ef60 : ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
000000000010ef70 : 00 90 78 56 34 12 00 00 88 18 10 00 00 00 00 00
000000000010ef80 : 70 15 fe 03 00 00 00 00 28 16 fe 03 00 00 00 00
000000000010ef90 : 40 53 12 00 00 00 00 00 60 4d 12 00 00 00 00 00
Discovered PCI devices:
00:00.0: device 8086:1237
device is: Host bridge
00:01.0: device 8086:7000
device is: ISA bridge
00:01.1: device 8086:7010
device is: IDE interface
00:01.3: device 8086:7113
uses irq 9
device is: Bridge
00:02.0: device 1234:1111
device is: VGA controller
00:03.0: device 8086:100e
uses irq 11
device is: Ethernet controller
Network card ID = 00:03.0
BAR0: 0xfebc0000
BAR1: 0x0000c001
BAR2: 0x00000000
BAR3: 0x00000000
BAR4: 0x00000000
BAR5: 0x00000000
0x00140240
0x80080783
0x00000188
timer_ticks completed = 92
Theoretically this means we took 0.093s to execute
ff ffff ffffffff ffffffffffffffff
1106425474220
1001000110100010101100111100010010000
Vector<int> @1c0018{len=30000, total_size=35065, strategy=phi, data=2049d0}
Test multitasking:
Thread 0 is currently running
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 This is a test thread with pid 2
Thread 2 is currently running
Running thread ring: 2 -> 0 -> 3 -> 2
Running thread ring: 0 -> 3 -> 2 -> 0
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
[ASSERT] kernel/main.c:312 'timer_ticks == 100' Test assert #1
qemu-system-x86_64: terminating on signal 2
Comments