tech@openbsd.org Ultimas vacantes Curso Intensivo REVIT "by Miller"

2009-08-17 Thread cursos nayc
  Curso Intensivo REVIT "by Miller"   Ultimas Vacantes 24 y 25 de Agosto   La oportunidad de capacitarse con Miller     Profesor:   Arq. Hector Miller: Es uno de los consultores de Autodesk mas prestigiosos de América. Titular Responsable de un Centro de Entreanmiento de Autodesk . 1995-1998 Auto

Re: atw testers required

2009-08-17 Thread Stuart Henderson
On 2009/08/17 15:08, Thomas Pfaff wrote: > On Mon, 17 Aug 2009 14:26:08 +0200 > Claudio Jeker wrote: > > > > > > Seems a bit overkill to mark personal preference with XXX magic, but > > > alright. I'll go with that explanation ;-) > > > > The magic is for the value 1 (it does not matter if writ

Re: atw testers required

2009-08-17 Thread Thomas Pfaff
On Mon, 17 Aug 2009 14:26:08 +0200 Claudio Jeker wrote: > > > > Seems a bit overkill to mark personal preference with XXX magic, but > > alright. I'll go with that explanation ;-) > > The magic is for the value 1 (it does not matter if written 1 or 0x1) it > seems that for some magic reason tha

Re: atw testers required

2009-08-17 Thread Claudio Jeker
On Mon, Aug 17, 2009 at 02:17:17PM +0200, Thomas Pfaff wrote: > [...] > > > However, my question was not why not use the macro but why > > > specify 0x1 rather than just 1. > > > > > > AFAIK there's no difference but the /* XXX magic 0x1 */ comment > > > seem to indicate otherwise and it got me cur

Re: atw testers required

2009-08-17 Thread Thomas Pfaff
[...] > > However, my question was not why not use the macro but why > > specify 0x1 rather than just 1. > > > > AFAIK there's no difference but the /* XXX magic 0x1 */ comment > > seem to indicate otherwise and it got me curious, though no big > > deal. > > There is no diffrence. However sometime

Re: atw testers required

2009-08-17 Thread Philipp Schafft
reflum, On Mon, 2009-08-17 at 13:57 +0200, Thomas Pfaff wrote: > On Mon, 17 Aug 2009 12:44:59 +0200 > Jonathan Gray wrote: > > > On Mon, Aug 17, 2009 at 12:09:17PM +0200, Thomas Pfaff wrote: > > > On Mon, 17 Aug 2009 01:00:23 +0200 > > > Jonathan Gray wrote: > > > > > > > /* XXX magic 0x

Re: atw testers required

2009-08-17 Thread Thomas Pfaff
On Mon, 17 Aug 2009 12:44:59 +0200 Jonathan Gray wrote: > On Mon, Aug 17, 2009 at 12:09:17PM +0200, Thomas Pfaff wrote: > > On Mon, 17 Aug 2009 01:00:23 +0200 > > Jonathan Gray wrote: > > > > > /* XXX magic 0x1 */ > > > - test1 |= LSHIFT(0x1, ATW_TEST1_DBGREAD_MASK) | ATW_TEST1_CONTROL; > > >

Re: atw testers required

2009-08-17 Thread Jonathan Gray
On Mon, Aug 17, 2009 at 12:09:17PM +0200, Thomas Pfaff wrote: > On Mon, 17 Aug 2009 01:00:23 +0200 > Jonathan Gray wrote: > > > /* XXX magic 0x1 */ > > - test1 |= LSHIFT(0x1, ATW_TEST1_DBGREAD_MASK) | ATW_TEST1_CONTROL; > > + test1 |= (0x1 << ATW_TEST1_DBGREAD_SHIFT) | ATW_TEST1_CONTROL; >

Re: atw testers required

2009-08-17 Thread Thomas Pfaff
On Mon, 17 Aug 2009 01:00:23 +0200 Jonathan Gray wrote: > /* XXX magic 0x1 */ > - test1 |= LSHIFT(0x1, ATW_TEST1_DBGREAD_MASK) | ATW_TEST1_CONTROL; > + test1 |= (0x1 << ATW_TEST1_DBGREAD_SHIFT) | ATW_TEST1_CONTROL; I'm curious, what is the difference between 1 << N and 0x1 << N ?