From owner-freebsd-drivers@FreeBSD.ORG Mon Dec 5 19:53:07 2011 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5380A106566C for ; Mon, 5 Dec 2011 19:53:07 +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 19A968FC16 for ; Mon, 5 Dec 2011 19:53:06 +0000 (UTC) Received: by yenm2 with SMTP id m2so2822422yen.13 for ; Mon, 05 Dec 2011 11:53:06 -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=gFccSYJFayeTC7vc2VJL022JOIHxZflsdz11C2C863M=; b=HX/LwqtlrzV1FevIbUfnRSjCrBlCc/z9vKZgI9oHYQZsaWym2a2qyI9qfaOyfhIg9/ X20s4EisxgE72+AVkwonDhQ9RF0VheU3iZG68ZHYnEuth5ABviPipqXsS6mdq2B5ulRn jCa8o5ZP9VJSvNA3DyZl4ivSyCC+CXZTZNerQ= MIME-Version: 1.0 Received: by 10.236.153.226 with SMTP id f62mr14304066yhk.62.1323113430992; Mon, 05 Dec 2011 11:30:30 -0800 (PST) Received: by 10.147.125.10 with HTTP; Mon, 5 Dec 2011 11:30:30 -0800 (PST) Date: Mon, 5 Dec 2011 11:30:30 -0800 Message-ID: From: some body To: freebsd-drivers@freebsd.org 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-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 19:53:07 -0000 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