mmap

  1. K

    Solved mmap full access to the first megabyte for DOS mode

    Hello, Is it possible to grant full access to the first megabyte of memory for DOS mode? I'm looking for the FreeBSD equivalent of what is # sysctl -w vm.mmap_min_addr="0" in Linux. For context, I'm trying to run an old Windows program in Wine. It gives me the following error message...
  2. Y

    C mmap() /dev/ada drive or partition?

    I'd like to mmap a raw /dev/ada drive or partition, but mmap returns "Invalid argument". Is it unsupported? int fd = open("/dev/ada0p2", O_RDONLY); if(fd < 0) err(EX_OSERR, "open"); void *p = mmap(0, 32*1024*1024, PROT_READ, MAP_SHARED, fd, 0); if(p == MAP_FAILED) err(EX_OSERR...
  3. V

    C MMap in FreeBSD 11

    Hi , I have question about mmap and /dev/mem in the FreeBSD 11. We found, that ours applications does not work correct in the 11 - there is a problem with mapping physical memory via mmap and /dev/mem device - we are receiving "Permission Denied" error. Is there any important change in the new...
Back
Top