blob: a95533dd73cbf2de4877631491f3daebeecd36c4 (
plain) (
blame)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
kernel: 0.969
debug: 0.955
virtual: 0.953
graphic: 0.896
ppc: 0.862
i386: 0.848
mistranslation: 0.832
semantic: 0.817
user-level: 0.806
device: 0.801
performance: 0.763
files: 0.742
vnc: 0.733
hypervisor: 0.731
risc-v: 0.713
x86: 0.703
assembly: 0.702
architecture: 0.699
peripherals: 0.670
VMM: 0.660
PID: 0.655
register: 0.641
permissions: 0.638
KVM: 0.622
network: 0.616
arm: 0.564
socket: 0.551
boot: 0.522
TCG: 0.499
No ACPI-table found, option -M 1.6 not found either
Currently writing a small kernel, when trying to detect memory blocks that contain ACPI information, no such block is found. When ran in Oracle Virtualbox, code runs flawlessly.
Code that is detecting the ACPI-Info (with a bit of debug-output):
```
multiboot_memory_map32_t* map = (multiboot_memory_map32_t*)mmap;
for (uint32_t i = 0; i < size; i++) {
Termutils::cout << map[i].type << "type of block ";
if (mmap[i].type == MULTIBOOT_MEMORY_ACPI_RECLAIMABLE) {
Termutils::cout << "WE ARE INSIDE\n";
fadt = (FADT*)(map[i].base_addr_low);
//break;
}
if (i % 9 == 0) {
Termutils::cout << "\n";
}
}
```
command qemu is run with:
qemu-img create build/objects/test 500M
qemu-system-i386 -hda $(APP_DIR)/clinl.iso -hdb ./build/objects/test
The iso-image is (zipped) included as attachment.
qemu-system-i386 --version:
QEMU emulator version 2.10.1(qemu-2.10.1-3.fc27)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.
[Expired for QEMU because there has been no activity for 60 days.]
|