Go to the documentation of this file.
54 kprintf(
"[%s:%i]",__FILE__,__LINE__);
63 kprintf(
"[%s:%i]",__FILE__,__LINE__);
72 kprintf(
"[%s:%i]",__FILE__,__LINE__);
85 kprintf(
"[%s:%i]",__FILE__,__LINE__);
95 kprintf(
"[%s:%i]",__FILE__,__LINE__);
106 kprintf(
"[%s:%i]",__FILE__,__LINE__);
150 if (args->
pid == -1) {
170 if (tmpTask != 0x0) {
172 while (tmpTask != 0x0) {
187 void **segbase = 0x0;
189 if (args->
op == 10) {
191 segbase = args->
parms;
198 tmpDesc->
limitLow = (0xFFFFF & 0xFFFF);
199 tmpDesc->
baseLow = (base_addr & 0xFFFF);
200 tmpDesc->
baseMed = ((base_addr >> 16) & 0xFF);
204 tmpDesc->
baseHigh = base_addr >> 24;
246 if (args->
oset != 0x0) {
251 if (args->
set != 0x0) {
253 if (args->
set != 0x0) {
262 if (args->
set != 0x0) {
274 if (args->
set != 0x0) {
297 if (args->
oact != 0x0) {
302 if (args->
act != 0x0) {
331 if (tmpTask == 0x0) {
344 tmpTask->
pgrp = pgrp;
379 struct rlimit *rlim = 0x0;
381 switch (args->
which) {
453 switch (args->
which) {
int gettimeofday_new(struct thread *td, struct gettimeofday_args *uap)
int sys_wait4(struct thread *td, struct sys_wait4_args *args)
int sys_exit(struct thread *td, struct sys_exit_args *args)
int sys_getlogin(struct thread *thr, struct sys_getlogin_args *args)
int sys_setlogin(struct thread *thr, struct sys_setlogin_args *args)
size_t fread(void *ptr, size_t size, size_t nmemb, fileDescriptor_t *fd)
int getgid(struct thread *td, struct getgid_args *uap)
struct sigaction sigact[128]
int sys_setpgid(struct thread *td, struct sys_setpgid_args *args)
int sys_getegid(struct thread *td, struct sys_getegid_args *args)
int sys_geteuid(struct thread *td, struct sys_geteuid_args *args)
int sys_sigaction(struct thread *td, struct sys_sigaction_args *args)
int sys_sigprocmask(struct thread *td, struct sys_sigprocmask_args *args)
int sys_gettimeofday(struct thread *td, struct sys_gettimeofday_args *args)
void * memcpy(const void *dst, const void *src, size_t length)
kTask_t * schedFindTask(uInt32 id)
int gettimeofday(struct timeval *tp, struct timezone *tzp)
int readlink(struct thread *td, struct readlink_args *uap)
int getfd(struct thread *td, struct file **fp, int fd)
get pointer to file fd in specified thread
int mprotect(struct thread *td, struct mprotect_args *uap)
int setitimer(struct thread *td, struct setitimer_args *uap)
place holder for now functionality to be added later
struct rlimit rlim[RLIM_NLIMITS]
const struct sigaction * act
int sched_setStatus(pidType pid, tState state)
int getpid(struct thread *td, struct getpid_args *uap)
int sys_sysarch(struct thread *td, struct sys_sysarch_args *args)
int sys_getpgrp(struct thread *td, struct sys_getpgrp_args *args)
int access(struct thread *td, struct access_args *uap)
int sys_setrlimit(struct thread *thr, struct sys_setrlimit_args *args)
int sys_getppid(struct thread *td, struct sys_getppid_args *args)
int read(struct thread *td, struct read_args *uap)
int sys_getpid(struct thread *td, struct sys_getpid_args *args)
int sys_invalid(struct thread *td, void *args)
int kprintf(const char *,...)
int sys_getrlimit(struct thread *thr, struct sys_getrlimit_args *args)
int getuid(struct thread *td, struct getuid_args *uap)
int sys_issetugid(register struct thread *td, struct sys_issetugid_args *uap)