-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserial.log
More file actions
56 lines (55 loc) · 1.86 KB
/
Copy pathserial.log
File metadata and controls
56 lines (55 loc) · 1.86 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01HBdsDxe: loading Boot0001 "UEFI QEMU HARDDISK QM00001 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Primary,Master,0x0)
BdsDxe: starting Boot0001 "UEFI QEMU HARDDISK QM00001 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Primary,Master,0x0)
Welcome to the Custom UEFI Bootloader!
Attempting to locate the file system protocol...
Attempting to open the kernel file...
Found kernel.elf! Reading file size...
Parsing ELF...
Loading ELF segments...
Kernel range: 0x200000 - 0x246000 (70 pages)
Segment: paddr=0x200000, filesz=0x34e96, memsz=0x34e96
Segment: paddr=0x234e98, filesz=0x7848, memsz=0x7848
Segment: paddr=0x23c6e0, filesz=0x80, memsz=0x80
Segment: paddr=0x23c760, filesz=0x3580, memsz=0x9850
Exiting boot services and jumping to kernel at 0x20d120...
open_kernel booting...
[OK] GDT + TSS
[OK] IDT
[OK] PIC (IRQs → IDT[32..47])
EXCEPTION: BREAKPOINT
InterruptStackFrame {
instruction_pointer: VirtAddr(
0x20b8e1,
),
code_segment: SegmentSelector {
index: 1,
rpl: Ring0,
},
cpu_flags: RFlags(
PARITY_FLAG | 0x2,
),
stack_pointer: VirtAddr(
0x7e64ed8,
),
stack_segment: SegmentSelector {
index: 2,
rpl: Ring0,
},
}
[OK] exception handling
[OK] heap (256 KiB at 0x444444440000)
[OK] Box<u64> = 0xdeadbeef (@ 0x444444440000)
[OK] Vec<u32> = [0, 1, 4, 9, 16, 25, 36, 49]
[OK] String = "hello from the kernel heap"
[ ] memory map: 105 regions
[OK] scheduler: 4 task slots populated
[OK] scheduler initialized
[OK] shell ready
open_kernel> [OK] interrupts enabled — scheduler running
open_kernel> uname help
commands: help, uname, uptime, ps, tasks, clear, reboot
open_kernel> uname
open_kernel 0.1.0 x86_64 bare-metal
open_kernel> uptime
uptime: 315 ticks
open_kernel>