Rev 5201 | Rev 5577 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5201 | Rev 5565 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2014. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 5201 $ |
8 | $Revision: 5565 $ |
9 | 9 | ||
10 | 10 | ||
Line 96... | Line 96... | ||
96 | 96 | ||
97 | ; CPU MSR names |
97 | ; CPU MSR names |
98 | MSR_SYSENTER_CS equ 0x174 |
98 | MSR_SYSENTER_CS equ 0x174 |
99 | MSR_SYSENTER_ESP equ 0x175 |
99 | MSR_SYSENTER_ESP equ 0x175 |
- | 100 | MSR_SYSENTER_EIP equ 0x176 |
|
- | 101 | MSR_CR_PAT equ 0x277 |
|
- | 102 | MSR_MTRR_DEF_TYPE equ 0x2FF |
|
100 | MSR_SYSENTER_EIP equ 0x176 |
103 | |
101 | MSR_AMD_EFER equ 0xC0000080 ; Extended Feature Enable Register |
104 | MSR_AMD_EFER equ 0xC0000080 ; Extended Feature Enable Register |
Line 102... | Line 105... | ||
102 | MSR_AMD_STAR equ 0xC0000081 ; SYSCALL/SYSRET Target Address Register |
105 | MSR_AMD_STAR equ 0xC0000081 ; SYSCALL/SYSRET Target Address Register |
103 | 106 | ||
Line 269... | Line 272... | ||
269 | 272 | ||
Line 270... | Line 273... | ||
270 | 273 | ||
271 | PAGE_SIZE equ 4096 |
274 | PAGE_SIZE equ 4096 |
272 | 275 | ||
273 | PG_UNMAP equ 0x000 |
276 | PG_UNMAP equ 0x000 |
274 | PG_MAP equ 0x001 |
277 | PG_READ equ 0x001 |
275 | PG_WRITE equ 0x002 |
278 | PG_WRITE equ 0x002 |
276 | PG_SW equ 0x003 |
279 | PG_USER equ 0x004 |
- | 280 | PG_PCD equ 0x008 |
|
277 | PG_USER equ 0x005 |
281 | PG_PWT equ 0x010 |
278 | PG_UW equ 0x007 |
282 | PG_ACCESSED equ 0x020 |
279 | PG_NOCACHE equ 0x018 |
- | |
280 | PG_LARGE equ 0x080 |
283 | PG_DIRTY equ 0x040 |
Line -... | Line 284... | ||
- | 284 | PG_PAT equ 0x080 |
|
- | 285 | PG_GLOBAL equ 0x100 |
|
- | 286 | PG_SHARED equ 0x200 |
|
- | 287 | ||
- | 288 | PG_SWR equ 0x003 ; (PG_WRITE+PG_READ) |
|
- | 289 | PG_UR equ 0x005 ; (PG_USER+PG_READ) |
|
- | 290 | PG_UWR equ 0x007 ; (PG_USER+PG_WRITE+PG_READ) |
|
- | 291 | PG_NOCACHE equ 0x018 ; (PG_PCD+PG_PWT) |
|
- | 292 | ||
- | 293 | PDE_LARGE equ 0x080 |
|
- | 294 | ||
- | 295 | PAT_WB equ 0x000 |
|
- | 296 | PAT_WC equ 0x008 |
|
- | 297 | PAT_UCM equ 0x010 |
|
- | 298 | PAT_UC equ 0x018 |
|
- | 299 | ||
- | 300 | PAT_TYPE_UC equ 0 |
|
- | 301 | PAT_TYPE_WC equ 1 |
|
- | 302 | PAT_TYPE_WB equ 6 |
|
281 | PG_GLOBAL equ 0x100 |
303 | PAT_TYPE_UCM equ 7 |
Line 282... | Line 304... | ||
282 | 304 | ||
283 | PG_SHARED equ 0x200 |
305 | PAT_VALUE equ 0x00070106; (UC<<24)|(UCM<<16)|(WC<<8)|WB |
284 | 306 | ||
Line 423... | Line 445... | ||
423 | size dd ? ;mapped size |
445 | size dd ? ;mapped size |
424 | refcount dd ? ;reference counter for this process and this lib |
446 | refcount dd ? ;reference counter for this process and this lib |
425 | parent dd ? ;DLLDESCR |
447 | parent dd ? ;DLLDESCR |
426 | ends |
448 | ends |
Line 427... | Line -... | ||
427 | - | ||
428 | struct display_t |
- | |
429 | x dd ? |
- | |
430 | y dd ? |
- | |
431 | width dd ? |
- | |
432 | height dd ? |
- | |
433 | bits_per_pixel dd ? |
- | |
434 | vrefresh dd ? |
- | |
435 | pitch dd ? |
- | |
436 | lfb dd ? |
- | |
437 | - | ||
438 | modes dd ? |
- | |
439 | ddev dd ? |
- | |
440 | connector dd ? |
- | |
441 | crtc dd ? |
- | |
442 | - | ||
443 | cr_list.next dd ? |
- | |
444 | cr_list.prev dd ? |
- | |
445 | - | ||
446 | cursor dd ? |
- | |
447 | - | ||
448 | init_cursor dd ? |
- | |
449 | select_cursor dd ? |
- | |
450 | show_cursor dd ? |
- | |
451 | move_cursor dd ? |
- | |
452 | restore_cursor dd ? |
- | |
453 | disable_mouse dd ? |
- | |
454 | mask_seqno dd ? |
- | |
455 | check_mouse dd ? |
- | |
456 | check_m_pixel dd ? |
- | |
457 | - | ||
458 | bytes_per_pixel dd ? |
- | |
Line 459... | Line 449... | ||
459 | ends |
449 | |
460 | 450 | ||
461 | struct BOOT_DATA |
451 | struct BOOT_DATA |
462 | bpp dd ? |
452 | bpp dd ? |
Line 495... | Line 485... | ||
495 | next dd ? ;next object in list |
485 | next dd ? ;next object in list |
496 | prev dd ? ;prev object in list |
486 | prev dd ? ;prev object in list |
497 | ends |
487 | ends |
Line 498... | Line 488... | ||
498 | 488 | ||
499 | struct MUTEX |
489 | struct MUTEX |
- | 490 | wait_list LHEAD |
|
- | 491 | count dd ? |
|
- | 492 | ends |
|
- | 493 | ||
- | 494 | struct RWSEM |
|
500 | lhead LHEAD |
495 | wait_list LHEAD |
501 | count dd ? |
496 | count dd ? |
Line -... | Line 497... | ||
- | 497 | ends |
|
- | 498 | ||
- | 499 | struct display_t |
|
- | 500 | x dd ? |
|
- | 501 | y dd ? |
|
- | 502 | width dd ? |
|
- | 503 | height dd ? |
|
- | 504 | bits_per_pixel dd ? |
|
- | 505 | vrefresh dd ? |
|
- | 506 | lfb dd ? |
|
- | 507 | lfb_pitch dd ? |
|
- | 508 | ||
- | 509 | win_map_lock RWSEM |
|
- | 510 | win_map dd ? |
|
- | 511 | win_map_pitch dd ? |
|
- | 512 | win_map_size dd ? |
|
- | 513 | ||
- | 514 | modes dd ? |
|
- | 515 | ddev dd ? |
|
- | 516 | connector dd ? |
|
- | 517 | crtc dd ? |
|
- | 518 | ||
- | 519 | cr_list.next dd ? |
|
- | 520 | cr_list.prev dd ? |
|
- | 521 | ||
- | 522 | cursor dd ? |
|
- | 523 | ||
- | 524 | init_cursor dd ? |
|
- | 525 | select_cursor dd ? |
|
- | 526 | show_cursor dd ? |
|
- | 527 | move_cursor dd ? |
|
- | 528 | restore_cursor dd ? |
|
- | 529 | disable_mouse dd ? |
|
- | 530 | mask_seqno dd ? |
|
- | 531 | check_mouse dd ? |
|
- | 532 | check_m_pixel dd ? |
|
- | 533 | ||
- | 534 | bytes_per_pixel dd ? |
|
- | 535 | ends |
|
502 | ends |
536 | |
503 | 537 | ||
504 | struct PCIDEV |
538 | struct PCIDEV |
505 | bk dd ? |
539 | bk dd ? |
506 | fd dd ? |
540 | fd dd ? |