change parameter types of arch-regs to "void *"
This commit is contained in:
@ -368,8 +368,8 @@ void setup_x86_ap(void (*next_func)(void))
|
||||
}
|
||||
|
||||
void arch_show_interrupt_context(const void *reg);
|
||||
void set_signal(int, void *);
|
||||
void check_signal(long, void *);
|
||||
void set_signal(int sig, void *regs);
|
||||
void check_signal(unsigned long rc, void *regs);
|
||||
|
||||
void handle_interrupt(int vector, struct x86_regs *regs)
|
||||
{
|
||||
|
||||
@ -106,8 +106,9 @@ extern void interrupt_syscall(int all);
|
||||
extern int num_processors;
|
||||
|
||||
void
|
||||
do_signal(unsigned long rc, unsigned long *regs, struct process *proc, struct sig_pending *pending)
|
||||
do_signal(unsigned long rc, void *regs0, struct process *proc, struct sig_pending *pending)
|
||||
{
|
||||
unsigned long *regs = regs0;
|
||||
struct k_sigaction *k;
|
||||
int sig;
|
||||
__sigset_t w;
|
||||
@ -159,8 +160,9 @@ do_signal(unsigned long rc, unsigned long *regs, struct process *proc, struct si
|
||||
}
|
||||
|
||||
void
|
||||
check_signal(unsigned long rc, unsigned long *regs)
|
||||
check_signal(unsigned long rc, void *regs0)
|
||||
{
|
||||
unsigned long *regs = regs0;
|
||||
struct process *proc;
|
||||
struct sig_pending *pending;
|
||||
struct sig_pending *next;
|
||||
@ -310,8 +312,9 @@ do_kill(int pid, int tid, int sig)
|
||||
}
|
||||
|
||||
void
|
||||
set_signal(int sig, unsigned long *regs)
|
||||
set_signal(int sig, void *regs0)
|
||||
{
|
||||
unsigned long *regs = regs0;
|
||||
struct process *proc = cpu_local_var(current);
|
||||
|
||||
if(proc == NULL || proc->pid == 0)
|
||||
|
||||
@ -164,8 +164,8 @@ static struct ihk_mc_interrupt_handler query_free_mem_handler = {
|
||||
.priv = NULL,
|
||||
};
|
||||
|
||||
void set_signal(int, unsigned long *);
|
||||
void check_signal(long, unsigned long *);
|
||||
void set_signal(int sig, void *regs);
|
||||
void check_signal(unsigned long rc, void *regs);
|
||||
|
||||
static void unhandled_page_fault(struct process *proc, void *fault_addr, void *regs)
|
||||
{
|
||||
|
||||
@ -92,8 +92,8 @@ static char *syscall_name[] MCKERNEL_UNUSED = {
|
||||
#undef SYSCALL_DELEGATED
|
||||
};
|
||||
|
||||
void check_signal(long rc, unsigned long *regs);
|
||||
void do_signal(long rc, unsigned long *regs, struct process *proc, struct sig_pending *pending);
|
||||
void check_signal(unsigned long rc, void *regs);
|
||||
void do_signal(long rc, void *regs, struct process *proc, struct sig_pending *pending);
|
||||
int copy_from_user(struct process *, void *, const void *, size_t);
|
||||
int copy_to_user(struct process *, void *, const void *, size_t);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user