Date: Thu, 4 Sep 2014 00:43:27 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r271072 - in stable/9/sys: amd64/amd64 i386/i386 Message-ID: <201409040043.s840hRAO070311@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Thu Sep 4 00:43:27 2014 New Revision: 271072 URL: http://svnweb.freebsd.org/changeset/base/271072 Log: 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@) Modified: stable/9/sys/amd64/amd64/support.S stable/9/sys/i386/i386/db_disasm.c stable/9/sys/i386/i386/support.s Directory Properties: stable/9/ (props changed) stable/9/sys/ (props changed) Modified: stable/9/sys/amd64/amd64/support.S ============================================================================== --- stable/9/sys/amd64/amd64/support.S Thu Sep 4 00:40:41 2014 (r271071) +++ stable/9/sys/amd64/amd64/support.S Thu Sep 4 00:43:27 2014 (r271072) @@ -59,7 +59,7 @@ ENTRY(bzero) stosb ret END(bzero) - + /* Address: %rdi */ ENTRY(pagezero) movq $-PAGE_SIZE,%rdx @@ -137,7 +137,7 @@ ENTRY(bcopy) cld ret END(bcopy) - + /* * Note: memcpy does not support overlapping copies */ @@ -181,10 +181,10 @@ ENTRY(pagecopy) ret END(pagecopy) -/* fillw(pat, base, cnt) */ +/* fillw(pat, base, cnt) */ /* %rdi,%rsi, %rdx */ ENTRY(fillw) - movq %rdi,%rax + movq %rdi,%rax movq %rsi,%rdi movq %rdx,%rcx cld @@ -388,7 +388,7 @@ ENTRY(fuword) movq (%rdi),%rax movq $0,PCB_ONFAULT(%rcx) ret -END(fuword64) +END(fuword64) END(fuword) ENTRY(fuword32) Modified: stable/9/sys/i386/i386/db_disasm.c ============================================================================== --- stable/9/sys/i386/i386/db_disasm.c Thu Sep 4 00:40:41 2014 (r271071) +++ stable/9/sys/i386/i386/db_disasm.c Thu Sep 4 00:43:27 2014 (r271072) @@ -782,7 +782,7 @@ static const struct inst db_inst_table[2 /*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"; Modified: stable/9/sys/i386/i386/support.s ============================================================================== --- stable/9/sys/i386/i386/support.s Thu Sep 4 00:40:41 2014 (r271071) +++ stable/9/sys/i386/i386/support.s Thu Sep 4 00:43:27 2014 (r271072) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409040043.s840hRAO070311>