Print this page
de-linting of .s files

*** 21,36 **** /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ - #if defined(lint) - #include <sys/types.h> - #include <sys/thread.h> - #else /* lint */ #include "assym.h" - #endif /* lint */ #include <sys/asm_linkage.h> #include <sys/machthread.h> #include <sys/machcpuvar.h> #include <sys/intreg.h> --- 21,31 ----
*** 45,63 **** #ifdef TRAPTRACE #include <sys/traptrace.h> #endif /* TRAPTRACE */ - #if defined(lint) - void - cpu_mondo(void) - {} - - #else /* lint */ - - /* * (TT 0x7c, TL>0) CPU Mondo Queue Handler * Globals are the Interrupt Globals. */ ENTRY_NP(cpu_mondo) --- 40,50 ----
*** 193,213 **** 3: retry /* Never Reached */ SET_SIZE(cpu_mondo) - #endif /* lint */ - #if defined(lint) - - void - dev_mondo(void) - {} - - #else /* lint */ - - /* * (TT 0x7d, TL>0) Dev Mondo Queue Handler * Globals are the Interrupt Globals. * We only process one interrupt at a time causing us to keep * taking this trap till the queue is empty. --- 180,190 ----
*** 342,374 **** 0: retry /* Never Reached */ SET_SIZE(dev_mondo) - #endif /* lint */ - #if defined(lint) - uint64_t cpu_mondo_inval; - #else /* lint */ .seg ".data" .global cpu_mondo_inval .align 8 cpu_mondo_inval: .skip 8 .seg ".text" - #endif /* lint */ - #if defined(lint) - - void - resumable_error(void) - {} - - #else /* lint */ - /* * (TT 0x7e, TL>0) Resumeable Error Queue Handler * We keep a shadow copy of the queue in kernel buf. * Read the resumable queue head and tail offset * If there are entries on the queue, move them to --- 319,338 ----
*** 480,499 **** 0: retry /*NOTREACHED*/ SET_SIZE(resumable_error) - #endif /* lint */ - #if defined(lint) - - void - nonresumable_error(void) - {} - - #else /* lint */ - /* * (TT 0x7f, TL>0) Non-resumeable Error Queue Handler * We keep a shadow copy of the queue in kernel buf. * Read non-resumable queue head and tail offset * If there are entries on the queue, move them to --- 444,454 ----
*** 661,666 **** 0: retry /*NOTREACHED*/ SET_SIZE(nonresumable_error) - #endif /* lint */ --- 616,620 ----