404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.219.32.237: ~ $
/* 
 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
 * Licensed under the GPL
 */

#ifndef __UM_PROCESSOR_GENERIC_H
#define __UM_PROCESSOR_GENERIC_H

struct pt_regs;

struct task_struct;

#include <asm/ptrace.h>
#include <registers.h>
#include <sysdep/archsetjmp.h>

#include <linux/prefetch.h>

struct mm_struct;

struct thread_struct {
	struct pt_regs regs;
	struct pt_regs *segv_regs;
	int singlestep_syscall;
	void *fault_addr;
	jmp_buf *fault_catcher;
	struct task_struct *prev_sched;
	struct arch_thread arch;
	jmp_buf switch_buf;
	struct {
		int op;
		union {
			struct {
				int pid;
			} fork, exec;
			struct {
				int (*proc)(void *);
				void *arg;
			} thread;
			struct {
				void (*proc)(void *);
				void *arg;
			} cb;
		} u;
	} request;
};

#define INIT_THREAD \
{ \
	.regs		   	= EMPTY_REGS,	\
	.fault_addr		= NULL, \
	.prev_sched		= NULL, \
	.arch			= INIT_ARCH_THREAD, \
	.request		= { 0 } \
}

static inline void release_thread(struct task_struct *task)
{
}

#define init_stack	(init_thread_union.stack)

/*
 * User space process size: 3GB (default).
 */
extern unsigned long task_size;

#define TASK_SIZE (task_size)

#undef STACK_TOP
#undef STACK_TOP_MAX

extern unsigned long stacksizelim;

#define STACK_ROOM	(stacksizelim)
#define STACK_TOP	(TASK_SIZE - 2 * PAGE_SIZE)
#define STACK_TOP_MAX	STACK_TOP

/* This decides where the kernel will search for a free chunk of vm
 * space during mmap's.
 */
#define TASK_UNMAPPED_BASE	(0x40000000)

extern void start_thread(struct pt_regs *regs, unsigned long entry, 
			 unsigned long stack);

struct cpuinfo_um {
	unsigned long loops_per_jiffy;
	int ipi_pipe[2];
};

extern struct cpuinfo_um boot_cpu_data;

#define cpu_data (&boot_cpu_data)
#define current_cpu_data boot_cpu_data

#define KSTK_REG(tsk, reg) get_thread_reg(reg, &tsk->thread.switch_buf)
extern unsigned long get_wchan(struct task_struct *p);

#endif

Filemanager

Name Type Size Permission Actions
Kbuild File 702 B 0644
a.out-core.h File 695 B 0644
bugs.h File 111 B 0644
cache.h File 483 B 0644
common.lds.S File 1.76 KB 0644
dma.h File 180 B 0644
fixmap.h File 1.63 KB 0644
hardirq.h File 558 B 0644
io.h File 339 B 0644
irq.h File 493 B 0644
irqflags.h File 865 B 0644
kmap_types.h File 219 B 0644
kvm_para.h File 34 B 0644
mmu.h File 558 B 0644
mmu_context.h File 1.87 KB 0644
page.h File 3.15 KB 0644
pgalloc.h File 1.46 KB 0644
pgtable-2level.h File 1.32 KB 0644
pgtable-3level.h File 2.88 KB 0644
pgtable.h File 9.88 KB 0644
processor-generic.h File 1.87 KB 0644
ptrace-generic.h File 1.13 KB 0644
sections.h File 219 B 0644
setup.h File 273 B 0644
smp.h File 121 B 0644
stacktrace.h File 1.06 KB 0644
syscall-generic.h File 2.67 KB 0644
sysrq.h File 182 B 0644
thread_info.h File 2.15 KB 0644
timex.h File 151 B 0644
tlb.h File 4.23 KB 0644
tlbflush.h File 978 B 0644
uaccess.h File 1.65 KB 0644
unwind.h File 213 B 0644