Lines Matching full:djgpp
2 * The PCI Library -- Physical memory mapping for DJGPP
16 #include <stdio.h> /* for __DJGPP__ and __DJGPP_MINOR__, available since DJGPP v2.02 and defined in…
25 #define EOVERFLOW 40 /* defined since DJGPP v2.04 */
39 * Unfortunately DJGPP prior to 2.6 has broken memalign() function, in aligned_alloc()
40 * so for older DJGPP versions use malloc() with manual aligning. in aligned_alloc()
56 * DJGPP malloc()'ed ptr_alloc is aligned to 8 bytes, our ptr_alloc is in aligned_alloc()
82 * Find a DJGPP's sbrk memory handle which belongs to the ptr address pointer in find_sbrk_memory_handle()
83 * and detects size of this memory handle. DJGPP since v2.04 has arrays in find_sbrk_memory_handle()
85 * ranges which can be simple traversed. Older DJGPP versions have only in find_sbrk_memory_handle()
87 * passed pointer belongs. So finding the size of the memory handle for DJGPP in find_sbrk_memory_handle()
104 * DJGPP's __djgpp_memory_handle_list[] structure. in find_sbrk_memory_handle()
116 * corruption in DJGPP's __djgpp_memory_handle_list[] structure. in find_sbrk_memory_handle()
223 …pci_define_param(a, "devmem.path", "auto", "DJGPP physical memory access method: auto, devmap, phy… in physmem_init_config()
328 * DJGPP prior to 2.6 has semi-broken __djgpp_nearptr_enable() function. in physmem_open()
330 * older DJGPP versions call __djgpp_nearptr_disable() which fixes it. in physmem_open()
418 * __djgpp_map_physical_memory() function is DJGPP wrapper around in physmem_map()
421 * DJGPP sbrk() or malloc() allocator returns continuous memory range in physmem_map()
438 * DJGPP version v2.5 this function has suboptimal implementation. Its in physmem_map()
447 * is managed by DJGPP sbrk allocator. So allocate page-aligned range in physmem_map()
456 * Unfortunately this is the only way because DJGPP sbrk allocator does in physmem_map()
458 * memory which is not backed by the RAM. Even if DJGPP sbrk code is in physmem_map()
461 * supported by DPMI hosts, even the default DJGPP's CWSDPMI does not in physmem_map()
511 * address below 1 MB to DJGPP's accessible linear address range. in physmem_map()
531 * Save __dpmi_error because any DJGPP function may change in physmem_map()
574 * Save __dpmi_error because any DJGPP function may change in physmem_map()
659 * value 0x0800. For example this is behavior of the default DJGPP's in physmem_map()
719 * DJGPP CRT code on paging DPMI hosts enables NULL pointer protection by in physmem_map()
729 * DPMI 0.9 hosts. In this case DJGPP CRT code did not enable NULL pointer in physmem_map()
775 * There is a DJGPP function __djgpp_set_page_attributes() which sets page in physmem_unmap()
876 * returned back to the DJGPP sbrk pool. in physmem_unmap()
895 * DJGPP's CWSDPMI does not support it. But few alternative DPMI host like in physmem_unmap()