| M E M _ S W A P J U M P T A B L E ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - MEM_#?
----------------------------------------------------------------------------
NAME
mem_swapjumptable() - Swaps the jump table in local
base.
SYNOPSIS
ojtab = mem_swapjumptable(base, jtab);
struct Library **mem_swapjumptable(
struct Library *, struct Library **);
FUNCTION
This function allows to replace jump table in local
base.
INPUTS
base - QBASEPOINTER(xxxBase) pointer.
jtab - Jump table pointer. If this argument is NULL
then existing jump table will be returned
only.
RETURNS
Returns previous jump table or NULL if 'base' does
not resemble local base.
BASES
SysBase
NOTES
This function stops interrupts at the time of swap
and flushes CPU caches!
If 'base' is NULL and allocator was supplied with
QDEV_MEM_LBS_FNOFLUSH flag then further calls to
'mem_importjumptable()', 'mem_filljumptable()',
'mem_setdatajtslot()' & 'mem_setaddrjtslot()' will
cause cache flushes.
SEE ALSO
mem_allocjumptable(), mem_freejumptable(),
mem_importjumptable(), mem_filljumptable(),
mem_setdatajtslot(), mem_setaddrjtslot(),
mem_addrfrombase()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |