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, URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.4 Received: from txout-a3-smtp.messagingengine.com (txout-a3-smtp.messagingengine.com [103.168.172.226]) by inbox.vuxu.org (Postfix) with ESMTP id 9116835C74 for ; Sun, 14 Dec 2025 21:33:00 +0100 (CET) Received: from localhost.localdomain (phl-topicbox-02.internal [10.202.2.220]) by mailtxout.phl.internal (Postfix) with ESMTP id 2B5E71C0230 for ; Sun, 14 Dec 2025 15:32:59 -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=kJfA5/cQ 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=rminnich@gmail.com smtp.helo=mail-lj1-f174.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:to:content-type:list-help:list-id:list-post :list-subscribe:reply-to:subject:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1765744379; bh=5WzhOlJN+grbeCrF umjpsstzuDcDZ4Kin9K7Xw4BAIs=; b=XfiKCBQHATHA9Rpk7FN3QU6EmHzkg0zq dhlCb/bQnCJdUHwloVHVcMd7LaPjNnkpr4EcvZvHJqi38s9DdX35AsJ8WNtW8FsT 5Q7dOyrHsRrZvLxv/VevxSAFvH1AKEn+UPAwGfBBuAI9bI5Yg4Tkxam+ATVx69M/ rGflLSoypjc= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1765744379; b=rhHSwQzzr5JRMNC0lK+L2IHvD39ug2bGHb9IfwQmlGpuhFY5Ci GnhIVnqWtKxhIZhRGEufBI7ONx7jeC4myB+IWr1onPs1Nw0ulxDf1K68OdbXlyoK ViB3Wj8o2xQLr6hn54noV13Ap73KQqQCd5WjaxjKTU/EoaX3mZIUjkMJY= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=kJfA5/cQ 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=rminnich@gmail.com smtp.helo=mail-lj1-f174.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: authmilter.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=kJfA5/cQ 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.208.174 (mail-lj1-f174.google.com); spf=pass smtp.mailfrom=rminnich@gmail.com smtp.helo=mail-lj1-f174.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=luxE5yTc; x-me-sender=none; x-ptr=pass smtp.helo=mail-lj1-f174.google.com policy.ptr=mail-lj1-f174.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.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=-100 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:to :content-type:list-help:list-id:list-post:list-subscribe :reply-to:subject:content-transfer-encoding:list-unsubscribe; s= dkim-1; t=1765744379; x=1765830779; bh=PJp1rV3T8+Vekb3LyXhvoARqz glHrSzc5SZuNSI9qBE=; b=JovrZv0n7tU1+qSJbEixlsX+LVFiM8omyCZ2Zek0S gsXZkH7KHqrfZed1s4M1k3jJfIetrnLLssNuj9/yIds86peJ9vFDxzLHkUgqNqxH qpBPX/wZ1LROs0uoSLB623Xj5zlM/8ffWUV3ZrJRgAYGH2LRAj6kPPmrA1KA16b/ vg= Received: from authmilter.topicbox.com (unknown [172.17.0.1]) by mx.topicbox.com (Postfix) with ESMTP id 48E5035CC02A for <9fans@9fans.net>; Sun, 14 Dec 2025 14:05:11 -0500 (EST) Received: from mx.topicbox.com (172.17.0.1 [172.17.0.1]) by authmilter.topicbox.com (Authentication Milter) with ESMTP id 073C29C3EF4; Sun, 14 Dec 2025 14:05:11 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1765739111; b=DRNk235wer5VxoRyg9pZ6zGZ6r/N0fb8H44LzxmNuH9Pu+wHWR KTBCafKUmR06fKgQ+tvGpXelJNSRe1bdag+pZS3eYTR4kdDKDIP99X5xLTAMtWfl nrbvx/lPUhs9JxSMgfVbD5Hv4wA0f6vK/ewExYzhtayiGUBYV/1YTYtGusCRdz3L 2beA+DQsfPQnc/K4YNqxxENZHPsiku8H1gWFfpGNqgVsIpVGycCf1o5krJW4+8O/ 7sJNh82kDqAmZGBAMHtXo4h/wrqWsTRNfZRng6/Ol8R/u6CkWurOED+W5NVVWTVB RFUZ8wHvYRg3Jmd5xxmFKE/2jn2CURwa3L7Q== 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=1765739111; bh=oLjEuywFvtknCkfdLGlXQuRovJQimVkKdwjqEEfJ2j4=; b=eec0GWGs3xCf x12KCbOrb/2O8ALTtV/MlpNFtY6Y1cDsHCyNmAsxz7Vx3sLaa8OtVV1TUqXs3x3N RrW56eBMuJ2jmUHDDExsM6gCbHKo0i3LZqvyhBDzq/zbGc0LtFACVNfBbYVhAAgI vJqYld9ZNOKYGYxuyRa1FWO31+9jt6rATJQHp8gCD37+osoGyvz7qVu87pq3DgiZ aOGX5P99T8ztvwR1G3qUc/u4xSxqd9PPsKhB3iqQl8+qauAjB2GzyeDsex2hXqLC ok022urvz+4QHmYI1Qc1pcuC5AmSLI7RaSNcTy2mjzBJjE+KaliWvQwlshyHhq3C sp2Wg1JEog== ARC-Authentication-Results: i=1; authmilter.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=kJfA5/cQ 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.208.174 (mail-lj1-f174.google.com); spf=pass smtp.mailfrom=rminnich@gmail.com smtp.helo=mail-lj1-f174.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=luxE5yTc; x-me-sender=none; x-ptr=pass smtp.helo=mail-lj1-f174.google.com policy.ptr=mail-lj1-f174.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.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=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefgeejvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpeggfhgjhfffkffuvfgtsegrtderredttdejnecu hfhrohhmpehrohhnuchmihhnnhhitghhuceorhhmihhnnhhitghhsehgmhgrihhlrdgtoh hmqeenucggtffrrghtthgvrhhnpedtvefgudelieejheetiefggfdvjeegteffvdfgjeeu keeuleeuledvvedvjeelueenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppe dvtdelrdekhedrvddtkedrudejgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepihhnvghtpedvtdelrdekhedrvddtkedrudejgedphhgvlhhopehmrghilhdqlhhjud dqfhdujeegrdhgohhoghhlvgdrtghomhdpmhgrihhlfhhrohhmpeeorhhmihhnnhhitghh sehgmhgrihhlrdgtohhmqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeolehfrg hnsheslehfrghnshdrnhgvtheq X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'rminnich@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=authmilter.topicbox.com; identity=mailfrom; envelope-from="rminnich@gmail.com"; helo=mail-lj1-f174.google.com; client-ip=209.85.208.174 Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 mx.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Sun, 14 Dec 2025 14:05:11 -0500 (EST) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-37a33b06028so22779051fa.2 for <9fans@9fans.net>; Sun, 14 Dec 2025 11:05:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765739109; x=1766343909; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oLjEuywFvtknCkfdLGlXQuRovJQimVkKdwjqEEfJ2j4=; b=luxE5yTcZAMFpap+ymhAYAEW386yRnhm2RT8+Xb3bPqxLXFYaM6ci518SnbnqHrqgR zzqmvaaJdQxLrQcquoIOAjaHrrHm0Jn/qXUgd47MPiUMYAMou4fJrqvz2qe3yMkvTqoy YX76pM0+RKI5F1LNHMNKffE8GJZGzX21A+FVdjSgd7TF2DNEjEcdQPHfi6MfvWWVWYkV n+vsGWMHfrX/f0SnkKE3VkR6uhaZercbqEbrzVJpVGZA/eFrOmoqMNU0ErV+64u8RJOT h2/Hw+gp9YLc3vPUPkzf7iovT2rudEVsG5Ar8zdSO4vj+0oueEGNH4c3NJtnHDyxQ4gl ZyBQ== X-Gm-Message-State: AOJu0YzrfB9WhYPbZ6nTtFFdUWp6JzyDAxLMVc6HnntijQzlJuVHj8CV aN55p7cB2nd1r/NF2ChY15uIKeF48wVn+g6mTyaLH9uUSDlWe25yLsEVmJlNVlgLg8xRAZ2k2Me Ef4PLJpYC1a1IdSx8XyLP+8Hv0HpuDRj/Rg== X-Gm-Gg: AY/fxX4ANwonjtpxc9LLKjpr+afreWvZAUfAi/fZTHK/zN/r1ZfCC9hRKadV13Z3oun 8ptoEc0gRLzut4eNad52peTpf/s8d1QiCUGmxMR0+BgEJzSnkBO074j08bNGImb+rJAk2lsZ7lR nZOpi4t/dDyCN1ZxNSleQYRKgEV3QGrWP7mIHbFrRPvo1I05Y4muJtovnR269gdFa0eCX7SYgpm 2EnyCSGMJovfjQFQ2/MuMDqHp+XRPERkBdfN4OlYz6iSO8KVx6SHh9VPCHm8BMvhwhdxDLlG0Hm +LTHU/A= X-Google-Smtp-Source: AGHT+IEgDU4/H6BrxGvrPS5Jn025ZpJgvN3DwS1Islr+yCvvC7YJgJneMv3Di/KBMovdaf6DtJVYR+TDz+xP5HUo7kQ= X-Received: by 2002:a05:651c:1548:b0:37f:cb34:2144 with SMTP id 38308e7fff4ca-37fd0725bb0mr24031661fa.2.1765739108138; Sun, 14 Dec 2025 11:05:08 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ron minnich Date: Sun, 14 Dec 2025 11:04:56 -0800 X-Gm-Features: AQt7F2r5-qtFlN1scyovpPgomsdWe4zBXqsQi2Ol6dGTo5iP-vNkihQU1Hem83s Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=0000000000004e85110645ee2ce6 Topicbox-Policy-Reasoning: moderate: sender is a member; group holds all messages Topicbox-Message-UUID: d1310148-d91f-11f0-ad9d-93260fc0285f Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UOTFiOGE5Y2U5ODk0MjZlMS1NY2RkMjAzODk0OWNjYmIzYmUwYWIy?= =?UTF-8?B?MWQ2Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Re: risc-v port Content-Transfer-Encoding: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mcdd2038949ccbb3be0ab21d6:1:u4iIh30IH7kKoe4wdSnFKH_j1ZuTh1NOn2PqYCBMfmU --0000000000004e85110645ee2ce6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I forgot to mention this is a 9front portHold On Sun, Dec 14, 2025 at 08:49 ron minnich wrote: > you can follow along if you want with my attempt to get the risc-v port to > pid 1 in user mode. > > I'm doing this because I want a non-Linux OS on risc-v, for the > vmthreads work. This will help me understand risc-v virtualization better. > > https://github.com/rminnich/9front/commits/ron/ > > I'm making lots of mistakes, as you can no doubt tell, so, if you've ever > been intimidated by the idea of doing this kind of work, watching me > struggle may give you the confidence to try! Mistakes are a part of the > game. > > Thanks to everyone who got the port to the point that I can try to push it > further along. > > ron > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T91b8a9ce989426e1-Mcdd20= 38949ccbb3be0ab21d6 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --0000000000004e85110645ee2ce6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I forgot to mention this is a 9front portHold=


On Sun, Dec 14, 2025 at 08:49 ron minnich <rminnich@gmail.com> wrote:
you can follow along if you want with = my attempt to get the risc-v port to pid 1 in user mode.

I'm doing this because I want a non-Linux OS on risc-v, for the= vmthreads work. This will help me understand risc-v virtualization be= tter.


I'm making lots of mistak= es, as you can no doubt tell, so, if you've ever been intimidated by th= e idea of doing this kind of work, watching me struggle may give you the co= nfidence to try! Mistakes are a part of the game.

Thanks to everyone who got the port to the point that I can try to p= ush it further along.

ron=
= --0000000000004e85110645ee2ce6--