#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | _tagMENUITEM |
struct | _tagMENUCOOKIE |
Defines | |
#define | KEY_UP 1 |
#define | KEY_DOWN 2 |
Typedefs | |
typedef _tagMENUITEM | MENUITEM |
typedef _tagMENUITEM * | PMENUITEM |
typedef _tagMENUCOOKIE | MENUCOOKIE |
typedef _tagMENUCOOKIE * | PMENUCOOKIE |
Functions | |
ARC_STATUS | AlpFreeComponents (IN PCHAR *EnvVarComponents) |
BOOLEAN | AlpMatchComponent (IN PCHAR Value1, IN PCHAR Value2) |
ARC_STATUS | AlGetEnvVarComponents (IN PCHAR EnvValue, OUT PCHAR **EnvVarComponents, OUT PULONG PNumComponents) |
ARC_STATUS | AlFreeEnvVarComponents (IN PCHAR *EnvVarComponents) |
BOOLEAN | AlFindNextMatchComponent (IN PCHAR EnvValue, IN PCHAR MatchValue, IN ULONG StartComponent, OUT PULONG MatchComponent OPTIONAL) |
ARC_STATUS | AlAddSystemPartition (IN PCHAR NewSystemPartition) |
VOID | MarkLine (ULONG Line, BOOLEAN Selected, PCHAR String) |
BOOLEAN | CommonMenuDisplay (PMENUCOOKIE Menu, BOOLEAN StaticMenu, PCHAR Items[], ULONG ItemCount, BOOLEAN PrintOnly, ULONG AssociatedDataOfDefaultChoice, ULONG *AssociatedDataOfChoice, PCHAR MenuName, ULONG Row) |
char | GetChar (VOID) |
BOOLEAN | AlInitializeMenuPackage (VOID) |
ULONG | AlGetMenuNumberItems (PVOID MenuID) |
ULONG | AlGetMenuAssociatedData (PVOID MenuID, ULONG n) |
BOOLEAN | AlNewMenu (PVOID *MenuID) |
VOID | AlFreeMenu (PVOID MenuID) |
BOOLEAN | AlAddMenuItem (PVOID MenuID, PCHAR Text, ULONG AssociatedData, ULONG Attributes) |
BOOLEAN | AlAddMenuItems (PVOID MenuID, PCHAR Text[], ULONG ItemCount) |
BOOLEAN | AlDisplayMenu (PVOID MenuID, BOOLEAN PrintOnly, ULONG AssociatedDataOfDefaultChoice, ULONG *AssociatedDataOfChoice, ULONG Row, PCHAR MenuName) |
BOOLEAN | AlDisplayStaticMenu (PCHAR Items[], ULONG ItemCount, ULONG DefaultChoice, ULONG Row, ULONG *IndexOfChoice) |
VOID | AlWaitKey (PCHAR Prompt) |
VOID | vAlStatusMsg (IN ULONG Row, IN BOOLEAN Error, IN PCHAR FormatString, IN va_list ArgumentList) |
VOID | AlStatusMsg (IN ULONG TopRow, IN ULONG BottomRow, IN BOOLEAN Error, IN PCHAR FormatString,...) |
VOID | AlStatusMsgNoWait (IN ULONG TopRow, IN ULONG BottomRow, IN BOOLEAN Error, IN PCHAR FormatString,...) |
VOID | AlClearStatusArea (IN ULONG TopRow, IN ULONG BottomRow) |
ARC_STATUS | AlGetMenuSelection (IN PCHAR szTitle, IN PCHAR *rgszSelections, IN ULONG crgsz, IN ULONG crow, IN ULONG irgszDefault, OUT PULONG pirgsz, OUT PCHAR *pszSelection) |
PCHAR | AlStrDup (IN PCHAR szString) |
PCHAR | AlCombinePaths (IN PCHAR szPath1, IN PCHAR szPath2) |
VOID | AlFreeArray (IN BOOLEAN fFreeArray, IN PCHAR *rgsz, IN ULONG csz) |
ARC_STATUS | AlGetBase (IN PCHAR szPath, OUT PCHAR *pszBase) |
PCHAR | AlGetNextArcNamToken (IN PCHAR TokenString, OUT PCHAR OutputToken, OUT PULONG UnitNumber) |
ULONG | AlMatchArcNamToken (IN PCHAR TokenValue, IN TOKEN_TYPE TokenType) |
ULONG | AlPrint (PCHAR Format,...) |
BOOLEAN | AlGetString (OUT PCHAR String, IN ULONG StringLength) |
Variables | |
char | MARGIN [] = " " |
char | MSGMARGIN [] = " " |
PCHAR | AdapterTypes [AdapterMaximum+1] = {"eisa","scsi", "multi", NULL} |
PCHAR | ControllerTypes [ControllerMaximum+1] = {"cdrom", "disk", NULL} |
PCHAR | PeripheralTypes [PeripheralMaximum+1] = {"rdisk", "fdisk", NULL} |
|
Definition at line 590 of file almisc.c. Referenced by CommonMenuDisplay(), and GetChar(). |
|
Definition at line 589 of file almisc.c. Referenced by CommonMenuDisplay(), and GetChar(). |
|
|
|
|
|
Referenced by AlAddMenuItem(), AlDisplayMenu(), AlFreeMenu(), AlGetMenuAssociatedData(), AlGetMenuNumberItems(), and AlNewMenu(). |
|
Referenced by AlAddMenuItem(). |
|
Definition at line 684 of file almisc.c. References AlAllocateHeap(), AlReallocateHeap(), _tagMENUITEM::AssociatedData, FALSE, _tagMENUCOOKIE::ItemCount, _tagMENUCOOKIE::Items, NULL, PMENUCOOKIE, PMENUITEM, strlen(), _tagMENUITEM::Text, and TRUE. Referenced by AlAddMenuItems(), ChooseDisk(), DoMakePartitionSystemPartition(), DoPartitionCreate(), and DoPartitionDelete().
|
|
Definition at line 720 of file almisc.c. References AlAddMenuItem(), AlGetMenuNumberItems(), FALSE, and TRUE. Referenced by AlGetMenuSelection(), ConfigureSystemPartitions(), and main().
|
|
Definition at line 424 of file almisc.c. References ARC_STATUS, ArcGetEnvironmentVariable, ArcSetEnvironmentVariable, CHAR, E2BIG, ESUCCESS, MAXIMUM_ENVIRONMENT_VALUE, NULL, Status, and strlen(). Referenced by DoMakePartitionSystemPartition(), and DoSystemPartitionCreate().
|
|
Definition at line 1010 of file almisc.c. References AlClearLine, and AlSetPosition. Referenced by AlStatusMsg(), AlStatusMsgNoWait(), Confirm(), DoPartitionCreate(), PrintError(), PrintErrorMsg(), and PrintMsg().
|
|
Definition at line 1150 of file almisc.c. References AlAllocateHeap(), NULL, and strlen().
|
|
Definition at line 740 of file almisc.c. References CommonMenuDisplay(), FALSE, NULL, and PMENUCOOKIE. Referenced by AlGetMenuSelection(), ChooseDisk(), ConfigureSystemPartitions(), DoMakePartitionSystemPartition(), DoPartitionCreate(), DoPartitionDelete(), and main().
|
|
Definition at line 764 of file almisc.c. References CommonMenuDisplay(), FALSE, NULL, and TRUE.
|
|
Definition at line 361 of file almisc.c. References AlFreeEnvVarComponents(), AlGetEnvVarComponents(), AlpMatchComponent(), ARC_STATUS, ESUCCESS, FALSE, Index, Status, and TRUE. Referenced by IsBootSelectionPartition().
|
|
Definition at line 1190 of file almisc.c. References AlDeallocateHeap().
|
|
Definition at line 209 of file almisc.c. References AlDeallocateHeap(), AlpFreeComponents(), ARC_STATUS, EACCES, ESUCCESS, NULL, and Status. Referenced by AlFindNextMatchComponent().
|
|
Definition at line 664 of file almisc.c. References AlDeallocateHeap(), _tagMENUCOOKIE::ItemCount, _tagMENUCOOKIE::Items, NULL, PMENUCOOKIE, and _tagMENUITEM::Text. Referenced by AlGetMenuSelection(), ConfigureSystemPartitions(), DoMakePartitionSystemPartition(), DoPartitionCreate(), and DoPartitionDelete().
|
|
Definition at line 1244 of file almisc.c. References AlDeallocateHeap(), AlStrDup(), EBADSYNTAX, ENOMEM, ESUCCESS, and NULL.
|
|
Definition at line 26 of file almisc.c. References AlAllocateHeap(), AlpFreeComponents(), EACCES, ENOMEM, ESUCCESS, MAX_COMPONENTS, and NULL. Referenced by AlFindNextMatchComponent().
|
|
Definition at line 638 of file almisc.c. References n, and PMENUCOOKIE.
|
|
Definition at line 629 of file almisc.c. References PMENUCOOKIE. Referenced by AlAddMenuItems().
|
|
Definition at line 1025 of file almisc.c. References AlAddMenuItems(), AlDisplayMenu(), AlFreeMenu(), AlNewMenu(), ENOMEM, ESUCCESS, FALSE, NULL, and szTitle.
|
|
Definition at line 1318 of file almisc.c. References NULL. Referenced by ChooseDisk().
|
|
Definition at line 1508 of file almisc.c. References ARC_CONSOLE_INPUT, ARC_CONSOLE_OUTPUT, ArcRead, ArcWrite, ASCI_ESC, Buffer, c, CHAR, Count, ESUCCESS, FALSE, String, StringLength(), and TRUE. Referenced by AlWaitKey(), CommonMenuDisplay(), and DoPartitionCreate().
|
|
Definition at line 620 of file almisc.c. References TRUE. Referenced by main().
|
|
Definition at line 1391 of file almisc.c. References AdapterTypes, ControllerType, ControllerTypes, FALSE, Index, INVALID_TOKEN_TYPE, INVALID_TOKEN_VALUE, NULL, PeripheralType, PeripheralTypes, and TRUE.
|
|
Definition at line 647 of file almisc.c. References AlAllocateHeap(), FALSE, _tagMENUCOOKIE::ItemCount, _tagMENUCOOKIE::Items, NULL, PMENUCOOKIE, and TRUE. Referenced by AlGetMenuSelection(), ChooseDisk(), ConfigureSystemPartitions(), DoMakePartitionSystemPartition(), DoPartitionCreate(), DoPartitionDelete(), and main().
|
|
Definition at line 265 of file almisc.c. References AlDeallocateHeap(), EACCES, ESUCCESS, and NULL. Referenced by AlFreeEnvVarComponents(), and AlGetEnvVarComponents().
|
|
Definition at line 303 of file almisc.c. Referenced by AlFindNextMatchComponent().
|
|
Definition at line 1483 of file almisc.c. References ARC_CONSOLE_OUTPUT, ArcWrite, Buffer, and Count. Referenced by AlRtAllocateHeap(), AlRtFreeHeap(), AlRtReAllocateHeap(), AlWaitKey(), CommonMenuDisplay(), Confirm(), DoPartitionCreate(), FdiskInitialize(), FmtVerifySectors(), main(), MarkLine(), and vAlStatusMsg().
|
|
Definition at line 974 of file almisc.c. References AlClearStatusArea(), AlWaitKey(), Error, NULL, and vAlStatusMsg().
|
|
Definition at line 993 of file almisc.c. References AlClearStatusArea(), Error, and vAlStatusMsg(). Referenced by DoSystemPartitionCreate().
|
|
Definition at line 1113 of file almisc.c. References AlAllocateHeap(), NULL, and strlen(). Referenced by AlGetBase().
|
|
Definition at line 934 of file almisc.c. References AlGetString(), AlPrint(), and MSGMARGIN. Referenced by AlStatusMsg(), PrintError(), PrintErrorMsg(), and PrintMsg().
|
|
Definition at line 788 of file almisc.c. References AlGetString(), AlPrint(), AlSetPosition, AlSetScreenAttributes, AlSetScreenColor, ASCI_CR, ASCI_CSI, ASCI_ESC, ASCI_LF, _tagMENUITEM::AssociatedData, c, dummy(), FALSE, GetChar(), _tagMENUCOOKIE::Items, KEY_DOWN, KEY_UP, MARGIN, MarkLine(), String, _tagMENUITEM::Text, and TRUE. Referenced by AlDisplayMenu(), and AlDisplayStaticMenu().
|
|
Definition at line 902 of file almisc.c. References ARC_CONSOLE_INPUT, ArcRead, ASCI_CSI, c, KEY_DOWN, and KEY_UP.
|
|
Definition at line 885 of file almisc.c. References AlPrint(), AlSetPosition, AlSetScreenAttributes, MARGIN, and String. Referenced by CommonMenuDisplay().
|
|
Definition at line 947 of file almisc.c. References AlPrint(), AlSetPosition, AlSetScreenAttributes, AlSetScreenColor, ARC_CONSOLE_OUTPUT, ArcWrite, Count, Error, MSGMARGIN, and text. Referenced by AlStatusMsg(), AlStatusMsgNoWait(), PrintError(), PrintErrorMsg(), and PrintMsg().
|
|
Definition at line 1309 of file almisc.c. Referenced by AlMatchArcNamToken(). |
|
Definition at line 1311 of file almisc.c. Referenced by AlMatchArcNamToken(). |
|
Definition at line 584 of file almisc.c. Referenced by CommonMenuDisplay(), and MarkLine(). |
|
Definition at line 585 of file almisc.c. Referenced by AlWaitKey(), Confirm(), DoPartitionCreate(), FmtVerifySectors(), and vAlStatusMsg(). |
|
Definition at line 1313 of file almisc.c. Referenced by AlMatchArcNamToken(). |