/[Intel-AMT]/trunk/lib/Intel/AMT/RemoteControl.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/lib/Intel/AMT/RemoteControl.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (hide annotations)
Sat Aug 8 20:38:06 2009 UTC (14 years, 9 months ago) by dpavlin
File size: 3039 byte(s)
move RemoteControll definitions in separate file, implement various commands
(which doesn't currently work)

1 dpavlin 5 package Intel::AMT::RemoteControl;
2    
3     our $SystemCapabilitiesSupported = {
4     PowerCycleReset => 1,
5     PowerDown => 2,
6     PowerUp => 4,
7     Reset => 8,
8     };
9    
10     our $RemoteControlCommand = {
11    
12     Reset => 16, # 0x10
13     PowerUp => 17, # 0x11
14     PowerDown => 18, # 0x12
15     PowerCycleReset => 19, # 0x13
16     SetBootOptions => 33, # 0x21
17    
18     };
19    
20    
21     # Reserved bits for checking correctness of the Boot Options settings
22     our $BootOptionsReservedBits = 1817;
23    
24     # bootOptions = LockPowerButton | LockKeyboard | FirmwareVerbosityVerbose
25     our $BootOptions = {
26    
27     LockPowerButton => 2, # 1 << 1
28     LockResetButton => 4, # 1 << 2
29     LockKeyboard => 32, # 1 << 5
30     LockSleepButton => 64, # 1 << 6
31     UserPasswordBypass => 2048, # 1 << 11
32     ForceProgressEvents => 4096, # 1 << 12
33    
34     # only one from the Firmware verbosity options can be used
35     VerbositySystemDefault => 0, # system default
36     VerbosityQuiet => 8192, # 1 << 13 minimal screen activity
37     VerbosityVerbose => 16384, # 1 << 14 all messages appear on the screen
38     VerbosityBlank => 24576, # 3 << 13 blank, no messages appear on the screen.
39    
40     ConfigurationDataReset => 32768, # 1 << 14
41    
42     };
43    
44     our $SystemFirmwareCapabilitiesSupported = {
45     VerbosityBlank => 1,
46    
47     LockPowerButton => 2,
48     LockResetButton => 4,
49     LockKeyboard => 32,
50     LockSleepButton => 64,
51     UserPasswordBypass => 2048,
52     ForcedProgressEvents => 4096,
53    
54     VerbosityVerbose => 8192,
55     VerbosityQuiet => 16384,
56    
57     ConfigurationDataReset => 32768,
58     };
59    
60     our $SpecialCommand = {
61    
62     NOP => 0, # 0x00
63     ForcePXEBoot => 1, # 0x01
64     ForceHardDriveBoot => 2, # 0x02
65     ForceHardDriveSafeModeBoot => 3, # 0x03
66     ForceDiagnosticsBoot => 4, # 0x04
67     ForceCDorDVDBoot => 5, # 0x05
68     # 06h-0BFh Reserved for future ASF definition
69     IntelOemCommand => 193, # 0x0C1
70     # 0C1h-0FFh Reserved FOR OEM
71    
72     };
73    
74     our $OEMParameters = {
75    
76     UndefinedOEMParameter => 0,
77     UseSol => 1, # 1 << 1
78    
79     };
80    
81     our $SpecialCommandSupported = {
82     ForcePXEBoot => 256,
83     ForceHardDriveBoot => 512,
84     ForceHardDriveSafeModeBoot => 1024,
85     ForceDiagnosticsBoot => 2048,
86     ForceCDorDVDBoot => 4096,
87     };
88    
89     our $OemDefinedCapabilitiesSupported = {
90    
91     IDER => 1,
92     SOL => 2,
93     BiosReflash => 4,
94     BiosSetup => 8,
95     BiosPause => 16,
96    
97     };
98    
99     # specialCommParam = UseIderCD | ReflashBios
100    
101     our $SpecialCommandParameters = {
102    
103     UndefinedSpecialCommandParameter => 0,
104     UseIderFloppy => 1, # use floppy as IDER boot device
105     ReflashBios => 4, # 1 << 2
106     BiosSetup => 8, # 1 << 3
107     BiosPause => 16, # 1 << 4
108     UseIderCD => 257, # 1 | (1 << 8) use CD/DVD as IDER boot device
109    
110     };
111    
112     # Reserved bits for checking correctness of the Special Parameters settings
113     our $SpecialCommandParametersReservedBits = 65248;
114    
115     our $IanaNumbers = {
116    
117     IntelIanaNumber => 343,
118     ASFIanaNumber => 4542,
119    
120     };
121    
122     1;

  ViewVC Help
Powered by ViewVC 1.1.26