This commit also converts our own copyright headers to directly use SPDX, but leaves all other copyright header intact, only adding the SPDX ident. As far as possible this commit also merges multiple Data61 copyright statements/headers into one for consistency.
23 lines
472 B
C
23 lines
472 B
C
/*
|
|
* Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-only
|
|
*/
|
|
|
|
#ifndef __IPC_BUFFER_H
|
|
#define __IPC_BUFFER_H
|
|
|
|
#include <types.h>
|
|
#include <api/syscall.h>
|
|
|
|
static inline time_t mode_parseTimeArg(word_t i, word_t *buffer)
|
|
{
|
|
return getSyscallArg(i, buffer);
|
|
}
|
|
|
|
static inline word_t mode_setTimeArg(word_t i, time_t time, word_t *buffer, tcb_t *thread)
|
|
{
|
|
return setMR(thread, buffer, i, time);
|
|
}
|
|
|
|
#endif /* __IPC_BUFFER_H */
|