Remove /dev/mem, /dev/kmem, /dev/port support.

* Makefile.in (DLL_OFILES): Drop fhandler_mem.o.
	(fhandler_mem_CFLAGS): Remove rule.
	* devices.in (enum fh_devices): Remove FH_MEM, FH_KMEM and FH_PORT.
	* devices.cc: Regenerate.
	* dtable.cc (fh_alloc): Drop handling for FH_MEM, FH_KMEM and FH_PORT.
	* fhandler.h (class fhandler_dev_mem): Remove.
	* fhandler_mem.cc: Remove file.
	* globals.cc (ro_u_pmem): Remove.
	* mmap.cc (fhandler_dev_mem::mmap): Remove.
	(fhandler_dev_mem::munmap): Remove.
	(fhandler_dev_mem::fixup_mmap_after_fork): Remove.
This commit is contained in:
Corinna Vinschen
2013-07-15 13:54:27 +00:00
parent 7ea982e75a
commit 4c4693008a
11 changed files with 2575 additions and 3009 deletions

View File

@ -232,10 +232,7 @@ enum fh_devices
FH_SDDX = FHDEV (DEV_SD7_MAJOR, 240),
DEV_MEM_MAJOR = 1,
FH_MEM = FHDEV (DEV_MEM_MAJOR, 1),
FH_KMEM = FHDEV (DEV_MEM_MAJOR, 2), /* not implemented yet */
FH_NULL = FHDEV (DEV_MEM_MAJOR, 3),
FH_PORT = FHDEV (DEV_MEM_MAJOR, 4),
FH_ZERO = FHDEV (DEV_MEM_MAJOR, 5),
FH_FULL = FHDEV (DEV_MEM_MAJOR, 7),
FH_RANDOM = FHDEV (DEV_MEM_MAJOR, 8),