freebsd-dev/sys/sparc64
Matthew Dillon 182da8209d Stage-2 commit of the critical*() code. This re-inlines cpu_critical_enter()
and cpu_critical_exit() and moves associated critical prototypes into their
own header file, <arch>/<arch>/critical.h, which is only included by the
three MI source files that need it.

Backout and re-apply improperly comitted syntactical cleanups made to files
that were still under active development.  Backout improperly comitted program
structure changes that moved localized declarations to the top of two
procedures.  Partially re-apply one of the program structure changes to
move 'mask' into an intermediate block rather then in three separate
sub-blocks to make the code more readable.  Re-integrate bug fixes that Jake
made to the sparc64 code.

Note: In general, developers should not gratuitously move declarations out
of sub-blocks.  They are where they are for reasons of structure, grouping,
readability, compiler-localizability, and to avoid developer-introduced bugs
similar to several found in recent years in the VFS and VM code.

Reviewed by:	jake
2002-04-01 23:51:23 +00:00
..
compile
conf Sync with other arches; add bloat. 2002-03-23 16:55:37 +00:00
ebus Make the OpenFirmware interrupt mapping code more generic, to reduce 2002-03-24 02:11:06 +00:00
include Stage-2 commit of the critical*() code. This re-inlines cpu_critical_enter() 2002-04-01 23:51:23 +00:00
isa Make the OpenFirmware interrupt mapping code more generic, to reduce 2002-03-24 02:11:06 +00:00
pci Revamp the busdma implementation a bit: 2002-03-24 02:50:53 +00:00
sbus Revamp the busdma implementation a bit: 2002-03-24 02:50:53 +00:00
sparc64 Stage-2 commit of the critical*() code. This re-inlines cpu_critical_enter() 2002-04-01 23:51:23 +00:00