- Timestamp:
- May 20, 2008, 2:03:07 AM (17 years ago)
- File:
-
- 1 edited
-
branches/win64/lisp-kernel/x86-exceptions.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/win64/lisp-kernel/x86-exceptions.c
r9327 r9555 1307 1307 1308 1308 #ifdef WINDOWS 1309 void 1310 interrupt_handler (int signum, siginfo_t *info, ExceptionInformation *context) 1311 { 1312 } 1313 #else 1309 extern LONG restore_win64_context(ExceptionInformation *, TCR *, int;); 1310 #endif 1311 1314 1312 void 1315 1313 interrupt_handler (int signum, siginfo_t *info, ExceptionInformation *context) … … 1319 1317 #endif 1320 1318 TCR *tcr = get_interrupt_tcr(false); 1319 int old_valence = tcr->valence; 1320 1321 1321 if (tcr) { 1322 1322 if ((TCR_INTERRUPT_LEVEL(tcr) < 0) || … … 1336 1336 1337 1337 xframe_list xframe_link; 1338 int old_valence;1339 1338 signed_natural alloc_displacement = 0; 1340 1339 LispObj … … 1371 1370 tcr->flags |= old_foreign_exception; 1372 1371 unlock_exception_lock_in_handler(tcr); 1372 #ifndef WINDOWS 1373 1373 exit_signal_handler(tcr, old_valence); 1374 #endif 1374 1375 } 1375 1376 } … … 1380 1381 } 1381 1382 #endif 1383 #ifdef WINDOWS 1384 restore_win64_context(context,tcr,old_valence); 1385 #else 1382 1386 SIGRETURN(context); 1383 } 1384 #endif 1387 #endif 1388 } 1389 1385 1390 1386 1391 #ifndef WINDOWS … … 1506 1511 } 1507 1512 1508 extern LONG restore_win64_context(ExceptionInformation *, TCR *, int;);1509 1513 1510 1514 LONG
Note:
See TracChangeset
for help on using the changeset viewer.
