parent
5c77ebb1fb
commit
4fc3eca4aa
|
@ -25,7 +25,7 @@ Kernel::Vm::Vm(void * const state,
|
||||||
void * const /* table */)
|
void * const /* table */)
|
||||||
:
|
:
|
||||||
Cpu_job(Cpu_priority::MIN, 0),
|
Cpu_job(Cpu_priority::MIN, 0),
|
||||||
_state((Genode::Vm_state * const)state),
|
_state((Genode::Vm_state *)state),
|
||||||
_context(context), _table(0)
|
_context(context), _table(0)
|
||||||
{
|
{
|
||||||
affinity(cpu_pool().primary_cpu());
|
affinity(cpu_pool().primary_cpu());
|
||||||
|
|
|
@ -210,7 +210,7 @@ Kernel::Vm::Vm(void * const state,
|
||||||
void * const table)
|
void * const table)
|
||||||
: Cpu_job(Cpu_priority::MIN, 0),
|
: Cpu_job(Cpu_priority::MIN, 0),
|
||||||
_id(alloc().alloc()),
|
_id(alloc().alloc()),
|
||||||
_state((Genode::Vm_state * const)state),
|
_state((Genode::Vm_state *)state),
|
||||||
_context(context),
|
_context(context),
|
||||||
_table(table)
|
_table(table)
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
Kernel::Vm::Vm(void * const state, Kernel::Signal_context * const context,
|
Kernel::Vm::Vm(void * const state, Kernel::Signal_context * const context,
|
||||||
void * const)
|
void * const)
|
||||||
: Cpu_job(Cpu_priority::MIN, 0),
|
: Cpu_job(Cpu_priority::MIN, 0),
|
||||||
_state((Genode::Vm_state * const) state),
|
_state((Genode::Vm_state *) state),
|
||||||
_context(context),
|
_context(context),
|
||||||
_table(nullptr)
|
_table(nullptr)
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,14 +22,14 @@ namespace Hw {
|
||||||
|
|
||||||
struct Hw::Acpi_rsdp
|
struct Hw::Acpi_rsdp
|
||||||
{
|
{
|
||||||
Genode::uint64_t signature;
|
Genode::uint64_t signature { 0 };
|
||||||
Genode::uint8_t checksum;
|
Genode::uint8_t checksum { 0 };
|
||||||
char oem[6];
|
char oem[6] { 0 };
|
||||||
Genode::uint8_t revision;
|
Genode::uint8_t revision { 0 };
|
||||||
Genode::uint32_t rsdt;
|
Genode::uint32_t rsdt { 0 };
|
||||||
Genode::uint32_t length;
|
Genode::uint32_t length { 0 };
|
||||||
Genode::uint64_t xsdt;
|
Genode::uint64_t xsdt { 0 };
|
||||||
Genode::uint32_t reserved;
|
Genode::uint32_t reserved { 0 };
|
||||||
|
|
||||||
bool valid() {
|
bool valid() {
|
||||||
const char sign[] = "RSD PTR ";
|
const char sign[] = "RSD PTR ";
|
||||||
|
|
Loading…
Reference in New Issue