Re: boot0.S empty #ifdef

2011-12-06 Thread Gary Jennejohn
On Mon, 5 Dec 2011 12:54:15 -0800
some body bsd.mh...@gmail.com wrote:

 I sent this to freebsd-drives too but I think that might not be the right
 list for it so here it is: I am starting to learn how the kernel works and
 have started by going through the boot loader and I've noticed that between
 lines 21-32 in boot0.S there are some empty #ifdef statements. I was
 wondering a) where are these paramaters defined and if they are defined,
 what difference does it make since it looks like it doesn't change anything
 since they're empty?
 
 
 #ifdef SIO
 #endif
 
 #ifdef CHECK_DRIVE
 #endif
 
 #ifdef ONLY_F_KEYS
 #endif


These seem to be there to act as reminders for command line options which
can be used to build boot0.  They're also documented in Makefile.

These are actually used later in the code.

-- 
Gary Jennejohn
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


boot0.S empty #ifdef

2011-12-05 Thread some body
I sent this to freebsd-drives too but I think that might not be the right
list for it so here it is: I am starting to learn how the kernel works and
have started by going through the boot loader and I've noticed that between
lines 21-32 in boot0.S there are some empty #ifdef statements. I was
wondering a) where are these paramaters defined and if they are defined,
what difference does it make since it looks like it doesn't change anything
since they're empty?


#ifdef SIO
#endif

#ifdef CHECK_DRIVE
#endif

#ifdef ONLY_F_KEYS
#endif
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org