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

[MiNT] Proposal for SLB extension



Hi Julian!

JR>How about reading the SLB spec before continuing this discussion? :-)
Done.
And it seems to me that it's a typical MagiC design :-(

JR>This can't be used, because there is no variable "basepage" to which
JR>the function call handler would have access to.
Well as the kernel already has to provide some user code, why not provide
some short application "specific" code?
Something like this:

basepage: dc.l 0
local_slbexec:
    move.l basepage, d0
    jmp global_slbexec

With this the variable basepage has to be filled while slb_open() and it's
content is automatically passed at each call of an slb function.
This will also speed up calls to libraries that need the pointer to the
basepage

Bye

                Joerg