Makefile: add module support

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-20 16:43:00 -04:00
commit 9fed595abc
7 changed files with 50 additions and 17 deletions

View file

@ -21,14 +21,6 @@ size_t strlen(const char *c)
void _start()
{
int fd = open("/dev/ttyS0", 0);
if (fd < 0)
goto loop;
char msg[] = "Hello, userspace!\n";
write(fd, msg, strlen(msg));
loop:
while (1)
continue;
;
}