4 void dpmi_real_int(int inum, struct dpmi_real_regs *regs)
6 unsigned char int_num = (unsigned char)inum;
17 void *dpmi_mmap(uint32_t phys_addr, unsigned int size)
19 uint16_t mem_high, mem_low;
20 uint16_t phys_high = phys_addr >> 16;
21 uint16_t phys_low = phys_addr & 0xffff;
22 uint16_t size_high = size >> 16;
23 uint16_t size_low = size & 0xffff;
24 unsigned int err, res = 0;
42 return (void*)(((uint32_t)mem_high << 16) | ((uint32_t)mem_low));
45 void dpmi_munmap(void *addr)
47 uint16_t mem_high = (uint32_t)addr >> 16;
48 uint16_t mem_low = (uint16_t)addr;
58 int stop_gcc_crying_about_empty_translation_units = 0;
59 #endif /* __WATCOM__ */