Date: Wed, 05 May 1999 18:50:02 -0700 From: Mike Smith <mike@smith.net.au> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: What is define(...)dnl in a .m4 file Message-ID: <199905060150.SAA03960@dingo.cdrom.com> In-Reply-To: Your message of "Wed, 05 May 1999 21:36:38 EDT." <Pine.GSO.3.96.990505213113.11828C-100000@sol.cs.binghamton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
A .m4 file is input for the m4 macro preprocessor. See the m4 manpage. > I find in the file boot1.m4 under /usr/src/sys/boot the following line: > > define(_bp_,0x6)dnl > define(_bx_,0x7)dnl > define(o16,`.byte 0x66')dnl > define(addbr1,`.byte 0x0; .byte 0x40 | ($1 << 0x3) | $3; .byte $2')dnl > > I assume boot1.m4 is an assembly file but I can not find any information > on define(...)dnl in the GNU Assembler manual (info files). > > Please tell me how a .m4 file is used and what does "define" mean exactly. > > Thanks for your help. > > -------------------------------------------------- > Zhihui Zhang. Please visit http://www.freebsd.org > -------------------------------------------------- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905060150.SAA03960>