Date: Mon, 9 Apr 2018 13:01:43 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r332325 - stable/10/sys/i386/i386 Message-ID: <201804091301.w39D1heB019153@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Mon Apr 9 13:01:43 2018 New Revision: 332325 URL: https://svnweb.freebsd.org/changeset/base/332325 Log: MFC r331053: ANSIfy i386/vm86.c Modified: stable/10/sys/i386/i386/vm86.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/i386/i386/vm86.c ============================================================================== --- stable/10/sys/i386/i386/vm86.c Mon Apr 9 13:00:03 2018 (r332324) +++ stable/10/sys/i386/i386/vm86.c Mon Apr 9 13:01:43 2018 (r332325) @@ -128,8 +128,7 @@ POPL(struct vm86frame *vmf) } int -vm86_emulate(vmf) - struct vm86frame *vmf; +vm86_emulate(struct vm86frame *vmf) { struct vm86_kernel *vm86; caddr_t addr; @@ -586,10 +585,7 @@ vm86_intcall(int intnum, struct vm86frame *vmf) * caller's cs:ip routine. */ int -vm86_datacall(intnum, vmf, vmc) - int intnum; - struct vm86frame *vmf; - struct vm86context *vmc; +vm86_datacall(int intnum, struct vm86frame *vmf, struct vm86context *vmc) { pt_entry_t *pte = (pt_entry_t *)vm86paddr; vm_paddr_t page; @@ -634,11 +630,8 @@ vm86_getaddr(struct vm86context *vmc, u_short sel, u_s } int -vm86_getptr(vmc, kva, sel, off) - struct vm86context *vmc; - vm_offset_t kva; - u_short *sel; - u_short *off; +vm86_getptr(struct vm86context *vmc, vm_offset_t kva, u_short *sel, + u_short *off) { int i; @@ -653,9 +646,7 @@ vm86_getptr(vmc, kva, sel, off) } int -vm86_sysarch(td, args) - struct thread *td; - char *args; +vm86_sysarch(struct thread *td, char *args) { int error = 0; struct i386_vm86_args ua;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804091301.w39D1heB019153>