88d07ef35b
@cwalther determined that for boards with 2 displays (monster m4sk), start_terminal would be called for each one, leaking supervisor heap entries. Determine, by comparing addresses, whether the display being acted on is the first display (number zero) and do (or do not) call start_terminal. stop_terminal can safely be called multiple times, so there's no need to guard against calling it more than once. Slight behavioral change: The terminal size would follow the displays[0] size, not the displays[1] size |
||
---|---|---|
.. | ||
FramebufferDisplay.c | ||
FramebufferDisplay.h | ||
__init__.c | ||
__init__.h |