Changeset 13 for trunk/src/os2ahci/pci.c
- Timestamp:
- Sep 14, 2010, 10:07:59 AM (15 years ago)
- Location:
- trunk/src/os2ahci
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/pci.c
r12 r13 483 483 UCHAR dev_func = data->find_class.dev_func; 484 484 ULONG val; 485 UCHAR rc; 485 486 SEL gdt[PORT_DMA_BUF_SEGS + 1]; 486 487 char tmp[40]; … … 829 830 { 830 831 void (_far *func)(void); 831 unsigned short prot_idc_DS;832 832 RP_GENIOCTL ioctl; 833 833 … … 867 867 func = oemhlp.ProtIDCEntry; 868 868 869 /* MT: the Watcom inline assembler does not support struct member reference,870 * so we have to pass it in a stack variable871 */872 prot_idc_DS = oemhlp.ProtIDC_DS;873 874 869 _asm { 875 870 push ds; … … 882 877 pop es 883 878 lea bx, ioctl; 884 mov ds, prot_idc_DS;879 mov ds, oemhlp.ProtIDC_DS; 885 880 call dword ptr [func]; 886 881
Note:
See TracChangeset
for help on using the changeset viewer.