i was using the console for resolving a "errno" like this:
-> strerror(0x23)
value = 22279888 = 0x153f6d0
-> d 0x153f6d0
NOTE: memory values are displayed in hexadecimal.
0x0153f6d0: 5f53 7265 6e72 5f6f 4e45 544f 5553 0050 *S_errno_ENOTSUP.*
0x0153f6e0: 0000 0000 0000 0000 0000 0000 0000 0000 *................*
...
0x0153f7c0: 0000 0000 0000 0000 0000 0000 0000 0000 *................*
value = 0 = 0x0
Also, if i create a new variable:
-> a=6
New symbol "a" added to kernel symbol table.
a = 0x45446f60: value = 6 = 0x6
Now it is stored and available. But now i am wondering where are those bytes saved? Does the console make a mem allocation in the background or has it already allocated some RAM for those purposes? Should i be concerned where this is going to be saved? I guess those data is stored until reboot and eating up mem as long as i am working with the console.
I took a look into "Kernel Shell User's Guide" but couln't find an answer. (VxWorks 7.0)