Updated headers to follow coding standard
[mirror_edk2.git] / MdePkg / Library / BaseLib / BaseLib.inf
1 #/** @file
2 # Component description file for Base Library
3 #
4 # Base Library implementation.
5 # Copyright (c) 2007 - 2007, Intel Corporation.
6 #
7 # All rights reserved. This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 #
15 #**/
16
17 ################################################################################
18 #
19 # Defines Section - statements that will be processed to create a Makefile.
20 #
21 ################################################################################
22 [Defines]
23 INF_VERSION = 0x00010005
24 BASE_NAME = BaseLib
25 FILE_GUID = 27d67720-ea68-48ae-93da-a3a074c90e30
26 MODULE_TYPE = BASE
27 VERSION_STRING = 1.0
28 LIBRARY_CLASS = BaseLib
29 EDK_RELEASE_VERSION = 0x00020000
30 EFI_SPECIFICATION_VERSION = 0x00020000
31
32
33 #
34 # The following information is for reference only and not required by the build tools.
35 #
36 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
37 #
38
39 ################################################################################
40 #
41 # Sources Section - list of files that are required for the build to succeed.
42 #
43 ################################################################################
44
45 [Sources.common]
46 CheckSum.c
47 SwitchStack.c
48 SwapBytes64.c
49 SwapBytes32.c
50 SwapBytes16.c
51 LongJump.c
52 SetJump.c
53 RShiftU64.c
54 RRotU64.c
55 RRotU32.c
56 MultU64x64.c
57 MultU64x32.c
58 MultS64x64.c
59 ModU64x32.c
60 LShiftU64.c
61 LRotU64.c
62 LRotU32.c
63 LowBitSet64.c
64 LowBitSet32.c
65 HighBitSet64.c
66 HighBitSet32.c
67 GetPowerOfTwo64.c
68 GetPowerOfTwo32.c
69 DivU64x64Remainder.c
70 DivU64x32Remainder.c
71 DivU64x32.c
72 DivS64x64Remainder.c
73 ARShiftU64.c
74 BitField.c
75 CpuDeadLoop.c
76 Cpu.c
77 LinkedList.c
78 String.c
79 BaseLibInternals.h
80 CommonHeader.h
81
82 [Sources.Ia32]
83 Ia32/Wbinvd.c
84 Ia32/WriteMm7.c
85 Ia32/WriteMm6.c
86 Ia32/WriteMm5.c
87 Ia32/WriteMm4.c
88 Ia32/WriteMm3.c
89 Ia32/WriteMm2.c
90 Ia32/WriteMm1.c
91 Ia32/WriteMm0.c
92 Ia32/WriteLdtr.c
93 Ia32/WriteIdtr.c
94 Ia32/WriteGdtr.c
95 Ia32/WriteDr7.c
96 Ia32/WriteDr6.c
97 Ia32/WriteDr5.c
98 Ia32/WriteDr4.c
99 Ia32/WriteDr3.c
100 Ia32/WriteDr2.c
101 Ia32/WriteDr1.c
102 Ia32/WriteDr0.c
103 Ia32/WriteCr4.c
104 Ia32/WriteCr3.c
105 Ia32/WriteCr2.c
106 Ia32/WriteCr0.c
107 Ia32/WriteMsr64.c
108 Ia32/Thunk16.asm
109 Ia32/SwapBytes64.c
110 Ia32/SetJump.c
111 Ia32/RRotU64.c
112 Ia32/RShiftU64.c
113 Ia32/ReadPmc.c
114 Ia32/ReadTsc.c
115 Ia32/ReadLdtr.c
116 Ia32/ReadIdtr.c
117 Ia32/ReadGdtr.c
118 Ia32/ReadTr.c
119 Ia32/ReadSs.c
120 Ia32/ReadGs.c
121 Ia32/ReadFs.c
122 Ia32/ReadEs.c
123 Ia32/ReadDs.c
124 Ia32/ReadCs.c
125 Ia32/ReadMsr64.c
126 Ia32/ReadMm7.c
127 Ia32/ReadMm6.c
128 Ia32/ReadMm5.c
129 Ia32/ReadMm4.c
130 Ia32/ReadMm3.c
131 Ia32/ReadMm2.c
132 Ia32/ReadMm1.c
133 Ia32/ReadMm0.c
134 Ia32/ReadEflags.c
135 Ia32/ReadDr7.c
136 Ia32/ReadDr6.c
137 Ia32/ReadDr5.c
138 Ia32/ReadDr4.c
139 Ia32/ReadDr3.c
140 Ia32/ReadDr2.c
141 Ia32/ReadDr1.c
142 Ia32/ReadDr0.c
143 Ia32/ReadCr4.c
144 Ia32/ReadCr3.c
145 Ia32/ReadCr2.c
146 Ia32/ReadCr0.c
147 Ia32/Mwait.c
148 Ia32/Monitor.c
149 Ia32/ModU64x32.c
150 Ia32/MultU64x64.c
151 Ia32/MultU64x32.c
152 Ia32/LShiftU64.c
153 Ia32/LRotU64.c
154 Ia32/LongJump.c
155 Ia32/Invd.c
156 Ia32/InterlockedCompareExchange64.c
157 Ia32/InterlockedCompareExchange32.c
158 Ia32/InterlockedDecrement.c
159 Ia32/InterlockedIncrement.c
160 Ia32/FxRestore.c
161 Ia32/FxSave.c
162 Ia32/FlushCacheLine.c
163 Ia32/EnablePaging64.asm
164 Ia32/EnablePaging32.c
165 Ia32/EnableInterrupts.c
166 Ia32/EnableDisableInterrupts.c
167 Ia32/DivU64x64Remainder.c
168 Ia32/DivU64x32Remainder.c
169 Ia32/DivU64x32.c
170 Ia32/DisablePaging32.c
171 Ia32/DisableInterrupts.c
172 Ia32/CpuPause.c
173 Ia32/CpuIdEx.c
174 Ia32/CpuId.c
175 Ia32/CpuSleep.c
176 Ia32/CpuFlushTlb.c
177 Ia32/CpuBreakpoint.c
178 Ia32/ARShiftU64.c
179 Ia32/Thunk16.S
180 Ia32/CpuFlushTlb.S
181 Ia32/CpuBreakpoint.S
182 Ia32/CpuPause.S
183 Ia32/CpuSleep.S
184 Ia32/EnableDisableInterrupts.S
185 Ia32/DisableInterrupts.S
186 Ia32/EnableInterrupts.S
187 Ia32/InterlockedCompareExchange64.S
188 Ia32/InterlockedCompareExchange32.S
189 Ia32/InterlockedDecrement.S
190 Ia32/InterlockedIncrement.S
191 Ia32/FlushCacheLine.S
192 Ia32/Invd.S
193 Ia32/Wbinvd.S
194 Ia32/EnablePaging64.S
195 Ia32/DisablePaging32.S
196 Ia32/EnablePaging32.S
197 Ia32/Mwait.S
198 Ia32/Monitor.S
199 Ia32/ReadPmc.S
200 Ia32/ReadTsc.S
201 Ia32/WriteMm7.S
202 Ia32/WriteMm6.S
203 Ia32/WriteMm5.S
204 Ia32/WriteMm4.S
205 Ia32/WriteMm3.S
206 Ia32/WriteMm2.S
207 Ia32/WriteMm1.S
208 Ia32/WriteMm0.S
209 Ia32/ReadMm7.S
210 Ia32/ReadMm6.S
211 Ia32/ReadMm5.S
212 Ia32/ReadMm4.S
213 Ia32/ReadMm3.S
214 Ia32/ReadMm2.S
215 Ia32/ReadMm1.S
216 Ia32/ReadMm0.S
217 Ia32/FxRestore.S
218 Ia32/FxSave.S
219 Ia32/WriteLdtr.S
220 Ia32/ReadLdtr.S
221 Ia32/WriteIdtr.S
222 Ia32/ReadIdtr.S
223 Ia32/WriteGdtr.S
224 Ia32/ReadGdtr.S
225 Ia32/ReadTr.S
226 Ia32/ReadSs.S
227 Ia32/ReadGs.S
228 Ia32/ReadFs.S
229 Ia32/ReadEs.S
230 Ia32/ReadDs.S
231 Ia32/ReadCs.S
232 Ia32/WriteDr7.S
233 Ia32/WriteDr6.S
234 Ia32/WriteDr5.S
235 Ia32/WriteDr4.S
236 Ia32/WriteDr3.S
237 Ia32/WriteDr2.S
238 Ia32/WriteDr1.S
239 Ia32/WriteDr0.S
240 Ia32/ReadDr7.S
241 Ia32/ReadDr6.S
242 Ia32/ReadDr5.S
243 Ia32/ReadDr4.S
244 Ia32/ReadDr3.S
245 Ia32/ReadDr2.S
246 Ia32/ReadDr1.S
247 Ia32/ReadDr0.S
248 Ia32/WriteCr4.S
249 Ia32/WriteCr3.S
250 Ia32/WriteCr2.S
251 Ia32/WriteCr0.S
252 Ia32/ReadCr4.S
253 Ia32/ReadCr3.S
254 Ia32/ReadCr2.S
255 Ia32/ReadCr0.S
256 Ia32/WriteMsr64.S
257 Ia32/ReadMsr64.S
258 Ia32/ReadEflags.S
259 Ia32/CpuIdEx.S
260 Ia32/CpuId.S
261 Ia32/LongJump.S
262 Ia32/SetJump.S
263 Ia32/SwapBytes64.S
264 Ia32/DivU64x64Remainder.S
265 Ia32/DivU64x32Remainder.S
266 Ia32/ModU64x32.S
267 Ia32/DivU64x32.S
268 Ia32/MultU64x64.S
269 Ia32/MultU64x32.S
270 Ia32/RRotU64.S
271 Ia32/LRotU64.S
272 Ia32/ARShiftU64.S
273 Ia32/RShiftU64.S
274 Ia32/LShiftU64.S
275 Ia32/DivS64x64Remainder.c
276 Ia32/InternalSwitchStack.c
277 Ia32/Non-existing.c
278 Unaligned.c
279 x86WriteIdtr.c
280 x86WriteGdtr.c
281 x86Thunk.c
282 x86ReadIdtr.c
283 x86ReadGdtr.c
284 x86Msr.c
285 x86MemoryFence.c
286 x86GetInterruptState.c
287 x86FxSave.c
288 x86FxRestore.c
289 x86EnablePaging64.c
290 x86EnablePaging32.c
291 x86DisablePaging64.c
292 x86DisablePaging32.c
293 Synchronization.c
294 SynchronizationMsc.c
295 SynchronizationGcc.c
296
297 [Sources.X64]
298 X64/Thunk16.asm
299 X64/CpuFlushTlb.asm
300 X64/CpuBreakpoint.c
301 X64/CpuPause.asm
302 X64/CpuSleep.asm
303 X64/EnableDisableInterrupts.asm
304 X64/DisableInterrupts.asm
305 X64/EnableInterrupts.asm
306 X64/InterlockedCompareExchange64.asm
307 X64/InterlockedCompareExchange32.asm
308 X64/InterlockedDecrement.c
309 X64/InterlockedIncrement.c
310 X64/FlushCacheLine.asm
311 X64/Invd.asm
312 X64/Wbinvd.asm
313 X64/DisablePaging64.asm
314 X64/EnablePaging64.asm
315 X64/Mwait.asm
316 X64/Monitor.asm
317 X64/ReadPmc.asm
318 X64/ReadTsc.asm
319 X64/WriteMm7.asm
320 X64/WriteMm6.asm
321 X64/WriteMm5.asm
322 X64/WriteMm4.asm
323 X64/WriteMm3.asm
324 X64/WriteMm2.asm
325 X64/WriteMm1.asm
326 X64/WriteMm0.asm
327 X64/ReadMm7.asm
328 X64/ReadMm6.asm
329 X64/ReadMm5.asm
330 X64/ReadMm4.asm
331 X64/ReadMm3.asm
332 X64/ReadMm2.asm
333 X64/ReadMm1.asm
334 X64/ReadMm0.asm
335 X64/FxRestore.asm
336 X64/FxSave.asm
337 X64/WriteLdtr.asm
338 X64/ReadLdtr.asm
339 X64/WriteIdtr.asm
340 X64/ReadIdtr.asm
341 X64/WriteGdtr.asm
342 X64/ReadGdtr.asm
343 X64/ReadTr.asm
344 X64/ReadSs.asm
345 X64/ReadGs.asm
346 X64/ReadFs.asm
347 X64/ReadEs.asm
348 X64/ReadDs.asm
349 X64/ReadCs.asm
350 X64/WriteDr7.asm
351 X64/WriteDr6.asm
352 X64/WriteDr5.asm
353 X64/WriteDr4.asm
354 X64/WriteDr3.asm
355 X64/WriteDr2.asm
356 X64/WriteDr1.asm
357 X64/WriteDr0.asm
358 X64/ReadDr7.asm
359 X64/ReadDr6.asm
360 X64/ReadDr5.asm
361 X64/ReadDr4.asm
362 X64/ReadDr3.asm
363 X64/ReadDr2.asm
364 X64/ReadDr1.asm
365 X64/ReadDr0.asm
366 X64/WriteCr4.asm
367 X64/WriteCr3.asm
368 X64/WriteCr2.asm
369 X64/WriteCr0.asm
370 X64/ReadCr4.asm
371 X64/ReadCr3.asm
372 X64/ReadCr2.asm
373 X64/ReadCr0.asm
374 X64/WriteMsr64.c
375 X64/ReadMsr64.c
376 X64/ReadEflags.asm
377 X64/CpuIdEx.asm
378 X64/CpuId.asm
379 X64/LongJump.asm
380 X64/SetJump.asm
381 X64/SwitchStack.asm
382 X64/Non-existing.c
383 Math64.c
384 Unaligned.c
385 x86WriteIdtr.c
386 x86WriteGdtr.c
387 x86Thunk.c
388 x86ReadIdtr.c
389 x86ReadGdtr.c
390 x86Msr.c
391 x86MemoryFence.c
392 x86GetInterruptState.c
393 x86FxSave.c
394 x86FxRestore.c
395 x86EnablePaging64.c
396 x86EnablePaging32.c
397 x86DisablePaging64.c
398 x86DisablePaging32.c
399 X64/WriteMsr64.S
400 X64/WriteMm7.S
401 X64/WriteMm6.S
402 X64/WriteMm5.S
403 X64/WriteMm4.S
404 X64/WriteMm3.S
405 X64/WriteMm2.S
406 X64/WriteMm1.S
407 X64/WriteMm0.S
408 X64/WriteLdtr.S
409 X64/WriteIdtr.S
410 X64/WriteGdtr.S
411 X64/WriteDr7.S
412 X64/WriteDr6.S
413 X64/WriteDr5.S
414 X64/WriteDr4.S
415 X64/WriteDr3.S
416 X64/WriteDr2.S
417 X64/WriteDr1.S
418 X64/WriteDr0.S
419 X64/WriteCr4.S
420 X64/WriteCr3.S
421 X64/WriteCr2.S
422 X64/WriteCr0.S
423 X64/Wbinvd.S
424 X64/Thunk16.S
425 X64/SwitchStack.S
426 X64/SetJump.S
427 X64/ReadTsc.S
428 X64/ReadTr.S
429 X64/ReadSs.S
430 X64/ReadPmc.S
431 X64/ReadMsr64.S
432 X64/ReadMm7.S
433 X64/ReadMm6.S
434 X64/ReadMm5.S
435 X64/ReadMm4.S
436 X64/ReadMm3.S
437 X64/ReadMm2.S
438 X64/ReadMm1.S
439 X64/ReadMm0.S
440 X64/ReadLdtr.S
441 X64/ReadIdtr.S
442 X64/ReadGs.S
443 X64/ReadGdtr.S
444 X64/ReadFs.S
445 X64/ReadEs.S
446 X64/ReadEflags.S
447 X64/ReadDs.S
448 X64/ReadDr7.S
449 X64/ReadDr6.S
450 X64/ReadDr5.S
451 X64/ReadDr4.S
452 X64/ReadDr3.S
453 X64/ReadDr2.S
454 X64/ReadDr1.S
455 X64/ReadDr0.S
456 X64/ReadCs.S
457 X64/ReadCr4.S
458 X64/ReadCr3.S
459 X64/ReadCr2.S
460 X64/ReadCr0.S
461 X64/Mwait.S
462 X64/Monitor.S
463 X64/LongJump.S
464 X64/Invd.S
465 X64/InterlockedIncrement.S
466 X64/InterlockedDecrement.S
467 X64/InterlockedCompareExchange64.S
468 X64/InterlockedCompareExchange32.S
469 X64/FxSave.S
470 X64/FxRestore.S
471 X64/FlushCacheLine.S
472 X64/EnablePaging64.S
473 X64/EnableInterrupts.S
474 X64/EnableDisableInterrupts.S
475 X64/DisablePaging64.S
476 X64/DisableInterrupts.S
477 X64/CpuSleep.S
478 X64/CpuPause.S
479 X64/CpuId.S
480 X64/CpuIdEx.S
481 X64/CpuFlushTlb.S
482 X64/CpuBreakpoint.S
483 Synchronization.c
484 SynchronizationMsc.c
485 SynchronizationGcc.c
486
487 [Sources.IPF]
488 Ipf/AccessGp.s
489 Ipf/ReadCpuid.s
490 Ipf/ExecFc.s
491 Ipf/AsmPalCall.s
492 Ipf/AccessPsr.s
493 Ipf/AccessPmr.s
494 Ipf/AccessKr.s
495 Ipf/AccessGcr.s
496 Ipf/AccessEicr.s
497 Ipf/AccessDbr.s
498 Ipf/FlushCacheRange.s
499 Ipf/InternalSwitchStack.c
500 Ipf/GetInterruptState.s
501 Ipf/CpuFlushTlb.s
502 Ipf/CpuPause.s
503 Ipf/Synchronization.c
504 Ipf/InterlockedCompareExchange64.s
505 Ipf/InterlockedCompareExchange32.s
506 Ipf/CpuBreakpoint.c
507 Ipf/Unaligned.c
508 Ipf/SwitchStack.s
509 Ipf/longjmp.s
510 Ipf/setjmp.s
511 Ipf/PalCallStatic.s
512 Ipf/ia_64gen.h
513 Ipf/asm.h
514 Math64.c
515 Synchronization.c
516 SynchronizationMsc.c
517 SynchronizationGcc.c
518
519 [Sources.EBC]
520 Synchronization.c
521 Ebc/Synchronization.c
522 Ebc/CpuBreakpoint.c
523 Ebc/SetJumpLongJump.c
524 Ebc/SwitchStack.c
525 Unaligned.c
526 Math64.c
527
528
529 ################################################################################
530 #
531 # Includes Section - list of Include locations that are required for
532 # this module.
533 #
534 ################################################################################
535
536 [Includes]
537 $(WORKSPACE)/MdePkg\Include/Library
538
539 ################################################################################
540 #
541 # Package Dependency Section - list of Package files that are required for
542 # this module.
543 #
544 ################################################################################
545
546 [Packages]
547 MdePkg/MdePkg.dec
548
549
550 ################################################################################
551 #
552 # Library Class Section - list of Library Classes that are required for
553 # this module.
554 #
555 ################################################################################
556
557 [LibraryClasses]
558 PcdLib
559 TimerLib
560 DebugLib
561 BaseMemoryLib
562
563
564 ################################################################################
565 #
566 # Pcd FIXED_AT_BUILD - list of PCDs that this module is coded for.
567 #
568 ################################################################################
569
570 [PcdsFixedAtBuild.common]
571 PcdSpinLockTimeout|gEfiMdePkgTokenSpaceGuid
572 PcdMaximumLinkedListLength|gEfiMdePkgTokenSpaceGuid
573 PcdMaximumAsciiStringLength|gEfiMdePkgTokenSpaceGuid
574 PcdMaximumUnicodeStringLength|gEfiMdePkgTokenSpaceGuid
575