-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 18918 b: refs/heads/master c: 4abfbf4 h: refs/heads/master v: v3
- Loading branch information
Gennady Sharapov
authored and
Linus Torvalds
committed
Jan 19, 2006
1 parent
6f5536c
commit dc668c9
Showing
19 changed files
with
116 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 2c332a251302873cf8301c2aad27737b6df70255 | ||
refs/heads/master: 4abfbf4034b419736de5797a3860ab0bcf5c5c8d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | ||
* Licensed under the GPL | ||
*/ | ||
|
||
#ifndef __SKAS_MMU_H | ||
#define __SKAS_MMU_H | ||
|
||
#include "linux/config.h" | ||
#include "mm_id.h" | ||
#include "asm/ldt.h" | ||
|
||
struct mmu_context_skas { | ||
struct mm_id id; | ||
unsigned long last_page_table; | ||
#ifdef CONFIG_3_LEVEL_PGTABLES | ||
unsigned long last_pmd; | ||
#endif | ||
uml_ldt_t ldt; | ||
}; | ||
|
||
extern void switch_mm_skas(struct mm_id * mm_idp); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
trunk/arch/um/kernel/tt/include/debug.h → trunk/arch/um/include/tt/debug.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | ||
* Licensed under the GPL | ||
*/ | ||
|
||
#ifndef __TT_MMU_H | ||
#define __TT_MMU_H | ||
|
||
struct mmu_context_tt { | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | ||
* Licensed under the GPL | ||
*/ | ||
|
||
#ifndef __MODE_TT_H__ | ||
#define __MODE_TT_H__ | ||
|
||
#include "sysdep/ptrace.h" | ||
|
||
enum { OP_NONE, OP_EXEC, OP_FORK, OP_TRACE_ON, OP_REBOOT, OP_HALT, OP_CB }; | ||
|
||
extern int tracing_pid; | ||
|
||
extern int tracer(int (*init_proc)(void *), void *sp); | ||
extern void sig_handler_common_tt(int sig, void *sc); | ||
extern void syscall_handler_tt(int sig, union uml_pt_regs *regs); | ||
extern void reboot_tt(void); | ||
extern void halt_tt(void); | ||
extern int is_tracer_winch(int pid, int fd, void *data); | ||
extern void kill_off_processes_tt(void); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | ||
* Licensed under the GPL | ||
*/ | ||
|
||
#ifndef __TT_MODE_KERN_H__ | ||
#define __TT_MODE_KERN_H__ | ||
|
||
#include "linux/sched.h" | ||
#include "asm/page.h" | ||
#include "asm/ptrace.h" | ||
#include "asm/uaccess.h" | ||
|
||
extern void switch_to_tt(void *prev, void *next); | ||
extern void flush_thread_tt(void); | ||
extern void start_thread_tt(struct pt_regs *regs, unsigned long eip, | ||
unsigned long esp); | ||
extern int copy_thread_tt(int nr, unsigned long clone_flags, unsigned long sp, | ||
unsigned long stack_top, struct task_struct *p, | ||
struct pt_regs *regs); | ||
extern void release_thread_tt(struct task_struct *task); | ||
extern void initial_thread_cb_tt(void (*proc)(void *), void *arg); | ||
extern void init_idle_tt(void); | ||
extern void flush_tlb_kernel_range_tt(unsigned long start, unsigned long end); | ||
extern void flush_tlb_kernel_vm_tt(void); | ||
extern void __flush_tlb_one_tt(unsigned long addr); | ||
extern void flush_tlb_range_tt(struct vm_area_struct *vma, | ||
unsigned long start, unsigned long end); | ||
extern void flush_tlb_mm_tt(struct mm_struct *mm); | ||
extern void force_flush_all_tt(void); | ||
extern long execute_syscall_tt(void *r); | ||
extern void before_mem_tt(unsigned long brk_start); | ||
extern unsigned long set_task_sizes_tt(int arg, unsigned long *host_size_out, | ||
unsigned long *task_size_out); | ||
extern int start_uml_tt(void); | ||
extern int external_pid_tt(struct task_struct *task); | ||
extern int thread_pid_tt(struct task_struct *task); | ||
|
||
#define kmem_end_tt (host_task_size - ABOVE_KMEM) | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.