summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-09-04 00:40:41 +0000
committerpfg <pfg@FreeBSD.org>2014-09-04 00:40:41 +0000
commit4480b8a63d1bd7977650f61794397f74bde685ae (patch)
treecb2f5dbad2da8b8770ce8e5ca8ab342c5202d57d /sys/i386
parent27085e5c8f1ea9951759f78809c9e1cd402db2b2 (diff)
downloadFreeBSD-src-4480b8a63d1bd7977650f61794397f74bde685ae.zip
FreeBSD-src-4480b8a63d1bd7977650f61794397f74bde685ae.tar.gz
MFC r270844:
Minor space/tab cleanups. Most of them were ripped from the GSoC 2104 SMAP + kpatch project (but unrelated). Only cosmetic changes. Taken from: Oliver Pinter (op@)
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/db_disasm.c4
-rw-r--r--sys/i386/i386/support.s20
2 files changed, 12 insertions, 12 deletions
diff --git a/sys/i386/i386/db_disasm.c b/sys/i386/i386/db_disasm.c
index 719c9f7..db2c20d 100644
--- a/sys/i386/i386/db_disasm.c
+++ b/sys/i386/i386/db_disasm.c
@@ -782,7 +782,7 @@ static const struct inst db_inst_table[256] = {
/*c7*/ { "mov", TRUE, LONG, op2(I, E), 0 },
/*c8*/ { "enter", FALSE, NONE, op2(Iw, Ib), 0 },
-/*c9*/ { "leave", FALSE, NONE, 0, 0 },
+/*c9*/ { "leave", FALSE, NONE, 0, 0 },
/*ca*/ { "lret", FALSE, NONE, op1(Iw), 0 },
/*cb*/ { "lret", FALSE, NONE, 0, 0 },
/*cc*/ { "int", FALSE, NONE, op1(o3), 0 },
@@ -1266,7 +1266,7 @@ db_disasm(loc, altfmt)
case 0xc8:
i_name = "monitor";
i_size = NONE;
- i_mode = 0;
+ i_mode = 0;
break;
case 0xc9:
i_name = "mwait";
diff --git a/sys/i386/i386/support.s b/sys/i386/i386/support.s
index 779fa38..c126f78 100644
--- a/sys/i386/i386/support.s
+++ b/sys/i386/i386/support.s
@@ -62,8 +62,8 @@ ENTRY(bzero)
stosb
popl %edi
ret
-END(bzero)
-
+END(bzero)
+
ENTRY(sse2_pagezero)
pushl %ebx
movl 8(%esp),%ecx
@@ -694,7 +694,7 @@ ENTRY(lgdt)
movl 4(%esp),%eax
lgdt (%eax)
#endif
-
+
/* flush the prefetch q */
jmp 1f
nop
@@ -740,13 +740,13 @@ END(ssdtosd)
/* void reset_dbregs() */
ENTRY(reset_dbregs)
- movl $0,%eax
- movl %eax,%dr7 /* disable all breapoints first */
- movl %eax,%dr0
- movl %eax,%dr1
- movl %eax,%dr2
- movl %eax,%dr3
- movl %eax,%dr6
+ movl $0,%eax
+ movl %eax,%dr7 /* disable all breakpoints first */
+ movl %eax,%dr0
+ movl %eax,%dr1
+ movl %eax,%dr2
+ movl %eax,%dr3
+ movl %eax,%dr6
ret
END(reset_dbregs)
OpenPOWER on IntegriCloud