[zion] Move the final syscalls to the new format.
This commit is contained in:
parent
bd431b94ce
commit
1edd5023ce
10 changed files with 45 additions and 52 deletions
|
|
@ -123,6 +123,6 @@ SYS5(PortPoll, z_cap_t, port_cap, uint64_t*, num_bytes, void*, data, uint64_t*,
|
|||
|
||||
SYS2(IrqRegister, uint64_t, irq_num, z_cap_t*, port_cap);
|
||||
|
||||
[[nodiscard]] z_err_t ZCapDuplicate(z_cap_t cap_in, z_cap_t* cap_out);
|
||||
SYS2(CapDuplicate, z_cap_t, cap_in, z_cap_t*, cap_out);
|
||||
|
||||
[[nodiscard]] z_err_t ZDebug(const char* message);
|
||||
SYS1(Debug, const char*, message);
|
||||
|
|
|
|||
|
|
@ -64,10 +64,10 @@ const uint64_t kZionIrqRegister = 0x58;
|
|||
#define Z_IRQ_PCI_BASE 0x30
|
||||
|
||||
// Capability Calls
|
||||
#define Z_CAP_DUPLICATE 0x60
|
||||
const uint64_t kZionCapDuplicate = 0x70;
|
||||
|
||||
// Debugging Calls.
|
||||
#define Z_DEBUG_PRINT 0x10000000
|
||||
const uint64_t kZionDebug = 0x1'0000;
|
||||
|
||||
/* ------------------------------
|
||||
* Capability Types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue