From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:620a:1205:: with SMTP id u5mr4609263qkj.11.1595894805547; Mon, 27 Jul 2020 17:06:45 -0700 (PDT) X-Received: by 2002:a37:458f:: with SMTP id s137mr25404285qka.129.1595894805325; Mon, 27 Jul 2020 17:06:45 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 27 Jul 2020 17:06:44 -0700 (PDT) In-Reply-To: <62b36d1a-6d2c-4c79-a335-20546225544co@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=203.59.139.151; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 203.59.139.151 References: <748b7abb-4bda-4174-aa37-367daaf1c02ao@googlegroups.com> <6cbf26a5-2047-4685-a87b-381bc5fedd5bo@googlegroups.com> <4472b2d0-e872-46c9-8665-af1fea1cc8c4n@googlegroups.com> <62b1618d-e93d-42f4-9970-314685e2c01ao@googlegroups.com> <1603a778-dc76-4c82-88f2-872212871b65n@googlegroups.com> <62b36d1a-6d2c-4c79-a335-20546225544co@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <79d9a1d0-8735-460e-a648-c2a27e35a700n@googlegroups.com> Subject: Re: SweetAda 0.1e released From: Roger Mc Injection-Date: Tue, 28 Jul 2020 00:06:45 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:59561 List-Id: On Tuesday, July 28, 2020 at 2:04:52 AM UTC+10, gabriele.g...@gmail.com wro= te: > In sweetada context, QEMU is a more or less normal QEMU that is used as a= n aid in development. e.g.,if you want to try sweetada code on a MIPS cpu, = or a PowerPC, maybe it is better to exercise on an virtual machine. That's = why exists a QEMU. QEMU is patched so that every machine it could emulates = has additional I/Os that normally do not exist in that machine. Like a gene= ric I/O card inside a computer. For example, if you choose a SPARC cpu (an = thus an emulated machine like a SPARCstation5), it is difficult to have imm= ediate evidence, because you have to low-level program a huge number of thi= ngs, like the video framebuffer. Instead, you manipulate those simple I/O a= nd IOEMU lets you visualize them on his own window. QEMU package is a norma= l QEMU distribution (apart the patches, that I have to make public soon, ju= st the time to adjust them in a decent form), and IOEMU is an indipendent l= ibrary added inside the distribution, but it's nothing more that a GUI mana= ger for widgets, together with a parser for ioemu.cfg configuration files. = Again I will release the source once that the code is cleaned up and stable= . I make huge changes everyday, and don't want ugly things spreading off th= e net.=20 >=20 > By the way, you can run QEMU without IOEMU, just delete the library file.= Then supply QEMU with your own firmware by standard command line options. = QEMU for sweetada has nothing different.=20 >=20 > To be honest, if you want to study QEMU from a low-level point of view, p= repare yourself for a long journey. It's incredibly complicated. And Sweeta= da does help you very little in doing that. The focus of sweetada is curren= tly to adapt Ada code to machines.=20 >=20 > G Great! I finally get the picture (well, almost). QEMU is /opt/sweetada/bin/qemu-system-x86_64 which starts up like a DOS PC,= booting from ROM and running until it can't find a bootable device. Also, the QEMU-AArch64 directory gives me plenty of clues. My idea is certainly, not to study QEMU from a low-level point of view but = to understand its use in the context of sweetada and to understand the adap= tion of Ada code to machines. My planned first job is to completely identify and understand all interface= s between sweetada and QEMU.