From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 5 21:23:48 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 498301065670 for ; Mon, 5 Dec 2011 21:23:48 +0000 (UTC) (envelope-from bsd.mharv@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0F3F88FC0A for ; Mon, 5 Dec 2011 21:23:47 +0000 (UTC) Received: by yenm2 with SMTP id m2so2921920yen.13 for ; Mon, 05 Dec 2011 13:23:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=TyOS5D/UR151IFFn3aRrc1YLeTJG23P+3S154SC9xQA=; b=lDLMyMTALZZ/rVKuoKiYoAq8l896PxzLOqQVIpxj46/cSVPy5Lvg0ajec0uGhjeT1N 7+I7vc6NnJ4jI6jc7yN3bHlUz+dTU9AeAwAKLDfgoBxm7dgSO6Y54dELTZBEdaNVBU94 C3c1CaDtgGei6147JdIgiIo8cJZ9rW6ZVQyuU= MIME-Version: 1.0 Received: by 10.236.85.174 with SMTP id u34mr14576629yhe.28.1323118455626; Mon, 05 Dec 2011 12:54:15 -0800 (PST) Received: by 10.147.125.10 with HTTP; Mon, 5 Dec 2011 12:54:15 -0800 (PST) Date: Mon, 5 Dec 2011 12:54:15 -0800 Message-ID: From: some body To: freebsd-hackers@freebsd.org X-Mailman-Approved-At: Mon, 05 Dec 2011 22:55:28 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: boot0.S empty #ifdef X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 21:23:48 -0000 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