From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ig0-f174.google.com ([209.85.213.174]) by ur; Sun Aug 23 19:51:02 EDT 2015 Received: by igfj19 with SMTP id j19so45314692igf.1 for <9front@9front.org>; Sun, 23 Aug 2015 16:50:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version :content-transfer-encoding:subject:message-id:in-reply-to:references :user-agent:date:from:to; bh=dpJBusXWZvUApc4+zsRFGQ8RP6D06yAkqhgkkpN2M3c=; b=DifT5TOfKE2JrPs4y1PZ0m/TMYg4OaC4kbiBfKFQaQBNuYAShkR1c1s/uAqjohphgL W26/32xSQADFwmoCLXgzRoopEc6oGw4lG36NRLExbGAh0pHmC2C8DeODcRIKZVw2kxDV B6fantPrzYejMCtVhXYrhgXCY3CPy82OdURnOgGs/SS1+zAKf8zP27yUeja4aTwwGWrs pz4zQVSH8T18/8tMHrTKEdFu+zkFhluTI0Pev2Ag2Xvf+hGKTNpB28WpZyFr1Nc3dw94 0NKFVfXPR7NLuzoVXlln9IRWzuNyHf5xeZvbU2a9KW0+8250jJ3tBgMIX1ic+IHW605P XDQQ== X-Gm-Message-State: ALoCoQndcGgdsroHa2C8wDwk8f7e5DRL4QyzHKp7cU7O0FS0uPQh528cZDMTXqTlHGP6gXZTDPUl X-Received: by 10.50.30.226 with SMTP id v2mr13343172igh.11.1440373856254; Sun, 23 Aug 2015 16:50:56 -0700 (PDT) Return-Path: Received: from delta ([172.56.9.65]) by smtp.gmail.com with ESMTPSA id f83sm11971573iod.19.2015.08.23.16.50.54 for <9front@9front.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Aug 2015 16:50:55 -0700 (PDT) Received: from localhost (delta [local]) by delta (OpenSMTPD) with ESMTPA id 68fa1361 for <9front@9front.org>; Sun, 23 Aug 2015 23:50:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 2 of 8] libc: define default IOUNIT as 48K X-Mercurial-Node: 29a454214255b17dd1a1f1c14d5b63100d1bf3bb X-Mercurial-Series-Index: 2 X-Mercurial-Series-Total: 8 Message-Id: <29a454214255b17dd1a1.1440373752@delta> List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: proven hardware NoSQL framework X-Mercurial-Series-Id: <72294b856560ea15445f.1440373751@delta> In-Reply-To: References: User-Agent: Mercurial-patchbomb/3.3.2 Date: Sun, 23 Aug 2015 16:49:12 -0700 From: mischief To: 9front@9front.org # HG changeset patch # User mischief # Date 1440366687 25200 # Sun Aug 23 14:51:27 2015 -0700 # Node ID 29a454214255b17dd1a1f1c14d5b63100d1bf3bb # Parent 72294b856560ea15445ffb0455e1d26084f1bfd0 libc: define default IOUNIT as 48K diff -r 72294b856560 -r 29a454214255 sys/include/libc.h --- a/sys/include/libc.h Sun Aug 23 14:51:27 2015 -0700 +++ b/sys/include/libc.h Sun Aug 23 14:51:27 2015 -0700 @@ -521,6 +521,7 @@ #define STATMAX 65535U /* max length of machine-independent stat structure */ #define DIRMAX (sizeof(Dir)+STATMAX) /* max length of Dir structure */ #define ERRMAX 128 /* max length of error string */ +#define IOUNIT 49152 /* 9p iounit */ #define MORDER 0x0003 /* mask for bits defining order of mounting */ #define MREPL 0x0000 /* mount replaces object */