Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2018 01:06:09 +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-11@freebsd.org
Subject:   svn commit: r332314 - stable/11/sys/i386/i386
Message-ID:  <201804090106.w391692u060603@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Apr  9 01:06:09 2018
New Revision: 332314
URL: https://svnweb.freebsd.org/changeset/base/332314

Log:
  MFC r331053: ANSIfy i386/vm86.c

Modified:
  stable/11/sys/i386/i386/vm86.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/i386/i386/vm86.c
==============================================================================
--- stable/11/sys/i386/i386/vm86.c	Mon Apr  9 01:02:32 2018	(r332313)
+++ stable/11/sys/i386/i386/vm86.c	Mon Apr  9 01:06:09 2018	(r332314)
@@ -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?201804090106.w391692u060603>