Methods, computer systems, and computer readable media maintain address
values of a module stored in computer memory by changing the module
pointer values upon switches between physical memory addressing and
virtual memory addressing. Upon a function call to the module, the
pointer values of the module are changed to correspond to the current
mode of memory addressing. Thus, upon changing the pointer values to the
current mode, the locations of the module can be properly accessed during
execution of the module in the computer system.