* Move the sanitize comments to the right place.
This commit is contained in:
parent
edc8f76e73
commit
4979c0a271
1 changed files with 4 additions and 4 deletions
|
@ -462,20 +462,20 @@ sim_open (kind, cb, abfd, argv)
|
||||||
{
|
{
|
||||||
/* Allocate core managed memory */
|
/* Allocate core managed memory */
|
||||||
|
|
||||||
|
/* start-sanitize-sky */
|
||||||
#ifndef TARGET_SKY
|
#ifndef TARGET_SKY
|
||||||
|
/* end-sanitize-sky */
|
||||||
/* the monitor */
|
/* the monitor */
|
||||||
sim_do_commandf (sd, "memory region 0x%lx,0x%lx", MONITOR_BASE, MONITOR_SIZE);
|
sim_do_commandf (sd, "memory region 0x%lx,0x%lx", MONITOR_BASE, MONITOR_SIZE);
|
||||||
/* For compatibility with the old code - under this (at level one)
|
/* For compatibility with the old code - under this (at level one)
|
||||||
are the kernel spaces K0 & K1. Both of these map to a single
|
are the kernel spaces K0 & K1. Both of these map to a single
|
||||||
smaller sub region */
|
smaller sub region */
|
||||||
sim_do_command(sd," memory region 0x7fff8000,0x8000") ; /* MTZ- 32 k stack */
|
sim_do_command(sd," memory region 0x7fff8000,0x8000") ; /* MTZ- 32 k stack */
|
||||||
/* start-sanitize-sky */
|
|
||||||
/* end-sanitize-sky */
|
|
||||||
sim_do_commandf (sd, "memory alias 0x%lx@1,0x%lx%%0x%lx,0x%0x",
|
sim_do_commandf (sd, "memory alias 0x%lx@1,0x%lx%%0x%lx,0x%0x",
|
||||||
K1BASE, K0SIZE,
|
K1BASE, K0SIZE,
|
||||||
MEM_SIZE, /* actual size */
|
MEM_SIZE, /* actual size */
|
||||||
K0BASE);
|
K0BASE);
|
||||||
/* start-sanitize-sky */
|
/* start-sanitize-sky */
|
||||||
#else
|
#else
|
||||||
/* the monitor */
|
/* the monitor */
|
||||||
sim_do_commandf (sd, "memory region 0x%lx,0x%lx", MONITOR_BASE - K1BASE, MONITOR_SIZE);
|
sim_do_commandf (sd, "memory region 0x%lx,0x%lx", MONITOR_BASE - K1BASE, MONITOR_SIZE);
|
||||||
|
@ -484,7 +484,7 @@ sim_open (kind, cb, abfd, argv)
|
||||||
address_translation() */
|
address_translation() */
|
||||||
sim_do_commandf (sd, "memory size 0x%lx", MEM_SIZE);
|
sim_do_commandf (sd, "memory size 0x%lx", MEM_SIZE);
|
||||||
#endif
|
#endif
|
||||||
/* end-sanitize-sky */
|
/* end-sanitize-sky */
|
||||||
|
|
||||||
device_init(sd);
|
device_init(sd);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue