Luna/kernel/src/sys/stdio.cpp

8 lines
179 B
C++
Raw Normal View History

2022-09-29 17:17:43 +00:00
#include "interrupts/Context.h"
#include "io/Serial.h"
void sys_write(Context* context, const char* addr, size_t size)
{
context->rax = size;
Serial::write(addr, size);
}