|
|
|
A database address field
+-+--------------------------------------------+
| | address |
+-+--------------------------------------------+
^
|
Flag bit: 0 ==> field contains a database address
1 ==> field contains a virtual memory address
|
(It's similar to the union structure of the C programming language)
|
|
|
|
|
|
|
|
|
Reason for doing this:
|
|
Notice that:
|
|
|
We enter the database address and its corresponding virtual memory address into the translation table
The linked list is initialized to an empty list
|
After swizzling the database address:
|
We add the swizzled database address as an element into the linked list !!!
|
After swizzling the database address:
|
We add the swizzled database address as an element into the linked list !!!
|