| /* |
| * Copyright 2008 by Texas Instruments Incorporated. |
| * |
| * All rights reserved. Property of Texas Instruments Incorporated. |
| * Restricted rights to use, duplicate or disclose this code are |
| * granted through contract. |
| * |
| */ |
| |
| /* |
| * ======== getMemoryMap ======== |
| * Returns the memory map as seen by a program running on this device |
| * when the registers are set as specified by the regs hash. |
| */ |
| function getMemoryMap(regs) |
| { |
| /* add common memory blocks to this device's memory map */ |
| for (var key in this.commonMap) { |
| this.deviceMap[key] = this.commonMap[key]; |
| } |
| return (this.deviceMap); |
| } |
| |