memory organization undergo major modification - user process use mapped virtual...
commit6ad5f585fd20c5523708047458c1ecfe5900472c
authorTomas 'ZeXx86' Jedrzejek <zexx86@gmail.com>
Sun, 28 Dec 2008 11:56:11 +0000 (28 12:56 +0100)
committerTomas 'ZeXx86' Jedrzejek <zexx86@gmail.com>
Sun, 28 Dec 2008 11:56:11 +0000 (28 12:56 +0100)
treecba8aee8a27dfcca6121b6bc9fa95180793c451c
parent08ffa562f243db9a08fe59df06c280a1f2d7ec42
memory organization undergo major modification - user process use mapped virtual address what
begin at 0x400000 - 4MB; added new memory allocator called swmem what works with page aligned
memory, where page are preset to size 8kB, should be much faster then pmalloc/pfree; swmem is
used in allocation of process image memory and at last with connection of proc_mmap (); ELF
loader was improved and fixed recognization of sections and their virtual address; some
system calls were modified for interprocess exist; system call number 46 is deprecated now,
because process mmap is called before it is started; all linker ld scripts was modified -
0x400000 virtual address, .rodata was moved before .bss and .text section start at 0x401000;
tutorial app directory structure was modified for standard; cleanup in floppy driver
(deleted unusefull debug messages); next small cleanups in code
77 files changed:
apps/calc/Makefile
apps/calc/link.ld
apps/calc/main.c
apps/calc/start.asm
apps/edit/Makefile
apps/edit/link.ld
apps/edit/start.asm
apps/im/src/platform/zexos/link.ld
apps/im/src/platform/zexos/start.asm
apps/imgshow/link.ld
apps/imgshow/start.asm
apps/invaders/link.ld
apps/invaders/start.asm
apps/irc/link.ld
apps/irc/start.asm
apps/nc/Makefile
apps/nc/link.ld
apps/nc/main.c
apps/nc/start.asm
apps/openchess/src/platform/zexos/link.ld
apps/openchess/src/platform/zexos/start.asm
apps/pacman/link.ld
apps/pacman/start.asm
apps/sh/Makefile
apps/sh/link.ld
apps/sh/main.c
apps/sh/start.asm
apps/telnetd/console.c
apps/telnetd/link.ld
apps/telnetd/net.c
apps/telnetd/start.asm
apps/trigame/link.ld
apps/trigame/start.asm
apps/tutorial/Makefile [moved from apps/tutorial/myapp/Makefile with 68% similarity]
apps/tutorial/README [new file with mode: 0644]
apps/tutorial/link.ld [new file with mode: 0644]
apps/tutorial/main.c [moved from apps/tutorial/myapp/main.c with 100% similarity]
apps/tutorial/make_img.sh
apps/tutorial/myapp/link.ld [deleted file]
apps/tutorial/myapp/start.asm [deleted file]
apps/tutorial/start.asm [copied from apps/im/src/platform/zexos/start.asm with 94% similarity]
apps/tuxanci/link.ld
apps/tuxanci/start.asm
apps/webcl/link.ld
apps/webcl/start.asm
apps/websrv/Makefile
apps/websrv/link.ld
apps/websrv/net.c
apps/websrv/start.asm
apps/wm/link.ld
apps/wm/start.asm
apps/zasm/Makefile
apps/zasm/link.ld
apps/zasm/start.asm
apps/zde/link.ld
apps/zde/start.asm [changed mode: 0755->0644]
kernel/.config
kernel/arch/i386/paging.c
kernel/arch/i386/syscall.c
kernel/core/commands.c
kernel/core/console.c
kernel/core/elf.c
kernel/core/mm/kmem.c
kernel/core/mm/kzmem.c
kernel/core/mm/pmem.c
kernel/core/mm/swmem.c [new file with mode: 0644]
kernel/core/mm/vmem.c [deleted file]
kernel/core/proc.c
kernel/core/sched.c
kernel/drivers/block/floppy.c
kernel/drivers/char/kbd/kbd.c
kernel/drivers/char/kbd/kbd.h
kernel/drivers/fs/fat.c
kernel/drivers/fs/fat16.c
kernel/include/paging.h
kernel/include/system.h
kernel/kernel.mak