Deutsch English Français Italiano |
<v48imn$sc37$9@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.arch Subject: Re: Privilege Levels Below User Date: Tue, 11 Jun 2024 04:10:00 -0000 (UTC) Organization: A noiseless patient Spider Lines: 20 Message-ID: <v48imn$sc37$9@dont-email.me> References: <jai66jd4ih4ejmek0abnl4gvg5td4obsqg@4ax.com> <Z9I8O.13$2JEf.11@fx14.iad> <5h%8O.4327$wDZ.776@fx48.iad> <1316e4baa439de908666e38c39cd8c79@www.novabbs.org> <ywE9O.33$46t.1@fx46.iad> <v47avm$ht65$1@dont-email.me> <20240610204131.0000463d@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 11 Jun 2024 06:10:00 +0200 (CEST) Injection-Info: dont-email.me; posting-host="631f869a34a46d5df9e0635873afdf43"; logging-data="929895"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SD6qqmE3wJQ2f7uQ1ITfA" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:+8B7i7UvXTJ4jM4kormnvzbV858= Bytes: 2087 On Mon, 10 Jun 2024 20:41:31 +0300, Michael S wrote: > Intel's official terminology makes distinction between interrupts and > exceptions. The former are external/asynchronous, the later are > internal/synchronous. Exceptions are further sub-divided into faults, > traps and aborts. That all sounds very DEC-like. In particular, the DEC definition of a “fault” is that the saved PC on the stack still points at the instruction that caused the exception, so a return-from-exception will attempt to re-execute the same instruction. This is exactly what you want for page faults, for example, but also for long-running interruptible instructions that haven’t finished yet. Whereas a “trap” left the PC pointing at the following instruction. So a return from the exception handler will simply resume execution there. Over the evolution of the VAX architecture, some exceptions which initially were “traps” became “faults” instead.