From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from txout-a1-smtp.messagingengine.com (txout-a1-smtp.messagingengine.com [103.168.172.224]) by inbox.vuxu.org (Postfix) with ESMTP id C9E9121540 for ; Tue, 28 Jan 2025 16:49:46 +0100 (CET) Received: from localhost.localdomain (kubehost03.phl.internal [10.202.3.3]) by mailtxout.phl.internal (Postfix) with ESMTP id 0294B23801D0 for ; Tue, 28 Jan 2025 10:49:46 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=hsrhHeXI header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=paul.a.lalonde@gmail.com smtp.helo=mail-pj1-f46.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type:list-help:list-id:list-post :list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1738079385; bh=g6XMVUf8UOgSDncp 2972cTjH5ItR2sSMrpTc0qLsZlg=; b=TV8KqL9XJwKmeXWN4MxmvQXIY367KJCm 9uPJv8eOj2+e+v0gWNbwio82hvg/92ZOWyOhZp7Dd1XZNofc8m5GJQ9JQ1i2hwGO byDFSMvduFF38ou29e9zi6lRqt0LITjh0BBxbluGAAxQXqyhw56uF7UZYTMS60bw 2wbmp4ag0oA= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1738079385; b=ZgmNW0rpwBSoHvZDpFhLPERiIpoV8Rl2ZFHXbq9aHcOPQoiUmC A3j8dVEFhPqE7uLCM8UrWb0POjP6SFRr6JYPhHw5AzQmRrdqeq3ZtTwOWjUby83z y8PmtWDFBWERTAoIwEsrN99+EcVSepn657q8Mjw7TBrsfagqJUsVSPs0Y= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=hsrhHeXI header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=paul.a.lalonde@gmail.com smtp.helo=mail-pj1-f46.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: mx.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=hsrhHeXI header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.216.46 (mail-pj1-f46.google.com); spf=pass smtp.mailfrom=paul.a.lalonde@gmail.com smtp.helo=mail-pj1-f46.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=WzNaKIBv; x-me-sender=none; x-ptr=pass smtp.helo=mail-pj1-f46.google.com policy.ptr=mail-pj1-f46.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.3 smtp.cipher=TLS_AES_128_GCM_SHA256 smtp.bits=128/128; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; t=1738079385; x=1738165785; bh=FutsRGhA0LUkZ6WuBDIYsKI/9Ka5CCoG QnkInYFNw2g=; b=RPn+nwsqYa0QitNg/P24eSJ4MguZjT/ELKDEPfm/QoZvy5Qd UUj8eR1Y0pJSNLOtjEevkeiMT2FKWkVEeSd8vf4gkc+CKC8mzgmmVSPBKcPpyCmb clMSHfsvSv/bdaW5Pk5Env6FzuffZgHtoWdogF7dtnXLJLUFLBkAHzSfyho= Received: from mx.topicbox.com (10-0-2-160.authmilter.topicbox.svc.cluster.local [10.0.2.160]) by tb-mx-2.topicbox.com (Postfix) with ESMTP id 017091003C4212AA for <9fans@9fans.net>; Tue, 28 Jan 2025 10:45:15 -0500 (EST) Received: from tb-mx-2.topicbox.com (10.0.2.118 [10.0.2.118]) by mx.topicbox.com (Authentication Milter) with ESMTP id 1F299F3E6B8; Tue, 28 Jan 2025 10:45:14 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1738079114; b=Bsfvcc99Q+gi86+T6R8g3a26SZoUE/A4U4ecKOQqurvyiSHLzj asCM6Ulj3Bgpb4ahBHIVpeKvrc9wx8MG1Kx/lZf+fYsex1Gzz1IzWYtBxgi+CdcD 8Zl7O+6f3s+Xt/RoTQOgsqWv4i8fKyCXRJIpz8f/cnJkWyIWoX5l9ErSmcRLbfQ0 3msErMnQqGfotGgQWZwB+XcnEcsPpM+E3iLQhmRssxzfDvtWbAoaSyePfeUmJnC2 g6/95nt/93iYeSjAJdW3zbtVVpNc/kxFSOLJLjup6lOWsH9jSuSvgrM8DIJPUYew a9vrKtRlfZoPVAbjnCb9aLYA+DemaCTkYcuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=arcseal; t=1738079114; bh=DYSxprW235vVXxwRkuz4juVmE0BfllrQk3XmTwVfvfU=; b=TqV0hn4QxN/B 1jobjdv2loc+uuZNZtpEpXc62/Z6Vx7X1E0Le5GuW+xK18pDk7hNIQZ/VVeX8dJe yMGjG7Nhuyun0GaVjKub5Kq/Y5E6MAFTTyJDwWncx+sbLWLGXPDe8jRaflg71nSF ZKSdvi6WJhE5ygQygcfAkSNeDq0/C8SFeu5w9yEpD+E8mVY8k+OyuXmppqgGOXn+ S/D5nbphaDcm3Zwy71E0L8dTbdeQSuteW9WnP79fAS4KyS3liWxord1dCwYSl94d otr7GO31HxJqWqOJnA3PXB2oCdytyHIbP1+Tqpwv16a7OCdIWQM4DfkSmOpdOUPG Pa2Smr0Osg== ARC-Authentication-Results: i=1; mx.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=hsrhHeXI header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.216.46 (mail-pj1-f46.google.com); spf=pass smtp.mailfrom=paul.a.lalonde@gmail.com smtp.helo=mail-pj1-f46.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=WzNaKIBv; x-me-sender=none; x-ptr=pass smtp.helo=mail-pj1-f46.google.com policy.ptr=mail-pj1-f46.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.3 smtp.cipher=TLS_AES_128_GCM_SHA256 smtp.bits=128/128; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdegkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepgghfjgfhff fkuffvtgesrgdtreertddtjeenucfhrhhomheprfgruhhlucfnrghlohhnuggvuceophgr uhhlrdgrrdhlrghlohhnuggvsehgmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpe ekfedtudethfduffetleetveehveefteefvedtgeehhfetleefffekleefleetjeenucff ohhmrghinhepkhgvrhhgihhsrdgtohhmpdhtohhpihgtsghogidrtghomhenucfkphepvd dtledrkeehrddvudeirdegieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep ihhnvghtpedvtdelrdekhedrvdduiedrgeeipdhhvghlohepmhgrihhlqdhpjhduqdhfge eirdhgohhoghhlvgdrtghomhdpmhgrihhlfhhrohhmpeeophgruhhlrdgrrdhlrghlohhn uggvsehgmhgrihhlrdgtohhmqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeole hfrghnsheslehfrghnshdrnhgvtheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'paul.a.lalonde@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=mx.topicbox.com; identity=mailfrom; envelope-from="paul.a.lalonde@gmail.com"; helo=mail-pj1-f46.google.com; client-ip=209.85.216.46 Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by tb-mx-2.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Tue, 28 Jan 2025 10:45:14 -0500 (EST) Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-2ee534d6800so1355580a91.2 for <9fans@9fans.net>; Tue, 28 Jan 2025 07:45:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738079113; x=1738683913; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DYSxprW235vVXxwRkuz4juVmE0BfllrQk3XmTwVfvfU=; b=WzNaKIBv8fMeqXo/046MwCN38Xd8LCzzyMVZ6/9g+C3u+9c/R3+3BuDoS6uFdBJiTO fQCKQjP2fBZ03ZtTH/nfG7DVYKb3UUj9f0yVdEdeS8jnWdpN9e66ETi/svOVhKjoYOnJ RLiigy4E1h18MeYAlR9jQdOfwBWL/u4JGQyplqByn+61F8eh3uwNAAcyP52e6JYhtBZf sX1unnYT8qW/FBXOFnNY14Z1/DNsystS58wgBQsRnneUs12AsumZ23QRSUcMX65fv5/y B1ycLuWPoGpYOhfd5tdh0IBW3fW3RshKkYP9743lTRcptFG+yC1lrrWqPn2TTmV1Ud27 8Vzw== X-Gm-Message-State: AOJu0YwRF6LYdeR+fy9re+43KPjkGoe2CZJEgbDDT81VpSBcE2xojNDP SOMDHNGoP6uDXZ8ZjF5kvXDvp3wCLWwxTZEY694ONQkLEse6IjCFR/grBXJJNb8TYMQdCDUOEj0 jHGIsdeP9UIkOw3SzG8K4YJaLt3kdl2rINIM= X-Gm-Gg: ASbGncv7y8SLygAi8M4UcPGnKQhogHrpEUXp9e9Dbb3zjpU44oErlJ0P400t7im6GwH Rtv4p0HwzgyX6IIv52JX2c8AMTFb6E32eRE1oSgIxNMT+BOYdiic1Q9f1Q1tIif6h3A4p55iTFV efOSmEIKqZaUvB1YyaPkS5PGdi72+duA== X-Google-Smtp-Source: AGHT+IFIrgv+QfatRddCmBSZygO9EwPHCvNDghoylqdpsf0xbSv3tIg7FIhPGOouhV4NLCSYPPtkOF4ldxYKZ8j9ILI= X-Received: by 2002:a05:6a21:3284:b0:1e1:ac28:eab0 with SMTP id adf61e73a8af0-1eb21653e7dmr25909626637.7.1738079112968; Tue, 28 Jan 2025 07:45:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Paul Lalonde Date: Tue, 28 Jan 2025 07:45:02 -0800 X-Gm-Features: AWEUYZluLNIR8xd2fa0C7ehJpL7VOG97AH4R2-gbI8SBrTly00vL5afcXzId_kI Message-ID: Subject: Re: [9fans] Nix/regen: multiboot flags To: 9fans <9fans@9fans.net> Content-Type: multipart/alternative; boundary=0000000000001ec147062cc6144f Topicbox-Policy-Reasoning: moderate: sender is a member; group holds all messages Topicbox-Message-UUID: df48b5ba-dd8e-11ef-aaf1-19fd898f59ee Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNTc0MzFjYzY5MzBmOGI3MC1NZjM0NTcyYzA1ZjE5MjA3YWU0Y2Nj?= =?UTF-8?B?MjEwPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mf34572c05f19207ae4ccc210:1:80h5eio_Wl_y4eTGdBlmV9yvXW4qEq4vGAsp5pS-YFE --0000000000001ec147062cc6144f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The multiboot specification says: If bit 16 in the =E2=80=98flags=E2=80=99 = word is set, then the fields at offsets 12-28 in the Multiboot header are valid, and the boot loader should use them instead of the fields in the actual executable header to calculate where to load the OS image. I believe they are valid in this case. These include the load address for the kernel and the bit depth of the display, found at l32p.s:37,44 Paul On Tue, Jan 28, 2025 at 6:09=E2=80=AFAM wrote: > In l32p.s, the multiboot flags in the the mbi are set as >=20 > $0x00010007 >=20 > but I don't find flags definitions relative to the higher word, > neither in the multiboot v1 spec, nor in the enum in multiboot.c. They > are all limited to the two lowest bytes. >=20 > What is the purpose of the: >=20 > $0x00010007 > ^ >=20 > Typo? > -- > Thierry Laronde > http://www.kergis.com/ > http://kertex.kergis.com/ > Key fingerprint =3D 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T57431cc6930f8b70-Mf3457= 2c05f19207ae4ccc210 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --0000000000001ec147062cc6144f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The multiboot specification says: If bit = 16 in the ‘flags’ word is set, then the fields at offsets 12-28= in the Multiboot header are valid, and the boot loader should use them ins= tead of the fields in the actual executable header to calculate where to lo= ad the OS image.

I believe they are valid in this case= .  These include the load address for the kernel and the bit dept= h of the display, found at l32p.s:37,44

Pau= l

On Tue, Jan 28, 2025 at 6:09 AM <<= a href=3D"mailto:tlaronde@kergis.com">tlaronde@kergis.com> wrote:
In l32p.s, the m= ultiboot flags in the the mbi are set as

$0x00010007

but I don't find flags definitions relative to the higher word,
neither in the multiboot v1 spec, nor in the enum in multiboot.c. They
are all limited to the two lowest bytes.

What is the purpose of the:

$0x00010007
      ^

Typo?
--
        Thierry Laronde <tlaronde +AT+ kergis +dot+ = com>
                     = ;ht= tp://www.kergis.com/
                    http:= //kertex.kergis.com/
Key fingerprint =3D 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C=

------------------------------------------
9fans: 9fans
Permalink: https:= //9fans.topicbox.com/groups/9fans/T57431cc6930f8b70-Mc6b0c52798668062c3ef3a= 01
Delivery options: https://9fans.topicbox.com/gro= ups/9fans/subscription
= --0000000000001ec147062cc6144f--