- 2012年 4月 08日 15 次提交
-
-
由 Austin Clements 提交于
Any instances of userptr<T> in the kernel syscall prototypes are translated to regular pointers for the user space prototypes. Also, this requires marking sys_exit's magic syscall comment with a new flag to indicate it does not return.
-
由 Austin Clements 提交于
This requires adding flags to the magic syscall comment so that we can mark sys_exec as using INT instead of SYSCALL for entry.
-
由 Austin Clements 提交于
This uses the special comments marking syscalls to find syscall entry points and their prototypes. For now, it also parses include/syscall.h to get syscall numbers.
-
由 Austin Clements 提交于
-
由 Austin Clements 提交于
Previously these were type-less uptrs.
-
由 Austin Clements 提交于
These are compatible with regular pointers, but can't be dereferenced without checks.
-
由 Austin Clements 提交于
We don't need these symbols in C code now.
-
由 Austin Clements 提交于
This requires them to be in order, since we can't use C99 initializers, but we're going to autogenerate this list shortly anyway. The main advantage is that this lets us use C++ types for arguments.
-
由 Austin Clements 提交于
-
由 Austin Clements 提交于
Except for the pointer argument to sys_exec, which is an opaque uptr in the kernel.
-
由 Austin Clements 提交于
Except for the pointer arguments to sys_map and sys_unmap, which are opaque uptr's in the kernel.
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
- 2012年 4月 07日 9 次提交
-
-
由 Nickolai Zeldovich 提交于
hopefully this fixes the filetable 0x..08 corruption bug
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Austin Clements 提交于
Most of this is propagating the const-ness through the myriad write functions.
-
由 Austin Clements 提交于
-
由 Austin Clements 提交于
Since the underlying kmem allocator uses the first sizeof(struct run) bytes as metadata for freed runs, the zero pages put into the zero page allocator's kmem were coming back with the first few bytes non-zero. Fix this by explicitly zero'ing the run header of pages retrieved from kmem. usertests now passes the bss test. It still fails twofiles and forktest.
-
由 Austin Clements 提交于
Maybe we want vmnode to just take a byte size...
-
由 Austin Clements 提交于
Previously, we mapped it as one node that spanned all of the pages, but had a smaller size. This causes a panic when we fault on pages beyond the size because vmnode::loadpg calls readi with a too-large offset. We could "fix" loadpg, but what we have now is actually POSIX-ish behavior (which says faults beyond the end of the mapped object should signal SIGBUS), so instead we fix the ELF loader to create two vmnodes in this situation. This gets usertests running again for me (it now fails at the BSS test, but at least it starts).
-
- 2012年 4月 06日 3 次提交
-
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
- 2012年 4月 05日 7 次提交
-
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
- 2012年 4月 04日 6 次提交
-
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
-
由 Frans Kaashoek 提交于
-