Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
\r
ASSERT (TextModeCount != NULL);\r
\r
- //\r
- // Here we make sure that the final mode exposed does not include the duplicated modes,\r
- // and does not include the invalid modes which exceed the max column and row.\r
- // Reserve 2 modes for 80x25, 80x50 of terminal console.\r
- //\r
TextModeData = AllocateCopyPool (sizeof (mTerminalConsoleModeData), mTerminalConsoleModeData);\r
if (TextModeData == NULL) {\r
return NULL;\r