From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20140815092301.0b0a85bb@zinc.9fans.fr> References: <20140815092301.0b0a85bb@zinc.9fans.fr> Date: Fri, 15 Aug 2014 13:34:13 -0400 Message-ID: From: cherry To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Loongson port, and 64 bit MIPS Topicbox-Message-UUID: 10a0bd50-ead9-11e9-9d60-3106f5b1d025 On Fri, Aug 15, 2014 at 3:23 AM, David du Colombier <0intro@gmail.com> wrote: > Awesome job! Thanks. > > -- > David du Colombier > Thanks again! Indeed I have a question about unifying the 2E and 2F kernels. Currently 2F is separated so that it is convenient for me to experiment new code for 2F hardwares without worrying breaking 2E. Eventually it might be better to unify them. I think it is possible to share the C code, with specific hardware enabled/disabled in configuration file. Mainly the differences are some #define'd or enum constants in mem.h and io.h, including IRQ and some addresses. What would be the best way to do it? Would it be possible to upstream this port to distribution? Minux strongly encouraged me to do so. Thanks, - cherry