svn commit: r247185 - user/dchagin/lemul/sys/sys

Dmitry Chagin dchagin at FreeBSD.org
Sat Feb 23 09:14:29 UTC 2013


Author: dchagin
Date: Sat Feb 23 09:14:28 2013
New Revision: 247185
URL: http://svnweb.freebsd.org/changeset/base/247185

Log:
      In preparation for switching linuxulator to the use the native 1:1 threads
      add per thread emulator state data.

Modified:
  user/dchagin/lemul/sys/sys/proc.h

Modified: user/dchagin/lemul/sys/sys/proc.h
==============================================================================
--- user/dchagin/lemul/sys/sys/proc.h	Sat Feb 23 09:12:28 2013	(r247184)
+++ user/dchagin/lemul/sys/sys/proc.h	Sat Feb 23 09:14:28 2013	(r247185)
@@ -317,6 +317,7 @@ struct thread {
 	struct proc	*td_rfppwait_p;	/* (k) The vforked child */
 	struct vm_page	**td_ma;	/* (k) uio pages held */
 	int		td_ma_cnt;	/* (k) size of *td_ma */
+	void		*td_emuldata;	/* Emulator state data */
 };
 
 struct mtx *thread_lock_block(struct thread *);


More information about the svn-src-user mailing list