Various whitespace and cosmetic sync-up's with i386.

Approved by:  re (scottl)
This commit is contained in:
Peter Wemm 2003-12-06 23:19:47 +00:00
parent 90be5e4e7d
commit 21616ec307
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123180
9 changed files with 13 additions and 12 deletions

View File

@ -12,6 +12,9 @@
****************************************************************************/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/****************************************************************************
* Header: remcom.c,v 1.34 91/03/09 12:29:49 glenne Exp $
*
@ -92,9 +95,6 @@
*
****************************************************************************/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/reboot.h>
#include <sys/systm.h>

View File

@ -22,7 +22,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
*/
#include <sys/cdefs.h>

View File

@ -104,13 +104,13 @@
SUPERALIGN_TEXT ; \
IDTVEC(vec_name) ; \
PUSH_FRAME ; \
FAKE_MCOUNT(13*4(%esp)) ; /* XXX avoid double count */ \
movq lapic, %rdx ; /* pointer to local APIC */ \
movl LA_ISR + 16 * (index)(%rdx), %eax ; /* load ISR */ \
bsrl %eax, %eax ; /* index of highset set bit in ISR */ \
jz 2f ; \
addl $(32 * index),%eax ; \
1: ; \
FAKE_MCOUNT(13*4(%esp)) ; /* XXX avoid double count */ \
movq %rax, %rdi ; /* pass the IRQ */ \
call lapic_handle_intr ; \
MEXITCOUNT ; \

View File

@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)npx.c 7.2 (Berkeley) 5/12/91
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
*/
#include <sys/cdefs.h>

View File

@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)machdep.c 7.4 (Berkeley) 6/3/91
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
*/
#include <sys/cdefs.h>

View File

@ -36,8 +36,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* Utah $Hdr: mem.c 1.13 89/10/08$
* @(#)mem.c 7.2 (Berkeley) 5/9/91
* from: Utah $Hdr: mem.c 1.13 89/10/08$
* from: @(#)mem.c 7.2 (Berkeley) 5/9/91
*/
#include <sys/cdefs.h>
@ -175,6 +175,7 @@ mmrw(dev_t dev, struct uio *uio, int flags)
}
c = iov->iov_len;
/*
* Make sure that all of the pages are currently resident so
* that we don't create any zero-fill pages.

View File

@ -174,7 +174,7 @@ nexus_probe(device_t dev)
if (last == -1)
last = irq;
} else if (last != -1) {
if (rman_manage_region(&irq_rman, last, irq - 1) != 0)
if (rman_manage_region(&irq_rman, last, irq - 1) != 0)
panic("nexus_probe irq_rman add");
last = -1;
}

View File

@ -84,8 +84,8 @@ legacy_pcib_route_interrupt(device_t pcib, device_t dev, int pin)
static const char *
legacy_pcib_is_host_bridge(int bus, int slot, int func,
u_int32_t id, u_int8_t class, u_int8_t subclass,
u_int8_t *busnum)
u_int32_t id, u_int8_t class, u_int8_t subclass,
u_int8_t *busnum)
{
const char *s = NULL;
static u_int8_t pxb[4]; /* hack for 450nx */

View File

@ -346,3 +346,4 @@ pcireg_cfgopen(void)
devmax = 0;
return (cfgmech);
}