diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-03-23 01:06:05 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-03-23 01:06:05 +0000 |
commit | 66fb9763af9cd743158957e8c9c2559d922b1c22 (patch) | |
tree | 34a6524fbd51076c6ecbd5fd5d548f9b11302a12 /linux-user/main.c | |
parent | 1b6b029e40c4297ce9c27e0f8b8ae177085c990a (diff) |
basic signal handling
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@41 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/main.c')
-rw-r--r-- | linux-user/main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index cd08c474c4..bcaa4be161 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -81,10 +81,6 @@ int cpu_x86_inl(int addr) return 0; } -/* default linux values for the selectors */ -#define __USER_CS (0x23) -#define __USER_DS (0x2B) - void write_dt(void *ptr, unsigned long addr, unsigned long limit, int seg32_bit) { @@ -135,6 +131,7 @@ void cpu_loop(struct CPUX86State *env) (long)pc, err); abort(); } + process_pending_signals(env); } } @@ -199,6 +196,7 @@ int main(int argc, char **argv) target_set_brk((char *)info->brk); syscall_init(); + signal_init(); env = cpu_x86_init(); |