mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-03 16:10:59 +00:00
Whitespace
This commit is contained in:
parent
1cc1308a80
commit
f2e47ef9f4
@ -67,18 +67,18 @@ namespace Nova {
|
|||||||
/**
|
/**
|
||||||
* NOVA status codes returned by system-calls
|
* NOVA status codes returned by system-calls
|
||||||
*/
|
*/
|
||||||
enum Status
|
enum Status
|
||||||
{
|
{
|
||||||
NOVA_OK = 0,
|
NOVA_OK = 0,
|
||||||
NOVA_IPC_TIMEOUT = 1,
|
NOVA_IPC_TIMEOUT = 1,
|
||||||
NOVA_IPC_ABORT = 2,
|
NOVA_IPC_ABORT = 2,
|
||||||
NOVA_INV_HYPERCALL = 3,
|
NOVA_INV_HYPERCALL = 3,
|
||||||
NOVA_INV_SELECTOR = 4,
|
NOVA_INV_SELECTOR = 4,
|
||||||
NOVA_INV_PARAMETER = 5,
|
NOVA_INV_PARAMETER = 5,
|
||||||
NOVA_INV_FEATURE = 6,
|
NOVA_INV_FEATURE = 6,
|
||||||
NOVA_INV_CPU_NUMBER = 7,
|
NOVA_INV_CPU_NUMBER = 7,
|
||||||
NOVA_INVD_DEVICE_ID = 8,
|
NOVA_INVD_DEVICE_ID = 8,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hypervisor information page
|
* Hypervisor information page
|
||||||
|
@ -28,6 +28,7 @@ inline void nova_die(const char * text = 0)
|
|||||||
asm volatile ("ud2a" : : "a"(text));
|
asm volatile ("ud2a" : : "a"(text));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline void request_event_portal(Genode::Native_capability cap,
|
inline void request_event_portal(Genode::Native_capability cap,
|
||||||
Genode::addr_t exc_base, Genode::addr_t event)
|
Genode::addr_t exc_base, Genode::addr_t event)
|
||||||
{
|
{
|
||||||
@ -51,5 +52,4 @@ inline void request_event_portal(Genode::Native_capability cap,
|
|||||||
utcb->crd_rcv = orig_crd;
|
utcb->crd_rcv = orig_crd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif /* _NOVA__INCLUDE__UTIL_H_ */
|
#endif /* _NOVA__INCLUDE__UTIL_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user