9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

ModeNameSize
-rw-r--r--.gitignore7L
-rw-r--r--LICENSE5L
-rw-r--r--Makefile22L
-rw-r--r--README60L
-rw-r--r--doc/arm.txt15L
-rw-r--r--doc/caldera.txt53L
-rw-r--r--doc/scc.txt30L
-rw-r--r--include/assert.h8L
-rw-r--r--include/bits/amd64/arch/limits.h18L
-rw-r--r--include/bits/amd64/arch/setjmp.h1L
-rw-r--r--include/bits/amd64/arch/stddef.h14L
-rw-r--r--include/bits/amd64/arch/stdint.h102L
-rw-r--r--include/bits/amd64/arch/stdio.h15L
-rw-r--r--include/bits/amd64/arch/stdlib.h14L
-rw-r--r--include/bits/amd64/arch/string.h6L
-rw-r--r--include/bits/amd64/arch/time.h8L
-rw-r--r--include/bits/amd64/arch/types.h25L
-rw-r--r--include/bits/arm32/arch/limits.h18L
-rw-r--r--include/bits/arm32/arch/setjmp.h1L
-rw-r--r--include/bits/arm32/arch/stddef.h9L
-rw-r--r--include/bits/arm32/arch/stdint.h96L
-rw-r--r--include/bits/arm32/arch/stdio.h15L
-rw-r--r--include/bits/arm32/arch/stdlib.h14L
-rw-r--r--include/bits/arm32/arch/string.h6L
-rw-r--r--include/bits/arm32/arch/time.h8L
-rw-r--r--include/bits/arm32/arch/types.h2L
-rw-r--r--include/bits/arm64/arch/limits.h18L
-rw-r--r--include/bits/arm64/arch/setjmp.h1L
-rw-r--r--include/bits/arm64/arch/stddef.h9L
-rw-r--r--include/bits/arm64/arch/stdint.h96L
-rw-r--r--include/bits/arm64/arch/stdio.h15L
-rw-r--r--include/bits/arm64/arch/stdlib.h14L
-rw-r--r--include/bits/arm64/arch/string.h6L
-rw-r--r--include/bits/arm64/arch/time.h8L
-rw-r--r--include/bits/arm64/arch/types.h77L
-rw-r--r--include/bits/darwin/sys.h19L
-rw-r--r--include/bits/darwin/sys/errno.h111L
-rw-r--r--include/bits/darwin/sys/signal.h27L
-rw-r--r--include/bits/dragonfly/sys.h19L
-rw-r--r--include/bits/dragonfly/sys/errno.h97L
-rw-r--r--include/bits/dragonfly/sys/signal.h27L
-rw-r--r--include/bits/i386/arch/limits.h18L
-rw-r--r--include/bits/i386/arch/stddef.h14L
-rw-r--r--include/bits/i386/arch/stdint.h115L
-rw-r--r--include/bits/i386/arch/stdio.h15L
-rw-r--r--include/bits/i386/arch/stdlib.h14L
-rw-r--r--include/bits/i386/arch/string.h5L
-rw-r--r--include/bits/i386/arch/time.h8L
-rw-r--r--include/bits/i386/arch/types.h2L
-rw-r--r--include/bits/linux/sys.h19L
-rw-r--r--include/bits/linux/sys/errno.h136L
-rw-r--r--include/bits/linux/sys/signal.h27L
-rw-r--r--include/bits/netbsd/sys.h19L
-rw-r--r--include/bits/netbsd/sys/errno.h101L
-rw-r--r--include/bits/netbsd/sys/signal.h27L
-rw-r--r--include/bits/openbsd/sys.h19L
-rw-r--r--include/bits/openbsd/sys/errno.h100L
-rw-r--r--include/bits/openbsd/sys/signal.h27L
-rw-r--r--include/bits/os9/sys.h7L
-rw-r--r--include/bits/os9/sys/errno.h45L
-rw-r--r--include/bits/os9/sys/signal.h12L
-rw-r--r--include/bits/z80/arch/limits.h18L
-rw-r--r--include/bits/z80/arch/stddef.h14L
-rw-r--r--include/bits/z80/arch/stdint.h115L
-rw-r--r--include/bits/z80/arch/stdio.h15L
-rw-r--r--include/bits/z80/arch/stdlib.h14L
-rw-r--r--include/bits/z80/arch/string.h5L
-rw-r--r--include/bits/z80/arch/time.h8L
-rw-r--r--include/ctype.h45L
-rw-r--r--include/deserialize.h8L
-rw-r--r--include/errno.h6L
-rw-r--r--include/features.h17L
-rw-r--r--include/float.h1L
-rw-r--r--include/libk.h27L
-rw-r--r--include/limits.h8L
-rw-r--r--include/locale.h39L
-rw-r--r--include/math.h4L
-rw-r--r--include/os9/const.h9L
-rw-r--r--include/os9/io.h45L
-rw-r--r--include/os9/os9.h377L
-rw-r--r--include/serialize.h8L
-rw-r--r--include/setjmp.h11L
-rw-r--r--include/signal.h9L
-rw-r--r--include/stdarg.h10L
-rw-r--r--include/stdbool.h9L
-rw-r--r--include/stddef.h12L
-rw-r--r--include/stdint.h6L
-rw-r--r--include/stdio.h123L
-rw-r--r--include/stdlib.h69L
-rw-r--r--include/string.h35L
-rw-r--r--include/time.h43L
-rw-r--r--include/wchar.h92L
-rw-r--r--include/wctype.h30L
-rw-r--r--scripts/.gitignore1L
-rw-r--r--scripts/build/conf/amd64-darwin.mk5L
-rw-r--r--scripts/build/conf/amd64-dragonfly.mk5L
-rw-r--r--scripts/build/conf/amd64-linux.mk5L
-rw-r--r--scripts/build/conf/amd64-netbsd.mk5L
-rw-r--r--scripts/build/conf/amd64-openbsd.mk7L
-rw-r--r--scripts/build/conf/arm32-linux.mk14L
-rw-r--r--scripts/build/conf/arm64-linux.mk5L
-rw-r--r--scripts/build/conf/arm64-os9.mk7L
-rw-r--r--scripts/build/tool/armclang.ld21L
-rw-r--r--scripts/build/tool/armclang.mk3L
-rw-r--r--scripts/build/tool/clang.mk10L
-rw-r--r--scripts/build/tool/gnu-darwin.mk4L
-rw-r--r--scripts/build/tool/gnu.ld23L
-rw-r--r--scripts/build/tool/gnu.mk19L
-rw-r--r--scripts/build/tool/pcc.mk3L
-rwxr-xr-xscripts/fvp.sh26L
-rwxr-xr-xscripts/host.sh10L
-rwxr-xr-xscripts/lorder47L
-rwxr-xr-xscripts/mklib45L
-rwxr-xr-xscripts/pi3.sh19L
-rwxr-xr-xscripts/pi4.sh14L
-rw-r--r--scripts/rules.mk126L
-rw-r--r--src/Makefile17L
-rw-r--r--src/libc/.gitignore1L
-rw-r--r--src/libc/Makefile23L
-rw-r--r--src/libc/Makefile.libc17L
-rw-r--r--src/libc/arch/.gitignore1L
-rw-r--r--src/libc/arch/Makefile12L
-rw-r--r--src/libc/arch/amd64/Makefile16L
-rw-r--r--src/libc/arch/amd64/crt-posix.s19L
-rw-r--r--src/libc/arch/amd64/darwin/Makefile38L
-rw-r--r--src/libc/arch/amd64/darwin/_getheap.c18L
-rw-r--r--src/libc/arch/amd64/darwin/_tzone.c1L
-rw-r--r--src/libc/arch/amd64/darwin/crt.s19L
-rwxr-xr-xsrc/libc/arch/amd64/darwin/gensys.sh25L
-rw-r--r--src/libc/arch/amd64/darwin/getenv.c1L
-rw-r--r--src/libc/arch/amd64/darwin/putenv.c1L
-rw-r--r--src/libc/arch/amd64/darwin/raise.c1L
-rw-r--r--src/libc/arch/amd64/darwin/signal.c1L
-rw-r--r--src/libc/arch/amd64/darwin/syscall.lst9L
-rw-r--r--src/libc/arch/amd64/darwin/time.c1L
-rw-r--r--src/libc/arch/amd64/dragonfly/.gitignore10L
-rw-r--r--src/libc/arch/amd64/dragonfly/Makefile39L
-rw-r--r--src/libc/arch/amd64/dragonfly/_getheap.s6L
-rw-r--r--src/libc/arch/amd64/dragonfly/_sigaction.c14L
-rw-r--r--src/libc/arch/amd64/dragonfly/_tzone.c1L
-rw-r--r--src/libc/arch/amd64/dragonfly/crt.s1L
-rwxr-xr-xsrc/libc/arch/amd64/dragonfly/gensys.sh26L
-rw-r--r--src/libc/arch/amd64/dragonfly/getenv.c1L
-rw-r--r--src/libc/arch/amd64/dragonfly/putenv.c1L
-rw-r--r--src/libc/arch/amd64/dragonfly/raise.c1L
-rw-r--r--src/libc/arch/amd64/dragonfly/signal.c1L
-rw-r--r--src/libc/arch/amd64/dragonfly/syscall.lst10L
-rw-r--r--src/libc/arch/amd64/dragonfly/time.c1L
-rw-r--r--src/libc/arch/amd64/linux/.gitignore11L
-rw-r--r--src/libc/arch/amd64/linux/Makefile41L
-rw-r--r--src/libc/arch/amd64/linux/_cerrno.s12L
-rw-r--r--src/libc/arch/amd64/linux/_getheap.s6L
-rw-r--r--src/libc/arch/amd64/linux/_tzone.c1L
-rw-r--r--src/libc/arch/amd64/linux/crt.s1L
-rwxr-xr-xsrc/libc/arch/amd64/linux/gensys.sh21L
-rw-r--r--src/libc/arch/amd64/linux/getenv.c1L
-rw-r--r--src/libc/arch/amd64/linux/putenv.c1L
-rw-r--r--src/libc/arch/amd64/linux/raise.c1L
-rw-r--r--src/libc/arch/amd64/linux/signal.c1L
-rw-r--r--src/libc/arch/amd64/linux/syscall.lst11L
-rw-r--r--src/libc/arch/amd64/linux/time.c1L
-rw-r--r--src/libc/arch/amd64/longjmp.s21L
-rw-r--r--src/libc/arch/amd64/netbsd/.gitignore11L
-rw-r--r--src/libc/arch/amd64/netbsd/Makefile42L
-rw-r--r--src/libc/arch/amd64/netbsd/_getheap.s6L
-rw-r--r--src/libc/arch/amd64/netbsd/_setcontext.s14L
-rw-r--r--src/libc/arch/amd64/netbsd/_sigaction.c14L
-rw-r--r--src/libc/arch/amd64/netbsd/_sigaction2.s12L
-rw-r--r--src/libc/arch/amd64/netbsd/_tzone.c1L
-rw-r--r--src/libc/arch/amd64/netbsd/crt.s2L
-rwxr-xr-xsrc/libc/arch/amd64/netbsd/gensys.sh26L
-rw-r--r--src/libc/arch/amd64/netbsd/getenv.c1L
-rw-r--r--src/libc/arch/amd64/netbsd/putenv.c1L
-rw-r--r--src/libc/arch/amd64/netbsd/raise.c1L
-rw-r--r--src/libc/arch/amd64/netbsd/signal.c1L
-rw-r--r--src/libc/arch/amd64/netbsd/syscall.lst11L
-rw-r--r--src/libc/arch/amd64/netbsd/time.c1L
-rw-r--r--src/libc/arch/amd64/openbsd/.gitignore11L
-rw-r--r--src/libc/arch/amd64/openbsd/Makefile39L
-rw-r--r--src/libc/arch/amd64/openbsd/_getheap.s6L
-rw-r--r--src/libc/arch/amd64/openbsd/_sigaction.c14L
-rw-r--r--src/libc/arch/amd64/openbsd/_tzone.c1L
-rw-r--r--src/libc/arch/amd64/openbsd/crt.s2L
-rwxr-xr-xsrc/libc/arch/amd64/openbsd/gensys.sh26L
-rw-r--r--src/libc/arch/amd64/openbsd/getenv.c1L
-rw-r--r--src/libc/arch/amd64/openbsd/putenv.c1L
-rw-r--r--src/libc/arch/amd64/openbsd/raise.c1L
-rw-r--r--src/libc/arch/amd64/openbsd/signal.c1L
-rw-r--r--src/libc/arch/amd64/openbsd/syscall.lst11L
-rw-r--r--src/libc/arch/amd64/openbsd/time.c1L
-rw-r--r--src/libc/arch/amd64/setjmp.s18L
-rw-r--r--src/libc/arch/arm32/Makefile17L
-rw-r--r--src/libc/arch/arm32/crt-posix.s16L
-rw-r--r--src/libc/arch/arm32/linux/.gitignore10L
-rw-r--r--src/libc/arch/arm32/linux/Makefile41L
-rw-r--r--src/libc/arch/arm32/linux/_cerrno.s14L
-rw-r--r--src/libc/arch/arm32/linux/_getheap.s6L
-rw-r--r--src/libc/arch/arm32/linux/_open.c13L
-rw-r--r--src/libc/arch/arm32/linux/_tzone.c1L
-rw-r--r--src/libc/arch/arm32/linux/crt.s1L
-rwxr-xr-xsrc/libc/arch/arm32/linux/gensys.sh19L
-rw-r--r--src/libc/arch/arm32/linux/getenv.c1L
-rw-r--r--src/libc/arch/arm32/linux/putenv.c1L
-rw-r--r--src/libc/arch/arm32/linux/raise.c1L
-rw-r--r--src/libc/arch/arm32/linux/signal.c1L
-rw-r--r--src/libc/arch/arm32/linux/syscall.lst11L
-rw-r--r--src/libc/arch/arm32/linux/time.c1L
-rw-r--r--src/libc/arch/arm32/longjmp.s11L
-rw-r--r--src/libc/arch/arm32/setjmp.s9L
-rw-r--r--src/libc/arch/arm64/Makefile11L
-rw-r--r--src/libc/arch/arm64/crt-posix.s16L
-rw-r--r--src/libc/arch/arm64/linux/.gitignore10L
-rw-r--r--src/libc/arch/arm64/linux/Makefile40L
-rw-r--r--src/libc/arch/arm64/linux/_cerrno.s13L
-rw-r--r--src/libc/arch/arm64/linux/_getheap.s6L
-rw-r--r--src/libc/arch/arm64/linux/_open.c13L
-rw-r--r--src/libc/arch/arm64/linux/_tzone.c1L
-rw-r--r--src/libc/arch/arm64/linux/crt.s1L
-rwxr-xr-xsrc/libc/arch/arm64/linux/gensys.sh21L
-rw-r--r--src/libc/arch/arm64/linux/getenv.c1L
-rw-r--r--src/libc/arch/arm64/linux/raise.c1L
-rw-r--r--src/libc/arch/arm64/linux/signal.c1L
-rw-r--r--src/libc/arch/arm64/linux/syscall.lst11L
-rw-r--r--src/libc/arch/arm64/linux/time.c1L
-rw-r--r--src/libc/arch/arm64/longjmp.s18L
-rw-r--r--src/libc/arch/arm64/os9/.gitignore1L
-rw-r--r--src/libc/arch/arm64/os9/Makefile16L
-rw-r--r--src/libc/arch/arm64/os9/_Exit.c11L
-rw-r--r--src/libc/arch/arm64/os9/crt.s7L
-rw-r--r--src/libc/arch/arm64/os9/getenv.c1L
-rw-r--r--src/libc/arch/arm64/os9/putenv.c1L
-rw-r--r--src/libc/arch/arm64/os9/raise.c11L
-rw-r--r--src/libc/arch/arm64/setjmp.s16L
-rw-r--r--src/libc/arch/crt-netbsd.s9L
-rw-r--r--src/libc/arch/crt-openbsd.s9L
-rwxr-xr-xsrc/libc/arch/mkerrstr24L
-rw-r--r--src/libc/arch/posix/_tzone.c27L
-rw-r--r--src/libc/arch/posix/getenv.c18L
-rwxr-xr-xsrc/libc/arch/posix/geterrno.sh8L
-rw-r--r--src/libc/arch/posix/putenv.c40L
-rw-r--r--src/libc/arch/posix/raise.c11L
-rw-r--r--src/libc/arch/posix/signal.c17L
-rw-r--r--src/libc/arch/posix/time.c21L
-rw-r--r--src/libc/assert/Makefile9L
-rw-r--r--src/libc/assert/__assert.c9L
-rw-r--r--src/libc/assert/assert.c13L
-rw-r--r--src/libc/ctype/Makefile24L
-rw-r--r--src/libc/ctype/ctype.c22L
-rw-r--r--src/libc/ctype/isalnum.c8L
-rw-r--r--src/libc/ctype/isalpha.c8L
-rw-r--r--src/libc/ctype/isascii.c8L
-rw-r--r--src/libc/ctype/isblank.c7L
-rw-r--r--src/libc/ctype/iscntrl.c8L
-rw-r--r--src/libc/ctype/isdigit.c8L
-rw-r--r--src/libc/ctype/isgraph.c8L
-rw-r--r--src/libc/ctype/islower.c8L
-rw-r--r--src/libc/ctype/isprint.c8L
-rw-r--r--src/libc/ctype/ispunct.c8L
-rw-r--r--src/libc/ctype/isspace.c8L
-rw-r--r--src/libc/ctype/isupper.c8L
-rw-r--r--src/libc/ctype/isxdigit.c8L
-rw-r--r--src/libc/ctype/toascii.c8L
-rw-r--r--src/libc/ctype/tolower.c9L
-rw-r--r--src/libc/ctype/toupper.c8L
-rw-r--r--src/libc/libc.h41L
-rw-r--r--src/libc/locale/Makefile9L
-rw-r--r--src/libc/locale/localeconv.c29L
-rw-r--r--src/libc/locale/setlocale.c16L
-rwxr-xr-xsrc/libc/mklst9L
-rw-r--r--src/libc/rules.mk7L
-rw-r--r--src/libc/stdio/Makefile46L
-rw-r--r--src/libc/stdio/__getc.c39L
-rw-r--r--src/libc/stdio/__iob.c20L
-rw-r--r--src/libc/stdio/__putc.c79L
-rw-r--r--src/libc/stdio/_allocbuf.c21L
-rw-r--r--src/libc/stdio/_flsbuf.c23L
-rw-r--r--src/libc/stdio/_fpopen.c75L
-rw-r--r--src/libc/stdio/clearerr.c8L
-rw-r--r--src/libc/stdio/fclose.c34L
-rw-r--r--src/libc/stdio/feof.c8L
-rw-r--r--src/libc/stdio/ferror.c8L
-rw-r--r--src/libc/stdio/fgetc.c8L
-rw-r--r--src/libc/stdio/fgets.c19L
-rw-r--r--src/libc/stdio/fopen.c23L
-rw-r--r--src/libc/stdio/fprintf.c15L
-rw-r--r--src/libc/stdio/fputc.c8L
-rw-r--r--src/libc/stdio/fputs.c12L
-rw-r--r--src/libc/stdio/fread.c25L
-rw-r--r--src/libc/stdio/freopen.c14L
-rw-r--r--src/libc/stdio/fseek.c29L
-rw-r--r--src/libc/stdio/ftell.c27L
-rw-r--r--src/libc/stdio/fwrite.c24L
-rw-r--r--src/libc/stdio/getc.c8L
-rw-r--r--src/libc/stdio/getchar.c8L
-rw-r--r--src/libc/stdio/gets.c17L
-rw-r--r--src/libc/stdio/perror.c16L
-rw-r--r--src/libc/stdio/printf.c15L
-rw-r--r--src/libc/stdio/putc.c8L
-rw-r--r--src/libc/stdio/putchar.c8L
-rw-r--r--src/libc/stdio/puts.c12L
-rw-r--r--src/libc/stdio/rewind.c10L
-rw-r--r--src/libc/stdio/setbuf.c8L
-rw-r--r--src/libc/stdio/setvbuf.c50L
-rw-r--r--src/libc/stdio/snprintf.c16L
-rw-r--r--src/libc/stdio/sprintf.c16L
-rw-r--r--src/libc/stdio/tmpnam.c31L
-rw-r--r--src/libc/stdio/vfprintf.c362L
-rw-r--r--src/libc/stdio/vprintf.c12L
-rw-r--r--src/libc/stdio/vsnprintf.c25L
-rw-r--r--src/libc/stdio/vsprintf.c12L
-rw-r--r--src/libc/stdlib/Makefile28L
-rw-r--r--src/libc/stdlib/_dtoi.c15L
-rw-r--r--src/libc/stdlib/abort.c10L
-rw-r--r--src/libc/stdlib/abs.c8L
-rw-r--r--src/libc/stdlib/atexit.c17L
-rw-r--r--src/libc/stdlib/atoi.c25L
-rw-r--r--src/libc/stdlib/atol.c26L
-rw-r--r--src/libc/stdlib/atoll.c26L
-rw-r--r--src/libc/stdlib/bsearch.c26L
-rw-r--r--src/libc/stdlib/calloc.c18L
-rw-r--r--src/libc/stdlib/errno.c1L
-rw-r--r--src/libc/stdlib/exit.c13L
-rw-r--r--src/libc/stdlib/labs.c8L
-rw-r--r--src/libc/stdlib/llabs.c8L
-rw-r--r--src/libc/stdlib/malloc.c158L
-rw-r--r--src/libc/stdlib/malloc.h16L
-rw-r--r--src/libc/stdlib/qsort.c68L
-rw-r--r--src/libc/stdlib/rand.c18L
-rw-r--r--src/libc/stdlib/realloc.c68L
-rw-r--r--src/libc/stdlib/strtol.c64L
-rw-r--r--src/libc/stdlib/strtoll.c64L
-rw-r--r--src/libc/stdlib/strtoul.c61L
-rw-r--r--src/libc/stdlib/strtoull.c61L
-rw-r--r--src/libc/string/Makefile31L
-rw-r--r--src/libc/string/memchr.c12L
-rw-r--r--src/libc/string/memcmp.c14L
-rw-r--r--src/libc/string/memcpy.c13L
-rw-r--r--src/libc/string/memmove.c18L
-rw-r--r--src/libc/string/memrchr.c13L
-rw-r--r--src/libc/string/memset.c12L
-rw-r--r--src/libc/string/strcat.c14L
-rw-r--r--src/libc/string/strchr.c10L
-rw-r--r--src/libc/string/strcmp.c10L
-rw-r--r--src/libc/string/strcoll.c10L
-rw-r--r--src/libc/string/strcpy.c12L
-rw-r--r--src/libc/string/strcspn.c21L
-rw-r--r--src/libc/string/strerror.c11L
-rw-r--r--src/libc/string/strlen.c12L
-rw-r--r--src/libc/string/strncat.c15L
-rw-r--r--src/libc/string/strncmp.c14L
-rw-r--r--src/libc/string/strncpy.c14L
-rw-r--r--src/libc/string/strnlen.c13L
-rw-r--r--src/libc/string/strpbrk.c20L
-rw-r--r--src/libc/string/strrchr.c14L
-rw-r--r--src/libc/string/strspn.c21L
-rw-r--r--src/libc/string/strstr.c18L
-rw-r--r--src/libc/string/strtok.c25L
-rw-r--r--src/libc/string/strxfrm.c12L
-rw-r--r--src/libc/syscall.h8L
-rw-r--r--src/libc/time/Makefile15L
-rw-r--r--src/libc/time/_daysyear.c30L
-rw-r--r--src/libc/time/asctime.c12L
-rw-r--r--src/libc/time/ctime.c8L
-rw-r--r--src/libc/time/difftime.c8L
-rw-r--r--src/libc/time/gmtime.c36L
-rw-r--r--src/libc/time/localtime.c22L
-rw-r--r--src/libc/time/mktime.c113L
-rw-r--r--src/libc/time/strftime.c247L
-rw-r--r--src/libio/Makefile15L
-rw-r--r--src/libio/closedir.c13L
-rw-r--r--src/libio/opendir.c31L
-rw-r--r--src/libio/readdir.c23L
-rw-r--r--src/libk/Makefile27L
-rw-r--r--src/libk/dirstat.c20L
-rw-r--r--src/libk/dirtop9.c35L
-rw-r--r--src/libk/doprnt.c140L
-rw-r--r--src/libk/frombytes.c24L
-rw-r--r--src/libk/fromstring.c34L
-rw-r--r--src/libk/getline.c21L
-rw-r--r--src/libk/kassert.c9L
-rw-r--r--src/libk/kgets.c20L
-rw-r--r--src/libk/kprint.c22L
-rw-r--r--src/libk/ksnprint.c25L
-rw-r--r--src/libk/kvprint.c21L
-rw-r--r--src/libk/p9todir.c39L
-rw-r--r--src/libk/stream.h10L
-rw-r--r--src/libk/tobytes.c9L
-rw-r--r--src/libk/tokenize.c27L
-rw-r--r--src/libk/tostring.c13L
-rw-r--r--src/os9/.gitignore1L
-rw-r--r--src/os9/Makefile38L
-rw-r--r--src/os9/alloc.c323L
-rw-r--r--src/os9/arch/Makefile9L
-rw-r--r--src/os9/arch/arm64/.gitignore3L
-rw-r--r--src/os9/arch/arm64/Makefile55L
-rw-r--r--src/os9/arch/arm64/arch.h37L
-rw-r--r--src/os9/arch/arm64/arch.s259L
-rw-r--r--src/os9/arch/arm64/crt.s78L
-rw-r--r--src/os9/arch/arm64/ctx.c137L
-rw-r--r--src/os9/arch/arm64/debug_lock.c1L
-rw-r--r--src/os9/arch/arm64/defines.inc74L
-rw-r--r--src/os9/arch/arm64/ec.h45L
-rw-r--r--src/os9/arch/arm64/fpu.c26L
-rw-r--r--src/os9/arch/arm64/fvp.c34L
-rw-r--r--src/os9/arch/arm64/fvpasm.s2L
-rw-r--r--src/os9/arch/arm64/gic.c11L
-rw-r--r--src/os9/arch/arm64/lock.s34L
-rw-r--r--src/os9/arch/arm64/main.c64L
-rwxr-xr-xsrc/os9/arch/arm64/mkecstr19L
-rwxr-xr-xsrc/os9/arch/arm64/mksysreg42L
-rw-r--r--src/os9/arch/arm64/mmu.c386L
-rw-r--r--src/os9/arch/arm64/pi3.c33L
-rw-r--r--src/os9/arch/arm64/pi3asm.s2L
-rw-r--r--src/os9/arch/arm64/sysreg.lst17L
-rw-r--r--src/os9/arch/arm64/trap.c69L
-rw-r--r--src/os9/cfg/9fvp/conf9L
-rw-r--r--src/os9/cfg/9fvp/kernel11L
-rw-r--r--src/os9/cfg/9hosted/conf5L
-rw-r--r--src/os9/cfg/9hosted/kernel10L
-rw-r--r--src/os9/cfg/9pi3/conf8L
-rw-r--r--src/os9/cfg/9pi3/kernel9L
-rw-r--r--src/os9/dev/.gitignore5L
-rw-r--r--src/os9/dev/Makefile12L
-rw-r--r--src/os9/dev/Makefile.drv28L
-rw-r--r--src/os9/dev/blk.h16L
-rw-r--r--src/os9/dev/dev.c828L
-rw-r--r--src/os9/dev/dev.h80L
-rw-r--r--src/os9/dev/devar.c223L
-rw-r--r--src/os9/dev/devblk.c300L
-rw-r--r--src/os9/dev/devcons.c414L
-rw-r--r--src/os9/dev/devfip.c308L
-rw-r--r--src/os9/dev/devproc.c194L
-rw-r--r--src/os9/dev/devroot.c127L
-rw-r--r--src/os9/dev/devuart.c263L
-rw-r--r--src/os9/dev/dummyblk.c48L
-rw-r--r--src/os9/dev/dummyuart.c94L
-rw-r--r--src/os9/dev/fip.h92L
-rwxr-xr-xsrc/os9/dev/mkblob22L
-rwxr-xr-xsrc/os9/dev/mkblobfil22L
-rwxr-xr-xsrc/os9/dev/mkblobh34L
-rwxr-xr-xsrc/os9/dev/mkdev12L
-rwxr-xr-xsrc/os9/dev/mkdevc70L
-rw-r--r--src/os9/dev/pl011.c394L
-rwxr-xr-xsrc/os9/dev/section10L
-rw-r--r--src/os9/dev/uart.h60L
-rw-r--r--src/os9/dev/uuid.h62L
-rw-r--r--src/os9/dlang.c409L
-rw-r--r--src/os9/hosted/.gitignore2L
-rw-r--r--src/os9/hosted/Makefile19L
-rw-r--r--src/os9/hosted/arch.c74L
-rw-r--r--src/os9/hosted/ctx.c16L
-rw-r--r--src/os9/hosted/hosted.h3L
-rw-r--r--src/os9/hosted/lock.c44L
-rw-r--r--src/os9/hosted/main.c63L
-rw-r--r--src/os9/hosted/mmu.c24L
-rw-r--r--src/os9/map.c151L
-rwxr-xr-xsrc/os9/mkver16L
-rw-r--r--src/os9/proc.c472L
-rw-r--r--src/os9/ref.c28L
-rw-r--r--src/os9/sys.c133L
-rw-r--r--src/os9/syscall.c83L