X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=top%2Fmemorylayout.tex;h=3a044e8020415ff85355ff7b3094f39305f6b3db;hb=26745fe928b2c2d7bb4b6642107e0cd498f08ef7;hp=f7e24c802c5497910a5230457ffebec2197fea75;hpb=f0c32c3d589cb32297a504dc986b951a60676331;p=phd-thesis.git diff --git a/top/memorylayout.tex b/top/memorylayout.tex index f7e24c8..3a044e8 100644 --- a/top/memorylayout.tex +++ b/top/memorylayout.tex @@ -25,11 +25,11 @@ \matrix (main) [memory] { & |[descr]| {\rm high addresses} \\ & || heap\\ - & || $\downarrow$\\ + & || {\normalsize $\downarrow$}\\ & || \ldots\\ - & || $\uparrow$\\ + & || {\normalsize $\uparrow$}\\ & || stack\\ - & || $\uparrow$ \\ + & || {\normalsize $\uparrow$}\\ & || tasks \\ & |[descr]| {\rm low addresses}\\ }; @@ -50,5 +50,28 @@ \draw[dashed] (main-7-2.north west) -- (global-1-2.north east); \draw[dashed] (main-8-2.south west) -- (global-4-2.south east); + +% \node (tree) [right=of heap] { +%\begin{lstlisting} +%struct TaskTree { +% enum BCTaskType_c task_type; +% bool trash; +% uint16_t refresh_min; +% uint16_t refresh_max; +% struct TaskTree *parent; +% union { +% ... +% uint16_t readd; +% ... +% struct { +% struct TaskTree *lhs; +% struct TaskTree *rhs; +% } tand; +% ... +% } data;\end{lstlisting} +% }; +% +% \draw[dashed] (tree.north west) -- (heap-1-2.north east); +% \draw[dashed] (tree.south west) -- (heap-1-2.south east); \end{tikzpicture} \end{document}