freebsd-nq/sys/amd64/linux32
Jung-uk Kim e6c006d96a Improve PCB flags handling and make it more robust. Add two new functions
for manipulating pcb_flags.  These inline functions are very similar to
atomic_set_char(9) and atomic_clear_char(9) but without unnecessary LOCK
prefix for SMP.  Add comments about the rationale[1].  Use these functions
wherever possible.  Although there are some places where it is not strictly
necessary (e.g., a PCB is copied to create a new PCB), it is done across
the board for sake of consistency.  Turn pcb_full_iret into a PCB flag as
it is safe now.  Move rarely used fields before pcb_flags and reduce size
of pcb_flags to one byte.  Fix some style(9) nits in pcb.h while I am in
the neighborhood.

Reviewed by:	kib
Submitted by:	kib[1]
MFC after:	2 months
2010-12-22 00:18:42 +00:00
..
linux32_dummy.c
linux32_genassym.c
linux32_ipc64.h
linux32_locore.s Save and restore segment registers on amd64 when entering and leaving 2009-04-01 13:09:26 +00:00
linux32_machdep.c Improve PCB flags handling and make it more robust. Add two new functions 2010-12-22 00:18:42 +00:00
linux32_proto.h Regen. 2010-10-08 07:19:05 +00:00
linux32_support.s
linux32_syscall.h Regen. 2010-10-08 07:19:05 +00:00
linux32_sysent.c Regen. 2010-10-08 07:19:05 +00:00
linux32_sysvec.c Improve PCB flags handling and make it more robust. Add two new functions 2010-12-22 00:18:42 +00:00
linux.h Rename st_*timespec fields to st_*tim for POSIX 2008 compliance. 2010-03-28 13:13:22 +00:00
Makefile
syscalls.conf
syscalls.master Fix typo. 2010-10-08 07:18:44 +00:00