mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
[PATCH] uml: move libc-dependent code from trap_user.c
The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from trap_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov <Gennady.V.Sharapov@intel.com> Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
0805d89c15
commit
ea2ba7dc3d
13 changed files with 123 additions and 91 deletions
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
* Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com)
|
||||
* Licensed under the GPL
|
||||
*/
|
||||
|
@ -23,12 +23,7 @@ struct cpu_task {
|
|||
|
||||
extern struct cpu_task cpu_tasks[];
|
||||
|
||||
struct signal_info {
|
||||
void (*handler)(int, union uml_pt_regs *);
|
||||
int is_irq;
|
||||
};
|
||||
|
||||
extern struct signal_info sig_info[];
|
||||
extern void (*sig_info[])(int, union uml_pt_regs *);
|
||||
|
||||
extern unsigned long low_physmem;
|
||||
extern unsigned long high_physmem;
|
||||
|
@ -64,7 +59,6 @@ extern void setup_machinename(char *machine_out);
|
|||
extern void setup_hostinfo(void);
|
||||
extern void do_exec(int old_pid, int new_pid);
|
||||
extern void tracer_panic(char *msg, ...);
|
||||
extern void do_longjmp(void *p, int val);
|
||||
extern int detach(int pid, int sig);
|
||||
extern int attach(int pid);
|
||||
extern void kill_child_dead(int pid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue