Deutsch English Français Italiano |
<vf3a8f$g1vh$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Paul A. Clayton" <paaronclayton@gmail.com> Newsgroups: comp.arch Subject: Re: C and turtles, 80286 protected mode Date: Sun, 20 Oct 2024 12:14:05 -0400 Organization: A noiseless patient Spider Lines: 15 Message-ID: <vf3a8f$g1vh$1@dont-email.me> References: <2024Oct6.150415@mips.complang.tuwien.ac.at> <3f2cb127c8d5dc2381fc80631a495e3e@www.novabbs.org> <8HBPO.471560$_o_3.464389@fx17.iad> <d8cffb389b3fd055ee70e87da9a3403a@www.novabbs.org> <ven3mo$11b4$1@gal.iecc.com> <vep2t7$2c62t$1@dont-email.me> <vf2a6p$agbh$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 20 Oct 2024 18:14:07 +0200 (CEST) Injection-Info: dont-email.me; posting-host="ac42494fa08b4c7f4b5f5f632077ad2d"; logging-data="526321"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rTdbLCV07mkoia0aAgOhNd6c1025X64M=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.0 Cancel-Lock: sha1:5+zpM1Z5C6PxCFv+m9B/+Ajl4V8= In-Reply-To: <vf2a6p$agbh$2@dont-email.me> Bytes: 1915 On 10/20/24 3:07 AM, Lawrence D'Oliveiro wrote: > On Wed, 16 Oct 2024 15:07:14 -0400, Paul A. Clayton wrote: > >> Obviously, this would not be portable, but sbrk() and mmap() are not >> portable. > > They are portable at the OS level, since they are part of POSIX. I think my (theoretical) proposal of "an implicit mmap(MAP_ANONYMOUS | MAP_FIXED) on a page fault" would be portable at the OS level, though "portable to some obscure research OS" — if such was every developed — could be reasonable argued as less portable than "portable to POSIX".☺ (I do think such is an _interesting_ interface.)