base-hw: fix compile errors with GCC 8.3.0

Fixes #3326
This commit is contained in:
Christian Prochaska 2019-05-06 14:06:50 +02:00 committed by Christian Helmuth
parent 5c77ebb1fb
commit 4fc3eca4aa
4 changed files with 11 additions and 11 deletions

View File

@ -25,7 +25,7 @@ Kernel::Vm::Vm(void * const state,
void * const /* table */)
:
Cpu_job(Cpu_priority::MIN, 0),
_state((Genode::Vm_state * const)state),
_state((Genode::Vm_state *)state),
_context(context), _table(0)
{
affinity(cpu_pool().primary_cpu());

View File

@ -210,7 +210,7 @@ Kernel::Vm::Vm(void * const state,
void * const table)
: Cpu_job(Cpu_priority::MIN, 0),
_id(alloc().alloc()),
_state((Genode::Vm_state * const)state),
_state((Genode::Vm_state *)state),
_context(context),
_table(table)
{

View File

@ -23,7 +23,7 @@
Kernel::Vm::Vm(void * const state, Kernel::Signal_context * const context,
void * const)
: Cpu_job(Cpu_priority::MIN, 0),
_state((Genode::Vm_state * const) state),
_state((Genode::Vm_state *) state),
_context(context),
_table(nullptr)
{

View File

@ -22,14 +22,14 @@ namespace Hw {
struct Hw::Acpi_rsdp
{
Genode::uint64_t signature;
Genode::uint8_t checksum;
char oem[6];
Genode::uint8_t revision;
Genode::uint32_t rsdt;
Genode::uint32_t length;
Genode::uint64_t xsdt;
Genode::uint32_t reserved;
Genode::uint64_t signature { 0 };
Genode::uint8_t checksum { 0 };
char oem[6] { 0 };
Genode::uint8_t revision { 0 };
Genode::uint32_t rsdt { 0 };
Genode::uint32_t length { 0 };
Genode::uint64_t xsdt { 0 };
Genode::uint32_t reserved { 0 };
bool valid() {
const char sign[] = "RSD PTR ";