DAP: Updated dap/memap initialization routines.
DAP: Updated dap/memap initialization routines.

cedar-renjun/LibSWD,shangdawei/LibSWD,shangdawei/LibSWD,ongjohn/LibSWD,cedar-renjun/LibSWD,shangdawei/LibSWD,ongjohn/LibSWD,ongjohn/LibSWD,cedar-renjun/LibSWD