Basic VM and other minor improvements.

Not complete, probably not fully debugged or optimized.
This commit is contained in:
Ben Gras
2008-11-19 12:26:10 +00:00
parent c888305e21
commit c078ec0331
273 changed files with 10814 additions and 4305 deletions

View File

@@ -67,6 +67,7 @@ libc_FILES=" \
mkdir.s \
mkfifo.s \
mknod.s \
mmap.s \
mount.s \
open.s \
opendir.s \
@@ -119,6 +120,7 @@ libc_FILES=" \
uname.s \
unlink.s \
utime.s \
vm_dmacalls.s \
wait.s \
waitpid.s \
write.s"

7
lib/syscall/mmap.s Executable file
View File

@@ -0,0 +1,7 @@
.sect .text
.extern __mmap
.define _mmap
.align 2
_mmap:
jmp __mmap

16
lib/syscall/vm_dmacalls.s Normal file
View File

@@ -0,0 +1,16 @@
.sect .text
.extern __vm_adddma
.define _vm_adddma
.extern __vm_deldma
.define _vm_deldma
.extern __vm_getdma
.define _vm_getdma
.align 2
_vm_adddma:
jmp __vm_adddma
_vm_deldma:
jmp __vm_deldma
_vm_getdma:
jmp __vm_getdma