[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] update:WRITE_BOOT,ALLOW_TRP_CHG



2012/10/4 Helmut Karlowski <helmut.karlowski@ish.de>:
> - add that VBR-thing. How would you call Setexc to change it, so I know how
> to block it?

... only if you have to.

Setexc() has nothing to do with the VBR; the VBR is a CPU register
which determines the location of the exception/trap tabel in memory.
If the VBR is 0 (zero), the exception table starts at 0x00000000. If
the VBR is, say, 0x10000000, the exception table starts at 0x10000000.

However, weather or not the kernel should really care about this at
this point, I cannot say. Perhaps it was a dumb idea of me to mention
it at this point, to be honest.

>> I think there are, or used to be, some dead/commented-out code for
>> this. At least I've seen some document in the CVS which describes
>> parts of a possible implementation, don't know if it's in source or
>> txt form though. Maybe it has been removed.
>
> Never seen something like that.

I can't seem to find it now either, but I'm sure there were notes
about it either in the code or in a text file in the repo. Doesn't
really matter. I think Ozk decided to wait with the implementation
because of lack of documentation for the Milan keyboard interface
(that's hearsay on my behalf however).

> Once the kernel has such an interface (Xbconin ;-)), I guess using it in the
> AES is no big deal.

Sounds very good, it would be very very useful imo.

-- PeP