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,URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.4 Received: from txout-a4-smtp.messagingengine.com (txout-a4-smtp.messagingengine.com [103.168.172.227]) by inbox.vuxu.org (Postfix) with ESMTP id 8E0B124D80 for ; Sun, 14 Dec 2025 18:26:15 +0100 (CET) Received: from localhost.localdomain (phl-topicbox-02.internal [10.202.2.220]) by mailtxout.phl.internal (Postfix) with ESMTP id 198441C010B for ; Sun, 14 Dec 2025 12:26:14 -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=O1z4NUS/ 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-f179.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: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=1765733174; bh=ZZeEMY32zeCJq+JiTXqUftl6y2nw7LrVqinyo sMCVtM=; b=DGdI0lTgCFBeVpwzLHbDaFzPoAAr1StN1/9rn90xaqFd+OR0oXezM y+MMng/6yC6mfBNbLb7CpyqUw89cKkcU/DfEmXpRI8njuiMlWn8NEDr7LwXgJI5z OZM3k26u5SHbKLnO7oewo6PqcqpvzppMyCm3ZVR+cbJbYZ6NpBdRks= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1765733174; b=Jj6nRNoQvN2CwkYexFaZnEmiy8kIOXdGjHrynVELhk39WsPhjX E2wCVqHKKCvhrmwtulkCVUd2rCveStaTOX+NV5VrJdC4n3z0X0yzMbee0KOtCmwQ C9wXmo0gqEJ/4yNhiYbZ0fbw4wObPIXTZ4YEKKZnC/c79gwdi0qNIMVvo= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=O1z4NUS/ 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-f179.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=O1z4NUS/ 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.179 (mail-lj1-f179.google.com); spf=pass smtp.mailfrom=rminnich@gmail.com smtp.helo=mail-lj1-f179.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=WCvAZ4ty; x-me-sender=none; x-ptr=pass smtp.helo=mail-lj1-f179.google.com policy.ptr=mail-lj1-f179.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,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,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.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: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= 1765733174; x=1765819574; bh=j3zAL/zS1XrIhacJG/CjAHnJhGjpvE5OiJ5 FtbjdFBs=; b=n/w+orafnvrO3P3u+bGO63uuUTkTaNduXz2IeeeWCBx7Z9+aqqv +SImFPi9x5dAG29KYikSPLJ3yw/C8eBeTKedpuIaQ6evjPC4J+hP0rxwT1LuHlEL c5kpzgRNYvvJR5AoMxkgiU4SFoVoLNnlI72Q+B5KeQnY7pP/lN9fAMsg= Received: from authmilter.topicbox.com (unknown [172.17.0.1]) by mx.topicbox.com (Postfix) with ESMTP id 5624235CC002 for <9fans@9fans.net>; Sun, 14 Dec 2025 11:49:27 -0500 (EST) Received: from mx.topicbox.com (172.17.0.1 [172.17.0.1]) by authmilter.topicbox.com (Authentication Milter) with ESMTP id 0CCA83DECD8; Sun, 14 Dec 2025 11:49:27 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1765730967; b=v3iG8F0ivNl5D9fPL95I7GmRs/3fg2g2KEAGF2+OTQ4Bi2ZABj xK2S/KcHydvcTpQo9g6J+ZhdJvF7Eqd0LJZcpUbUMkPtBIP5G/zSMlwXQ1DDBYrJ VqqwBDh6AgNvrWjnbXyelxhqVkTDmZ3JsUa7ulEALn6cubH0l7GUjMJWukJR+U+A +Am+LS1MUQD+4ZDJqyy2M4R8/AJHnYRfIoPadTpP+8bRPRo2gZb6yDhpg763CiHN z2a70QHhaJg9wJgLFSjad7fCo1Fo2l3xBC960UiGd3EyhwExcMp8arJZMOzJUtWr 34LcGJq0R+lBtw0JVlznIQOgeE5ZrsrBfrfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:from:date:message-id:subject:to :content-type; s=arcseal; t=1765730967; bh=5iQhN02JWbq2RVqFWkdjR Etlhehanh2jbaxnaux2tSg=; b=NUK9s9afBoBNiyMhT6rVM+K+YIZNRCXPzpJVs VWvLucoNO3gSxKrdemSZm4/3NFFw34fix5IdLWHa3L9uVBdRNHGwL8FGq+zwuH+g TCoQVF+BIwX0hUBp4NoH14e04i7f4L41c9FWL8nUL3FJ+US10W67TaNfLRrujqtc aPUx8wbvPwf1rZH79VlkHu3OgCgez8zSOW73BcGxpwTdBU/f+pNIK1OioBgbXquI QcFib0CGK24BFVDy0bqDhDho5UHLf/fqFiP70BMMFT+4UjNsD3jiUGhwO8yoRFO1 J+CeN497C9vFpZQRHYsfTKvwtFkShsbcxExY6cknkYo7L9pEA== 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=O1z4NUS/ 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.179 (mail-lj1-f179.google.com); spf=pass smtp.mailfrom=rminnich@gmail.com smtp.helo=mail-lj1-f179.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=WCvAZ4ty; x-me-sender=none; x-ptr=pass smtp.helo=mail-lj1-f179.google.com policy.ptr=mail-lj1-f179.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,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,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.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: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefgeeghecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpegghfffkffuvfgtsegrtderredttdejnecuhfhr ohhmpehrohhnuchmihhnnhhitghhuceorhhmihhnnhhitghhsehgmhgrihhlrdgtohhmqe enucggtffrrghtthgvrhhnpefghfegvdetfeeuteejhedutdfgieetveeluedttdehueef veffffdtgeevhffhjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppedvtd elrdekhedrvddtkedrudejleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep ihhnvghtpedvtdelrdekhedrvddtkedrudejledphhgvlhhopehmrghilhdqlhhjuddqfh dujeelrdhgohhoghhlvgdrtghomhdpmhgrihhlfhhrohhmpeeorhhmihhnnhhitghhsehg mhgrihhlrdgtohhmqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeolehfrghnsh eslehfrghnshdrnhgvtheq 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-f179.google.com; client-ip=209.85.208.179 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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 11:49:27 -0500 (EST) Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-37e6dd536b0so24549561fa.2 for <9fans@9fans.net>; Sun, 14 Dec 2025 08:49:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765730965; x=1766335765; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5iQhN02JWbq2RVqFWkdjREtlhehanh2jbaxnaux2tSg=; b=WCvAZ4tyZpdhI0eWKRXx4D3WQHEI2VhiRcfgO+oUHYjNBtoih0kasJiciUtYthG4+a fOjbwun/1JRx0P8x3BJZNe76c99FUy/gFwTiv2A7l1RpC7aLl7xjp7Mq4g02Q8Haz5WI FVthHs/PiJ2rpPy8t4LHs42irhle0AufzWHKa5myjA1l4nYxy3PSpAQvLIds1dO06We6 UCwj79osp7XepuL+2LbafpFxQLodiRSoO0bRdHWHD1fUoMV1fCtcIsqj8dEjj6U/z/5n 6Wl2nsZUvKwtSaWMj8KhQIwa+63HpppoWh6zO6LkE+L1HMESFFGhfkSJuzWLMbIoTZ7M Tdrw== X-Gm-Message-State: AOJu0Yy5Gnq8kq85BQF4Ak3DK1Um1/rS4W+kGIACSUvsMNnURRfti+kw n/qrcRd6CluLnhkVTdVMu14N7ROiY6AEZo7DbeG6V+d+ewAKYvThRecKT40YlJtri4vQ2T+U1Hh KxjNEp8sDcIGPCt7b2ZWNxNApfMp/0GSchG4K X-Gm-Gg: AY/fxX5z2TE9cT8JT7fRC7HQEHUszqDdm2h231jiD1zmSKYI8ayK2d6YHeV8+ibdYOM pOReeTDfV4ySYCVGSaHr2iiY0UIzICAYDhOcS/YsBsJLcNHLYvGsXFcTiVbX3ErWkvugP0UEMNc 9K54XUc9EH+zG93WVxOvshElyVhpprXLhVpEmgGay9ZSxW8dHoO8wF7p97xXMcXx4cOmuacLtN3 QGiwMHmPFPQ61BRnMaGLOMq4P7zteV+ezSlQ4PNcbrHVcXV2t0J+DHnRDb0xJSB2A9vEeTn X-Google-Smtp-Source: AGHT+IERuf6Fq/RtNtJWjQMeCBaLyLJp9XwpS0P0t8Kt31XVhhASC6ypUSgwcOhJI+G8TNIPKeuIIwSP0BkOEe3RZDs= X-Received: by 2002:a05:651c:1a08:b0:37f:c5ca:749a with SMTP id 38308e7fff4ca-37fd071a3c5mr27510641fa.1.1765730964486; Sun, 14 Dec 2025 08:49:24 -0800 (PST) MIME-Version: 1.0 From: ron minnich Date: Sun, 14 Dec 2025 08:49:12 -0800 X-Gm-Features: AQt7F2pvbo3KUvaLOI9voz3lJ7ueUQN8OqHuFNYQYRZhmABQBoBAZEVKUWVWGAw Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000000000000e83fe90645ec469e Topicbox-Policy-Reasoning: moderate: sender is a member; group holds all messages Topicbox-Message-UUID: db0acdc4-d90c-11f0-90a6-79250fc0285f Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UOTFiOGE5Y2U5ODk0MjZlMS1NMDA0YjcwMmY5M2ZkMmRmMzU3Yzk0?= =?UTF-8?B?YWEwPg==?= 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] risc-v port Content-Transfer-Encoding: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M004b702f93fd2df357c94aa0:1:D93x91DLPB3CPLOLRdSHCoQTBPJO-eHF7excvc4mJPk --000000000000e83fe90645ec469e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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-M004b7= 02f93fd2df357c94aa0 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --000000000000e83fe90645ec469e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
you can follow along if you want with my attem= pt 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 vmthrea= ds work. This will help me understand risc-v virtualization better.


I'm making lots of mistakes, as you can no doubt te= ll, 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
= --000000000000e83fe90645ec469e--