Rev 8150 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8150 | Rev 9227 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2020. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2020-2021. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Version 2, or (at your option) any later version. ;; |
5 | ;; Version 2, or (at your option) any later version. ;; |
6 | ;; ;; |
6 | ;; ;; |
- | 7 | ;; Written by Ivan Baravy ;; |
|
- | 8 | ;; ;; |
|
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
9 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
8 | ;; ;; |
10 | ;; ;; |
9 | ;; Based on UEFI library for fasm by bzt, Public Domain. ;; |
11 | ;; Based on UEFI library for fasm by bzt, Public Domain. ;; |
10 | ;; ;; |
12 | ;; ;; |
11 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
13 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 94... | Line 96... | ||
94 | 0x8e,0x39,0x00,0xa0,0xc9,0x69,0x72,0x3b |
96 | 0x8e,0x39,0x00,0xa0,0xc9,0x69,0x72,0x3b |
Line 95... | Line 97... | ||
95 | 97 | ||
96 | EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID equ 0xde,0xa9,0x42,0x90,0xdc,0x23,0x38,0x4a, \ |
98 | EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID equ 0xde,0xa9,0x42,0x90,0xdc,0x23,0x38,0x4a, \ |
Line -... | Line 99... | ||
- | 99 | 0x96,0xfb,0x7a,0xde,0xd0,0x80,0x51,0x6a |
|
- | 100 | ||
- | 101 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_GUID equ 0xBB, 0x7E, 0x70, 0x2F, \ |
|
- | 102 | 0x1A, 0x4A, 0xd4, 0x11, \ |
|
- | 103 | 0x9A, 0x38, 0x00, 0x90, \ |
|
97 | 0x96,0xfb,0x7a,0xde,0xd0,0x80,0x51,0x6a |
104 | 0x27, 0x3F, 0xC1, 0x4D |
98 | 105 | ||
99 | EFI_FILE_MODE_READ = 1 |
106 | EFI_FILE_MODE_READ = 1 |
Line 100... | Line 107... | ||
100 | EFI_FILE_MODE_WRITE = 2 |
107 | EFI_FILE_MODE_WRITE = 2 |
Line 268... | Line 275... | ||
268 | VerticalResolution dd ? |
275 | VerticalResolution dd ? |
269 | PixelFormat dd ? |
276 | PixelFormat dd ? |
270 | PixelInformation EFI_PIXEL_BITMASK |
277 | PixelInformation EFI_PIXEL_BITMASK |
271 | PixelsPerScanLine dd ? |
278 | PixelsPerScanLine dd ? |
272 | ends |
279 | ends |
- | 280 | ||
- | 281 | struct PCI_ROOT_BRIDGE_IO_PROTOCOL_ACCESS |
|
- | 282 | Read DN ? |
|
- | 283 | Write DN ? |
|
- | 284 | ends |
|
- | 285 | ||
- | 286 | struct EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL |
|
- | 287 | ParentHandle DN ? ; EFI_HANDLE |
|
- | 288 | PollMem DN ? |
|
- | 289 | PollIo DN ? |
|
- | 290 | Mem PCI_ROOT_BRIDGE_IO_PROTOCOL_ACCESS |
|
- | 291 | Io PCI_ROOT_BRIDGE_IO_PROTOCOL_ACCESS |
|
- | 292 | Pci PCI_ROOT_BRIDGE_IO_PROTOCOL_ACCESS |
|
- | 293 | CopyMem DN ? |
|
- | 294 | Map DN ? |
|
- | 295 | Unmap DN ? |
|
- | 296 | AllocateBuffer DN ? |
|
- | 297 | FreeBuffer DN ? |
|
- | 298 | Flush DN ? |
|
- | 299 | GetAttributes DN ? |
|
- | 300 | SetAttributes DN ? |
|
- | 301 | Configuration DN ? |
|
- | 302 | SegmentNumber dd ? |
|
- | 303 | ends |
|
- | 304 | ||
- | 305 | struct EFI_QWORD_ADDRESS_SPACE_DESCRIPTOR ; described in acpi spec |
|
- | 306 | Type db ? |
|
- | 307 | Length dw ? |
|
- | 308 | ResourceType db ? |
|
- | 309 | GeneralFlags db ? |
|
- | 310 | SpecificFlags db ? |
|
- | 311 | Granularity dq ? |
|
- | 312 | RangeMinimum dq ? |
|
- | 313 | RangeMaximum dq ? |
|
- | 314 | TranslationOffset dq ? |
|
- | 315 | AddressLength dq ? |
|
- | 316 | ends |
|
- | 317 | ||
- | 318 | EFI_RESOURCE_DESCRIPTOR_TYPE.QWORD_ADDRESS_SPACE = 0x8a |
|
- | 319 | EFI_RESOURCE_DESCRIPTOR_TYPE.END_TAG = 0x79 |
|
- | 320 | ||
- | 321 | EFI_RESOURCE_TYPE.MEMORY = 0 |
|
- | 322 | EFI_RESOURCE_TYPE.IO = 1 |
|
- | 323 | EFI_RESOURCE_TYPE.BUS = 2 |