Re: MONITOR/MWAIT question

2010-12-18 Thread Joerg Sonnenberger
On Sat, Dec 18, 2010 at 02:24:34PM -0800, Matthew Dillon wrote: > Does anyone know if an IRET cancels/triggers a MONITOR event? AMD's Architecture Programmer's Manual explicitly contains: Events that cause an exit from the monitor event pending state include: ... - Any far control transfer th

MONITOR/MWAIT question

2010-12-18 Thread Matthew Dillon
Does anyone know if an IRET cancels/triggers a MONITOR event? Here's the problem: (1) main line kernel code is executing a MONITOR/MWAIT sequence. It executes its MONITOR but has not yet gotten to the MWAIT. (2) An interrupt occurs inbetween the MONITOR and the MWAIT.

Re: question about CFLAGS, CXXFLAGS and DEBUG_FLAGS

2010-12-18 Thread Alexander Best
On Sat Dec 18 10, Peter Pentchev wrote: > On Sat, Dec 18, 2010 at 08:09:37PM +, Alexander Best wrote: > > hi there, > > > > i just stumbled over these lines: > > > > otaku% grep -n \${DEBUG_FLAGS} /usr/share/mk/bsd.prog.mk > > 24:CFLAGS+=${DEBUG_FLAGS} > > 25:CXXFLAGS+=${DEBUG_FLAGS} > > > >

Re: question about CFLAGS, CXXFLAGS and DEBUG_FLAGS

2010-12-18 Thread Peter Pentchev
On Sat, Dec 18, 2010 at 08:09:37PM +, Alexander Best wrote: > hi there, > > i just stumbled over these lines: > > otaku% grep -n \${DEBUG_FLAGS} /usr/share/mk/bsd.prog.mk > 24:CFLAGS+=${DEBUG_FLAGS} > 25:CXXFLAGS+=${DEBUG_FLAGS} > > is it really necessary to assign the debug flags to both CF

question about CFLAGS, CXXFLAGS and DEBUG_FLAGS

2010-12-18 Thread Alexander Best
hi there, i just stumbled over these lines: otaku% grep -n \${DEBUG_FLAGS} /usr/share/mk/bsd.prog.mk 24:CFLAGS+=${DEBUG_FLAGS} 25:CXXFLAGS+=${DEBUG_FLAGS} is it really necessary to assign the debug flags to both CFLAGS *and* CXXFLAGS? cheers. alex -- a13x _