[Kos-cvs] [kos] Modification CVS par d2

KOS CVS kos-dev <kos-dev@enix.org>
Fri, 22 Aug 2003 23:29:16 +0200 (CEST)


Module :	kos
Modifié par :	d2	22/08/03 23:29:16

Fichiers modifiés :
	.              : ChangeLog MkVars 
	modules/fs/fat : _fat_karm.c 
	modules/ide    : _ide_karm.c 
	modules/karm   : karm.c 
	modules/karm/interface: mapping.h 
	modules/kos    : errno.c errno.h wolfgang.c 
	modules/lib    : Makefile 
	modules/lib/blockfile: Makefile libblockfile.c 
	modules/lib/bst: _splay.c _splay.h libbst.h 
	modules/vmm    : _vmm.h _vmm_as.c _vmm_vr.c vmm.c 
	modules/x86/mm : _vmap.c 
Fichiers ajoutés :
	modules/lib/filemap: Makefile 

Détails :
* modules/arch/mm/_vmap.c (_translate_access_rights): Small bug
when translating access rights.

* modules/vmm/_vmm_vr.c: Slim fast.

* modules/vmm/_vmm_as.c (_as_find_suitable_gap): This function
travels through the address space to find a free gap to create a
new region.
(as_map_ures): This function allows to map an user ressource (open
with the INTERFACE_MAPPING_ID). Doesn't handle MAP_FIXED mappings
yet.
(as_page_fault): Handle page faults, delegating to the underlying
user ressource (page_in method).

* modules/lib/bst/_splay.c,libbst.h: General cleanup + correct
lookup function.

* modules/lib/blockfile/libblockfile.c (lbf_seek, lbf_readwrite):
Same modification as for fat concerning seek and read
semantics. The only difference will be that writes beyond the end
of the device won't enlarge the device.

* modules/kos/wolfgang.c: Added a list of commands to be executed
at startup (init_commands array). Gathered command names, helps
and associated functions in a single array, commands. New help
command.

* modules/fs/fat/_fat_karm.c (fat_file_read, fat_file_seek): Seek
beyond the end of the file is a valid operation. Upcoming reads
will also succeded, with a read size equal to 0.

* MkVars (MODULES): Added module libfilemap.

* modules/karm/README: What is Karm ?

Compile et tourne (y compris le mapping d'un fichier).