Subversion Repositories HelenOS-historic

Rev

Rev 962 | Rev 1053 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 962 Rev 1023
Line 40... Line 40...
40
#include <arch.h>
40
#include <arch.h>
41
#include <symtab.h>
41
#include <symtab.h>
42
#include <debug.h>
42
#include <debug.h>
43
#include <syscall/syscall.h>
43
#include <syscall/syscall.h>
44
#include <print.h>
44
#include <print.h>
-
 
45
#include <proc/scheduler.h>
45
 
46
 
46
#define VECTORS_64_BUNDLE   20
47
#define VECTORS_64_BUNDLE   20
47
#define VECTORS_16_BUNDLE   48
48
#define VECTORS_16_BUNDLE   48
48
#define VECTORS_16_BUNDLE_START 0x5000
49
#define VECTORS_16_BUNDLE_START 0x5000
49
#define VECTOR_MAX      0x7f00
50
#define VECTOR_MAX      0x7f00
Line 171... Line 172...
171
    }
172
    }
172
 
173
 
173
    panic("General Exception (%s)\n", desc);
174
    panic("General Exception (%s)\n", desc);
174
}
175
}
175
 
176
 
-
 
177
 
-
 
178
void disabled_fp_register(__u64 vector, istate_t *istate)
-
 
179
{
-
 
180
#ifdef CONFIG_CPU_LAZY
-
 
181
    scheduler_fpu_lazy_request();  
-
 
182
#endif
-
 
183
}
-
 
184
 
-
 
185
 
-
 
186
void nop_handler(__u64 vector, istate_t *istate)
-
 
187
{
-
 
188
}
-
 
189
 
-
 
190
 
-
 
191
 
176
/** Handle syscall. */
192
/** Handle syscall. */
177
int break_instruction(__u64 vector, istate_t *istate)
193
int break_instruction(__u64 vector, istate_t *istate)
178
{
194
{
179
    /*
195
    /*
180
     * Move to next instruction after BREAK.
196
     * Move to next instruction after BREAK.