Move string functions/utils from HAL to std/string
This commit is contained in:
@ -7,9 +7,10 @@
|
||||
#include "errors.h"
|
||||
#include "pipe.h"
|
||||
#include "kprintf.h"
|
||||
#include "std/string.h"
|
||||
|
||||
int32_t ipc_pipeinit(IpcPipe *pipe, uint64_t pid) {
|
||||
hal_memset(pipe, 0, sizeof(*pipe));
|
||||
memset(pipe, 0, sizeof(*pipe));
|
||||
spinlock_init(&pipe->spinlock);
|
||||
pipe->ownerpid = pid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user