summaryrefslogtreecommitdiff
path: root/Core/EM/Terminal/Terminal.sdl
blob: d04fe5ebb3eeacc6210bc0852267af60f1f7a148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
TOKEN
	Name  = "Terminal_SUPPORT"
	Value  = "1"
	Help  = "Enable/Disable 'Serial Redirection' module. \This module contains Terminal.lib/Terminalx64.lib,\the compiled binary of module 'Serial Redirection \Sources.' It also contains all setup related material\for the module.\"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Master = Yes
End

TOKEN
	Name  = "SerialIo_SUPPORT"
	Value  = "1"
	TokenType = Boolean
	TargetMAK = Yes
End

TOKEN
	Name  = "SERIALIO_PCI_SERIAL_SUPPORT"
	Value  = "0"
	Help  = "0-Serial IO doesnt support the PCI serial Devices.1- Serial Io Driver installs the Serial IO for PCI serial Device."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "DISABLE_TERMINAL_FOR_SCT_TEST"
	Value  = "0"
	Help  = "Set this token to 1 if running the SCT Test.  It will result in console redirection being turned off.  As of this revision, console redirection interferes wtih the SCT SerialIO test."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "TOTAL_SIO_SERIAL_PORTS"
	Value  = "1"
	Help  = "**PORTING NEEDED** Total number of Super IO serial ports present."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
	Range  = "0-10"
End

TOKEN
	Name  = "TOTAL_PCI_SERIAL_PORTS"
	Value  = "0"
	Help  = "**PORTING NEEDED** Total number of PCI serial ports present."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
	Range  = "0-4"
End

TOKEN
	Name  = "TOTAL_SERIAL_PORTS"
	Value  = "$(TOTAL_SIO_SERIAL_PORTS)+$(TOTAL_PCI_SERIAL_PORTS)"
	Help  = "Total number of serial ports present (both Super IO and PCI)."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "PCI_SERIAL_MMIO_WIDTH"
	Value  = "1"
	Help  = "MMIO Com device width size. 1- Byte, 2- Word, 4-Dword. Default Set to Dword"
	TokenType = Integer
	TargetH = Yes
	Range  = "1...4h"
End

TOKEN
    Name  = "MAX_SIO_SERIAL_PORTS"
    Value  = "10"
    TokenType = Integer
    TargetMAK = Yes
    TargetH = Yes
End

TOKEN
	Name  = "MAX_PCI_SERIAL_PORTS"
	Value  = "4"
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "PCI_SERIAL_PORT_INDEX_BASE"
	Value  = "1"
	Help  = "Used in the Terminal.sd file."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
	Token = "EFI_SPECIFICATION_VERSION" "<" "0x2000A"
End

TOKEN
	Name  = "PCI_SERIAL_PORT_INDEX_BASE"
	Value  = "0"
	Help  = "Used in the Terminal.sd file."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
	Token = "EFI_SPECIFICATION_VERSION" ">=" "0x2000A"
End

TOKEN
	Name  = "PCI_SERIAL_PORT_0_INDEX"
	Value  = "$(TOTAL_SIO_SERIAL_PORTS) + $(PCI_SERIAL_PORT_INDEX_BASE)"
	Help  = "Used in the Terminal.sd file."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "PCI_SERIAL_PORT_1_INDEX"
	Value  = "$(TOTAL_SIO_SERIAL_PORTS) + $(PCI_SERIAL_PORT_INDEX_BASE) + 1"
	Help  = "Used in the Terminal.sd file. VfrCompile does\ not allow the use of arithmetic expressions as \array indeces."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "PCI_SERIAL_PORT_2_INDEX"
	Value  = "$(TOTAL_SIO_SERIAL_PORTS) + $(PCI_SERIAL_PORT_INDEX_BASE) + 2"
	Help  = "Used in the Terminal.sd file. VfrCompile does\ not allow the use of arithmetic expressions as \array indeces."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "PCI_SERIAL_PORT_3_INDEX"
	Value  = "$(TOTAL_SIO_SERIAL_PORTS) + $(PCI_SERIAL_PORT_INDEX_BASE) + 3"
	Help  = "Used in the Terminal.sd file. VfrCompile does\ not allow the use of arithmetic expressions as \array indeces."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "UART_DEFAULT_BAUD_RATE"
	Value  = "115200"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "UART_DEFAULT_BAUD_RATE_INDEX"
	Value  = "7"
	Help  = "Index into array gAcpiSpcrTableComBaudRates."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "UART_DEFAULT_DATA_BITS"
	Value  = "8"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "UART_DEFAULT_PARITY"
	Value  = "1"
	Help  = "EFI_PARITY_TYPE NoParity, which has value 1."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "UART_DEFAULT_STOP_BITS"
	Value  = "1"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "UART_DEFAULT_FLOW_CONTROL"
	Value  = "0"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "UART_DEFAULT_LOOPBACK_ENABLE"
	Value  = "0"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "PCI_UART_INPUT_CLOCK"
	Value  = "1843200"
	Help  = "This is PCI UART input clock. The default value is (24000000/13) = 1843200 MHz"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "COM0_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
	Value  = "1"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "COM1_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
	Value  = "0"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "COM2_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
	Value  = "0"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "COM3_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
	Value  = "0"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
    Name  = "COM4_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
    Value  = "0"
    TokenType = Boolean
    TargetH = Yes
End

TOKEN
    Name  = "COM5_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
    Value  = "0"
    TokenType = Boolean
    TargetH = Yes
End

TOKEN
    Name  = "COM6_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
    Value  = "0"
    TokenType = Boolean
    TargetH = Yes
End

TOKEN
    Name  = "COM7_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
    Value  = "0"
    TokenType = Boolean
    TargetH = Yes
End

TOKEN
    Name  = "COM8_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
    Value  = "0"
    TokenType = Boolean
    TargetH = Yes
End

TOKEN
    Name  = "COM9_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
    Value  = "0"
    TokenType = Boolean
    TargetH = Yes
End

TOKEN
	Name  = "PCI0_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
	Value  = "0"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "PCI1_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
	Value  = "0"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "PCI2_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
	Value  = "0"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "PCI3_DEFAULT_CONSOLE_REDIRECTION_ENABLE"
	Value  = "0"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "DEFAULT_DEBUGGER_CONSOLE_REDIRECTION_ENABLE"
	Value  = "1"
	Help  = "Once Rx/Redir/Debugger port been detected, enable/disable Console Redirection."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "DEFAULT_ACPI_SPCR_COM_PORT"
	Value  = "0"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "DEFAULT_TERMINAL_TYPE"
	Value  = "3"
	Help  = "TERMINAL_TYPE ANSI, which is 3."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "EXTENDED_RESOLUTION_ENABLE"
	Value  = "0"
	Help  = "Enable or disable 100 x 31 terminal resolution"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "VTUTF8_ENABLE"
	Value  = "1"
	Help  = "Enable or disable VT-UTF8 Combination Key Support for ANSI/VT100 terminals"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "RECORDER_MODE_ENABLE"
	Value  = "0"
	Help  = "Enable or disable Terminal Recorder Mode"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "DEFAULT_ACPI_SPCR_CONSOLE_REDIRECTION_ENABLE"
	Value  = "1"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "DEFAULT_ACPI_SPCR_TABLE_TERMINAL_TYPE"
	Value  = "2"
	Help  = "TERMINAL_TYPE VT_UTF8, which is 2."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "HARDWARE_FLOW_CONTROL_SETUP_OPTION"
	Value  = "1"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "MAX_FAILURES_ALLOWED"
	Value  = "5"
  	Help  = "The allowed range is 1 to 0xFF. This token value controls the hardware flow control retry count. Once the counter expired Redirection will be disabled and will be enabled again when host is ready to accept the data(i.e CTS is Set)."         
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "SOFTWARE_FLOW_CONTROL_SETUP_OPTION"
	Value  = "2"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "TIMEOUT_FOR_DETERMINING_LONE_ESC_CHAR"
	Value  = "10000000"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "NUMBER_OF_TIME_FOR_ESC_SEQUENCE_CHECKING"
	Value  = "20"
	TokenType = Integer
	TargetH = Yes
End
TOKEN
	Name  = "SPCR_ACPI_OEM_ID"
	Value  = "A M I "
	Help  = "SPCR OEM Id -\a string value to be filled into SPCR ACPI table headers"
	TokenType = Expression
	TargetMAK = Yes
	TargetH = Yes
	Range  = "1-6 characters"
End

TOKEN
	Name  = "SPCR_ACPI_OEM_TBL_ID"
	Value  = "APTIO4"
	Help  = "SPCR OEM table Id -\a string value to be filled into SPCR ACPI table headers"
	TokenType = Expression
	TargetMAK = Yes
	TargetH = Yes
	Range  = "1-8 characters"
End

TOKEN
	Name  = "UART_FIFO_SIZE"
	Value  = "16"
	TokenType = Integer
	TargetH = Yes
	Help  = "UART fifo size. Maximum supported UART size is 16."
	Range  = "0-16."
End

TOKEN
	Name  = "REFRESH_SCREEN_KEY"
	Value  = "0x0012"
	Help  = "Unicode Value of Key to Refresh the Screen.Default it set to Ctrl+r"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "ASCII_CONTROL_CODE_SUPPORT"
	Value  = "1"
	Help  = "ASCII control code support 0 - Disabled 1- Enabled"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "spcr_interface_type"
	Value  = "0"
	Help  = "Indicate the type of the COM Port register interface.(ACPI 2.0 SPEC)."
	TokenType = Integer
	TargetH = Yes
	Range  = "0 = full 16550 interface; 1 = full 16450 interface; 2-255 = reserved."
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_addr_spc_id"
	Value  = "1"
	Help  = "UART BLK Register Id (Part of GAS_20 Structure, refer to ACPI v2.0 spec for details)"
	TokenType = Integer
	TargetH = Yes
	Range  = "0=System memory; 1=System I/O; 2=PCI Config Space; 3=Embeded Controller; 4=SMBus; 0x7F=Functional Fixed Hardware; All other values reserved"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_addr_bit_width"
	Value  = "8"
	Help  = "UART BLK Register Bit Width (Part of GAS_20 Structure, refer to ACPI v2.0 spec for details)"
	TokenType = Integer
	TargetH = Yes
	Range  = "value range depends on other GAS_20 elements"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_addr_bit_offset"
	Value  = "0"
	Help  = "UART BLK Register Bit Offset (Part of GAS_20 Structure, refer to ACPI v2.0 spec for details)"
	TokenType = Integer
	TargetH = Yes
	Range  = "value range depends on other GAS_20 elements"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_access_size"
	Value  = "0"
	Help  = "UART BLK Register Bit Offset (Part of GAS_20 Structure, refer to ACPI v2.0 spec for details)"
	TokenType = Integer
	TargetH = Yes
	Range  = "value range depends on other GAS_20 elements"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_interrupt_type"
	Value  = "05h"
	Help  = "Interrupt type(s) used by the UART."
	TokenType = Integer
	TargetH = Yes
	Range  = "Bit[0]=PC-AT dual-8259 PIC IRQ; Bit[1]=I/O APIC interrupt; Bit[2]=I/O SAPIC interrupt; Bit[3:7]=reserved (must be 0)"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_global_system_int"
	Value  = "03h"
	Help  = "I/O APIC  mode IRQ #."
	TokenType = Integer
	TargetH = Yes
	Range  = "0-?: Depends on how many INTINs APIC has."
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_parity"
	Value  = "0"
	Help  = "UART parity check"
	TokenType = Integer
	TargetH = Yes
	Range  = "(Refer to ACPI v2.0 spec for details)"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_stop_bits"
	Value  = "1"
	Help  = "UART stop bits"
	TokenType = Integer
	TargetH = Yes
	Range  = "(Refer to ACPI v2.0 spec for details)"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_pci_device_id"
	Value  = "0FFFFh"
	Help  = "if UART is on PCI bus - its device ID"
	TokenType = Integer
	TargetH = Yes
	Range  = "0-0xffff (Refer to ACPI v2.0 spec for details)"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_pci_vendor_id"
	Value  = "0FFFFh"
	Help  = "if UART is on PCI bus - its vendor ID"
	TokenType = Integer
	TargetH = Yes
	Range  = "0-0xffff (Refer to ACPI v2.0 spec for details)"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_pci_bus_number"
	Value  = "0"
	Help  = "if UART is on PCI bus - its BUS #"
	TokenType = Integer
	TargetH = Yes
	Range  = "0-0xff (Refer to ACPI v2.0 spec for details)"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_pci_device_number"
	Value  = "0"
	Help  = "if UART is on PCI bus - its DEVICE #"
	TokenType = Integer
	TargetH = Yes
	Range  = "0-31 (Refer to ACPI v2.0 spec for details)"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_pci_function_number"
	Value  = "0"
	Help  = "if UART is on PCI bus - its FUNCTION #"
	TokenType = Integer
	TargetH = Yes
	Range  = "0-7 (Refer to ACPI v2.0 spec for details)"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_pci_flags"
	Value  = "0"
	Help  = "if UART is on PCI bus - PCI flags"
	TokenType = Integer
	TargetH = Yes
	Range  = "0-0xff (Refer to ACPI v2.0 spec for details)"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "spcr_pci_segment"
	Value  = "0"
	Help  = "if UART is on PCI bus - its PCI SEGMENT #"
	TokenType = Integer
	TargetH = Yes
	Range  = "0-0xff (Refer to ACPI v2.0 spec for details)"
	Token = "ACPI_BUILD_TABLES_2_0" "=" "1"
End

TOKEN
	Name  = "SERIAL_WRITE_ERROR_CHECK"
	Value  = "1"
	Help  = "Enable or disable Serial Port Write Error checking."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "MAXIMUM_SERIAL_WRITE_ERROR_COUNT"
	Value  = "10"
	Help  = "This token specifies the number of retry count for serial port write error. Once this count reaches all the serialWrite calls will be returned as error. This token is valid only when the SERIAL_WRITE_ERROR_CHECK is enabled"
	TokenType = Integer
	TargetH = Yes
	Range  = "1-0xffffffff "
	Token = "SERIAL_WRITE_ERROR_CHECK" "=" "1"
End

TOKEN
	Name  = "CLEAR_TERMINAL_KB_BUFFER_AT_READYTOBOOT"
	Value  = "0"
	Help  = "ON- Terminal KB Buffer will be cleared at ReadyToBoot.\OFF - Terminal KB Buffer will not be cleared at ReadyToBoot."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "OEM_ESC_SEQUENCES"
	Value  = "1"
	Help  = "1- Enable OEM ESC Sequence.\0 - Disable OEM ESC Sequence."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "PUTTY_VT100"
	Value  = "0x1"
	Help  = "Putty Vt100 KeyPad Value."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "PUTTY_LINUX"
	Value  = "0x2"
	Help  = "Putty Linux KeyPad Value."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "PUTTY_XTERMR6"
	Value  = "0x4"
	Help  = "Putty XtermR6 KeyPad Value."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "PUTTY_SCO"
	Value  = "0x8"
	Help  = "Putty SCO KeyPad Value."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "PUTTY_ESCN"
	Value  = "0x10"
	Help  = "Putty Escn KeyPad Value."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "PUTTY_VT400"
	Value  = "0x20"
	Help  = "Putty Vt400 KeyPad Value."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
    Name  = "INSTALL_LEGACY_OS_THROUGH_REMOTE"
    Value  = "0"
    Help  = "Install Legacy OS like Linux through redirection. To make that happen some Linux are force to install in text mode and some others are redirected in graphics mode itseld. Note: All Linux Versions cannot be installed through remote as different Linux kernel's behave differently."
    TokenType = Boolean
    TargetH = Yes
End

TOKEN
    Name  = "DONT_SEND_ASCII_CONTROL_PRINTABLE_CHARACTERS"
    Value  = "0"
    Help  = "Applications like HyperTerminal supports printable characters in the ASCII control characters value's(0 - 0x1F) but Putty does not. so,to print the printable ASCII control characters we will send the equivalent ASCII printable value(whichever is applicable) if the token is enabled."
    TokenType = Boolean
    TargetH = Yes
End

TOKEN
    Name  = "DISABLE_PCI_REDIRECTION_ON_ACPI_ENABLE_DISABLE"
    Value  = "0"
    Help  = "When Redirection is enabled for Legacy OS, the system installation gets slow as Legacy Serial Redirection enables the PCI Serial interrupt for redirection and sometime after that OS uses its own IVT but PCI Serial interrupt is generated and not handled.So, disable redirection at OS level. we disable redirection on ACPI enable/disable call and reset the Interrupt Enable Register."
    TokenType = Boolean
    TargetH = Yes
    TargetMAK = Yes
End

TOKEN
    Name  = "SERIAL_MOUSE_DETECTION"
    Value  = "0"
    Help  = "Detect the Serial Mouse in the Serial Port and if the Serial Mouse is present, redirection will not be enabled."
    TokenType = Boolean
    TargetH = Yes
End

PATH
    Name  = "TERMINAL_DIR"
End

MODULE
	Help  = "Includes Terminal.mak to Project"
	File  = "Terminal.mak"
End

ELINK
	Name  = "$(BUILD_DIR)\Terminal.sdb"
	Parent  = "SETUP_SDBS"
	Priority  = 80
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(TERMINAL_DIR)\Terminal.sd"
	Parent  = "SETUP_DEFINITIONS"
	Priority  = 80
	InvokeOrder = AfterParent
End

ELINK
	Name  = "SerialIoEntryPoint,"
	Parent  = "TerminalInitialize"
	Token = "SerialIo_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(TERMINAL_DIR)\Terminal$(ARCH).lib"
	Parent  = "Terminal_LIB"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "InitTerminalStrings,"
	Parent  = "SetupStringInit"
	Token = "Terminal_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "-i $(TERMINAL_DIR)"
	Parent  = "SETUP_VFR_INCLUDES"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(BUILD_DIR)\Terminal.ffs"
	Parent  = "FV_MAIN"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "TerminalInitialize"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "Terminal_LIB"
	InvokeOrder = ReplaceParent
End

ELINK
    Name  = "TerminalAcpiEnableDisableCallBack,"
    Parent  = "AcpiEnableCallbackList"
    Token = "DISABLE_PCI_REDIRECTION_ON_ACPI_ENABLE_DISABLE" "=" "1"
    InvokeOrder = AfterParent
End

ELINK
    Name  = "TerminalAcpiEnableDisableCallBack,"
    Parent  = "AcpiDisableCallbackList"
    Token = "DISABLE_PCI_REDIRECTION_ON_ACPI_ENABLE_DISABLE" "=" "1"
    InvokeOrder = AfterParent
End