From 48743e39650eb1ef988380e9d95f27fd40d3a9ce Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 7 Feb 2012 17:25:05 +0800 Subject: [PATCH] Sorting source tree a bit --- {Kernel => KernelLand/Kernel}/.gitignore | 0 {Kernel => KernelLand/Kernel}/Doxyfile | 0 {Kernel => KernelLand/Kernel}/Doxyfile.api | 0 .../Kernel}/DoxygenLayout.xml | 0 {Kernel => KernelLand/Kernel}/GenSyscalls.php | 0 {Kernel => KernelLand/Kernel}/GenSyscalls.pl | 0 {Kernel => KernelLand/Kernel}/Makefile | 0 {Kernel => KernelLand/Kernel}/adt.c | 0 {Kernel => KernelLand/Kernel}/arch/archdoc.h | 0 .../Kernel}/arch/armv7/Makefile | 0 .../Kernel}/arch/armv7/debug.c | 0 .../Kernel}/arch/armv7/include/arch.h | 0 .../Kernel}/arch/armv7/include/assembly.h | 0 .../Kernel}/arch/armv7/include/lock.h | 0 .../Kernel}/arch/armv7/include/mm_virt.h | 0 .../Kernel}/arch/armv7/include/options.h | 0 .../Kernel}/arch/armv7/include/proc.h | 0 .../Kernel}/arch/armv7/lib.S | 0 .../Kernel}/arch/armv7/lib.c | 0 .../Kernel}/arch/armv7/link.ld | 0 .../Kernel}/arch/armv7/main.c | 0 .../Kernel}/arch/armv7/mm_phys.c | 0 .../Kernel}/arch/armv7/mm_virt.c | 0 .../Kernel}/arch/armv7/pci.c | 0 .../Kernel}/arch/armv7/proc.S | 0 .../Kernel}/arch/armv7/proc.c | 0 .../Kernel}/arch/armv7/start.S | 0 .../Kernel}/arch/armv7/time.c | 0 {Kernel => KernelLand/Kernel}/arch/helpers.h | 0 .../Kernel}/arch/m68k/Makefile | 0 .../Kernel}/arch/m68k/debug.c | 0 .../Kernel}/arch/m68k/include/arch.h | 0 .../Kernel}/arch/m68k/include/mm_virt.h | 0 .../Kernel}/arch/m68k/include/proc.h | 0 {Kernel => KernelLand/Kernel}/arch/m68k/lib.c | 0 .../Kernel}/arch/m68k/link.ld | 0 .../Kernel}/arch/m68k/main.c | 0 .../Kernel}/arch/m68k/mm_phys.c | 0 .../Kernel}/arch/m68k/mm_virt.c | 0 .../Kernel}/arch/m68k/proc.c | 0 .../Kernel}/arch/m68k/time.c | 0 .../Kernel}/arch/x86/Makefile | 0 .../Kernel}/arch/x86/desctab.asm | 0 .../Kernel}/arch/x86/errors.c | 0 .../Kernel}/arch/x86/include/arch.h | 0 .../Kernel}/arch/x86/include/arch_int.h | 0 .../Kernel}/arch/x86/include/desctab.h | 0 .../Kernel}/arch/x86/include/mm_phys.h | 0 .../Kernel}/arch/x86/include/mm_virt.h | 0 .../Kernel}/arch/x86/include/mp.h | 0 .../Kernel}/arch/x86/include/multiboot2.h | 0 .../Kernel}/arch/x86/include/proc.h | 0 .../Kernel}/arch/x86/include/vm8086.h | 0 {Kernel => KernelLand/Kernel}/arch/x86/irq.c | 0 .../Kernel}/arch/x86/kpanic.c | 0 {Kernel => KernelLand/Kernel}/arch/x86/lib.c | 0 .../Kernel}/arch/x86/link.ld | 0 {Kernel => KernelLand/Kernel}/arch/x86/main.c | 0 .../Kernel}/arch/x86/mm_phys.c | 0 .../Kernel}/arch/x86/mm_virt.c | 0 {Kernel => KernelLand/Kernel}/arch/x86/pci.c | 0 .../Kernel}/arch/x86/proc.asm | 0 {Kernel => KernelLand/Kernel}/arch/x86/proc.c | 0 .../Kernel}/arch/x86/start.asm | 0 {Kernel => KernelLand/Kernel}/arch/x86/time.c | 0 .../Kernel}/arch/x86/vm8086.c | 0 .../Kernel}/arch/x86_64/Makefile | 0 .../Kernel}/arch/x86_64/desctab.asm | 0 .../Kernel}/arch/x86_64/errors.c | 0 .../Kernel}/arch/x86_64/include/arch.h | 0 .../Kernel}/arch/x86_64/include/arch_config.h | 0 .../arch/x86_64/include/common.inc.asm | 0 .../Kernel}/arch/x86_64/include/desctab.h | 0 .../Kernel}/arch/x86_64/include/mm_virt.h | 0 .../Kernel}/arch/x86_64/include/proc.h | 0 .../Kernel}/arch/x86_64/include/vm8086.h | 0 .../Kernel}/arch/x86_64/kernelpanic.c | 0 .../Kernel}/arch/x86_64/lib.c | 0 .../Kernel}/arch/x86_64/link.ld | 0 .../Kernel}/arch/x86_64/main.c | 0 .../Kernel}/arch/x86_64/mm_phys.c | 0 .../Kernel}/arch/x86_64/mm_virt.c | 0 .../Kernel}/arch/x86_64/pci.c | 0 .../Kernel}/arch/x86_64/proc.asm | 0 .../Kernel}/arch/x86_64/proc.c | 0 .../Kernel}/arch/x86_64/rme.c | 0 .../Kernel}/arch/x86_64/rme.h | 0 .../Kernel}/arch/x86_64/start32.asm | 0 .../Kernel}/arch/x86_64/start64.asm | 0 .../Kernel}/arch/x86_64/time.c | 0 .../Kernel}/arch/x86_64/vm8086.c | 0 {Kernel => KernelLand/Kernel}/bin/README | 0 {Kernel => KernelLand/Kernel}/bin/elf.c | 0 {Kernel => KernelLand/Kernel}/bin/elf.h | 0 {Kernel => KernelLand/Kernel}/bin/pe.c | 0 {Kernel => KernelLand/Kernel}/bin/pe.h | 0 {Kernel => KernelLand/Kernel}/binary.c | 0 {Kernel => KernelLand/Kernel}/debug.c | 0 {Kernel => KernelLand/Kernel}/drv/Makefile | 0 {Kernel => KernelLand/Kernel}/drv/fifo.c | 0 {Kernel => KernelLand/Kernel}/drv/iocache.c | 0 {Kernel => KernelLand/Kernel}/drv/pci.c | 0 {Kernel => KernelLand/Kernel}/drv/proc.c | 0 {Kernel => KernelLand/Kernel}/drv/vterm.c | 0 {Kernel => KernelLand/Kernel}/drv/vterm.h | 0 .../Kernel}/drv/vterm_font.c | 0 .../Kernel}/drv/vterm_font_8x16.h | 0 .../Kernel}/drv/vterm_font_8x8.h | 0 .../Kernel}/drv/vterm_input.c | 0 .../Kernel}/drv/vterm_output.c | 0 .../Kernel}/drv/vterm_termbuf.c | 0 .../Kernel}/drv/vterm_vt100.c | 0 {Kernel => KernelLand/Kernel}/drvutil.c | 0 {Kernel => KernelLand/Kernel}/events.c | 0 {Kernel => KernelLand/Kernel}/heap.c | 0 {Kernel => KernelLand/Kernel}/include/acess.h | 0 {Kernel => KernelLand/Kernel}/include/adt.h | 0 .../Kernel}/include/api_drv_common.h | 0 .../Kernel}/include/api_drv_disk.h | 0 .../Kernel}/include/api_drv_joystick.h | 0 .../Kernel}/include/api_drv_keyboard.h | 0 .../Kernel}/include/api_drv_network.h | 0 .../Kernel}/include/api_drv_terminal.h | 0 .../Kernel}/include/api_drv_video.h | 0 .../Kernel}/include/apidoc/arch_x86.h | 0 .../Kernel}/include/apidoc_mainpage.h | 0 .../Kernel}/include/binary.h | 0 .../Kernel}/include/binary_ext.h | 0 .../Kernel}/include/drv_pci.h | 0 .../Kernel}/include/drv_pci_int.h | 0 {Kernel => KernelLand/Kernel}/include/errno.h | 0 .../Kernel}/include/events.h | 0 .../Kernel}/include/fs_devfs.h | 0 .../Kernel}/include/fs_sysfs.h | 0 .../Kernel}/include/hal_proc.h | 0 {Kernel => KernelLand/Kernel}/include/heap.h | 0 .../Kernel}/include/heap_int.h | 0 {Kernel => KernelLand/Kernel}/include/init.h | 0 .../Kernel}/include/iocache.h | 0 .../Kernel}/include/lib/keyvalue.h | 0 {Kernel => KernelLand/Kernel}/include/mboot.h | 0 .../Kernel}/include/modules.h | 0 {Kernel => KernelLand/Kernel}/include/mutex.h | 0 .../Kernel}/include/semaphore.h | 0 .../Kernel}/include/signal.h | 0 .../Kernel}/include/syscalls.h | 0 .../Kernel}/include/syscalls.inc.asm | 0 .../Kernel}/include/threads.h | 0 .../Kernel}/include/threads_int.h | 0 .../Kernel}/include/timers.h | 0 .../Kernel}/include/tpl_mm_phys_bitmap.h | 0 .../Kernel}/include/tpl_mm_phys_stack.h | 0 {Kernel => KernelLand/Kernel}/include/vfs.h | 0 .../Kernel}/include/vfs_ext.h | 0 .../Kernel}/include/vfs_int.h | 0 .../Kernel}/include/vfs_ramfs.h | 0 .../Kernel}/include/vfs_threads.h | 0 .../Kernel}/include/workqueue.h | 0 {Kernel => KernelLand/Kernel}/lib.c | 0 {Kernel => KernelLand/Kernel}/logging.c | 0 {Kernel => KernelLand/Kernel}/messages.c | 0 {Kernel => KernelLand/Kernel}/modules.c | 0 {Kernel => KernelLand/Kernel}/mutex.c | 0 {Kernel => KernelLand/Kernel}/semaphore.c | 0 {Kernel => KernelLand/Kernel}/syscalls.c | 0 {Kernel => KernelLand/Kernel}/syscalls.lst | 0 {Kernel => KernelLand/Kernel}/system.c | 0 {Kernel => KernelLand/Kernel}/threads.c | 0 {Kernel => KernelLand/Kernel}/time.c | 0 {Kernel => KernelLand/Kernel}/vfs/acls.c | 0 {Kernel => KernelLand/Kernel}/vfs/dir.c | 0 {Kernel => KernelLand/Kernel}/vfs/fs/devfs.c | 0 {Kernel => KernelLand/Kernel}/vfs/fs/root.c | 0 {Kernel => KernelLand/Kernel}/vfs/handle.c | 0 {Kernel => KernelLand/Kernel}/vfs/io.c | 0 {Kernel => KernelLand/Kernel}/vfs/main.c | 0 {Kernel => KernelLand/Kernel}/vfs/memfile.c | 0 {Kernel => KernelLand/Kernel}/vfs/mmap.c | 0 {Kernel => KernelLand/Kernel}/vfs/mount.c | 0 {Kernel => KernelLand/Kernel}/vfs/nodecache.c | 0 {Kernel => KernelLand/Kernel}/vfs/open.c | 0 {Kernel => KernelLand/Kernel}/vfs/select.c | 0 {Kernel => KernelLand/Kernel}/workqueue.c | 0 .../Modules}/Display/BochsGA/Makefile | 0 .../Modules}/Display/BochsGA/bochsvbe.c | 0 .../Modules}/Display/Makefile.tpl | 0 .../Modules}/Display/PL110/Makefile | 0 .../Modules}/Display/PL110/main.c | 0 .../Modules}/Display/Tegra2Vid/Makefile | 0 .../Modules}/Display/Tegra2Vid/main.c | 0 .../Modules}/Display/Tegra2Vid/tegra2.h | 0 .../Modules}/Display/VESA/Makefile | 0 .../Modules}/Display/VESA/common.h | 0 .../Modules}/Display/VESA/main.c | 0 .../Modules}/Filesystems/Ext2/Makefile | 0 .../Modules}/Filesystems/Ext2/dir.c | 0 .../Modules}/Filesystems/Ext2/ext2.c | 0 .../Modules}/Filesystems/Ext2/ext2_common.h | 0 .../Modules}/Filesystems/Ext2/ext2fs.h | 0 .../Modules}/Filesystems/Ext2/read.c | 0 .../Modules}/Filesystems/Ext2/write.c | 0 .../Modules}/Filesystems/FAT/Makefile | 0 .../Modules}/Filesystems/FAT/fat.c | 0 .../Modules}/Filesystems/FAT/fs_fat.h | 0 .../Filesystems/InitRD/GenerateInitRD.php | 0 .../Modules}/Filesystems/InitRD/Makefile | 0 .../Modules}/Filesystems/InitRD/files.lst | 0 .../Modules}/Filesystems/InitRD/initrd.h | 0 .../Modules}/Filesystems/InitRD/main.c | 0 KernelLand/Modules/Filesystems/LEAN/common.h | 101 ++++++++++ KernelLand/Modules/Filesystems/LEAN/main.c | 18 ++ .../Modules}/Filesystems/Makefile.tpl | 0 .../Modules}/Filesystems/NFS/Makefile | 0 .../Modules}/Filesystems/NFS/common.h | 0 .../Modules}/Filesystems/NFS/main.c | 0 .../Modules}/Filesystems/NTFS/Makefile | 0 .../Modules}/Filesystems/NTFS/attributes.h | 0 .../Modules}/Filesystems/NTFS/common.h | 0 .../Modules}/Filesystems/NTFS/dir.c | 0 .../Modules}/Filesystems/NTFS/index.h | 0 .../Modules}/Filesystems/NTFS/main.c | 0 .../Modules}/IPStack/Makefile | 0 {Modules => KernelLand/Modules}/IPStack/arp.c | 0 {Modules => KernelLand/Modules}/IPStack/arp.h | 0 .../Modules}/IPStack/firewall.c | 0 .../Modules}/IPStack/firewall.h | 0 .../Modules}/IPStack/icmp.c | 0 .../Modules}/IPStack/icmp.h | 0 .../Modules}/IPStack/interface.c | 0 .../Modules}/IPStack/ipstack.h | 0 .../Modules}/IPStack/ipv4.c | 0 .../Modules}/IPStack/ipv4.h | 0 .../Modules}/IPStack/ipv6.c | 0 .../Modules}/IPStack/ipv6.h | 0 .../Modules}/IPStack/link.c | 0 .../Modules}/IPStack/link.h | 0 .../Modules}/IPStack/main.c | 0 .../Modules}/IPStack/routing.c | 0 .../Modules}/IPStack/sctp.c | 0 {Modules => KernelLand/Modules}/IPStack/tcp.c | 0 {Modules => KernelLand/Modules}/IPStack/tcp.h | 0 {Modules => KernelLand/Modules}/IPStack/udp.c | 0 {Modules => KernelLand/Modules}/IPStack/udp.h | 0 .../Modules}/Input/Makefile.tpl | 0 .../Modules}/Input/PS2KbMouse/8042.c | 0 .../Modules}/Input/PS2KbMouse/Makefile | 0 .../Modules}/Input/PS2KbMouse/common.h | 0 .../Modules}/Input/PS2KbMouse/kb.c | 0 .../Modules}/Input/PS2KbMouse/kb_kbdus.h | 0 .../Modules}/Input/PS2KbMouse/main.c | 0 .../Modules}/Input/PS2KbMouse/pl050.c | 0 .../Modules}/Input/PS2KbMouse/ps2mouse.c | 0 .../Modules}/Interfaces/EDI/Makefile | 0 .../Modules}/Interfaces/EDI/edi/acess-edi.h | 0 .../Modules}/Interfaces/EDI/edi/edi.h | 0 .../Modules}/Interfaces/EDI/edi/edi_devices.h | 0 .../Interfaces/EDI/edi/edi_dma_streams.h | 0 .../Interfaces/EDI/edi/edi_interrupts.h | 0 .../Interfaces/EDI/edi/edi_memory_mapping.h | 0 .../Modules}/Interfaces/EDI/edi/edi_objects.h | 0 .../Modules}/Interfaces/EDI/edi/edi_port_io.h | 0 .../Interfaces/EDI/edi/edi_pthreads.h | 0 .../Modules}/Interfaces/EDI/edi/helpers.h | 0 .../Modules}/Interfaces/EDI/edi_int.inc.c | 0 .../Modules}/Interfaces/EDI/edi_io.inc.c | 0 .../Modules}/Interfaces/EDI/main.c | 0 .../Modules}/Interfaces/Makefile.tpl | 0 .../Modules}/Interfaces/UDI/Makefile | 0 .../Modules}/Interfaces/UDI/Notes.txt | 0 .../Modules}/Interfaces/UDI/buf.c | 0 .../Modules}/Interfaces/UDI/cb.c | 0 .../Modules}/Interfaces/UDI/imc.c | 0 .../Interfaces/UDI/include/physio/meta_bus.h | 0 .../Interfaces/UDI/include/physio/meta_intr.h | 0 .../Interfaces/UDI/include/physio/pio.h | 0 .../Modules}/Interfaces/UDI/include/udi.h | 0 .../Interfaces/UDI/include/udi/arch/x86.h | 0 .../Interfaces/UDI/include/udi/attr.h | 0 .../Modules}/Interfaces/UDI/include/udi/buf.h | 0 .../Modules}/Interfaces/UDI/include/udi/cb.h | 0 .../Modules}/Interfaces/UDI/include/udi/imc.h | 0 .../Interfaces/UDI/include/udi/init.h | 0 .../Modules}/Interfaces/UDI/include/udi/log.h | 0 .../Modules}/Interfaces/UDI/include/udi/mem.h | 0 .../Interfaces/UDI/include/udi/meta_gio.h | 0 .../Interfaces/UDI/include/udi/meta_mgmt.h | 0 .../Interfaces/UDI/include/udi/strmem.h | 0 .../Interfaces/UDI/include/udi_physio.h | 0 .../Modules}/Interfaces/UDI/logging.c | 0 .../Modules}/Interfaces/UDI/main.c | 0 .../Modules}/Interfaces/UDI/mem.c | 0 .../Modules}/Interfaces/UDI/meta_gio.c | 0 .../Modules}/Interfaces/UDI/meta_mgmt.c | 0 .../Modules}/Interfaces/UDI/physio.c | 0 .../Modules}/Interfaces/UDI/physio/meta_bus.c | 0 .../Interfaces/UDI/physio/meta_intr.c | 0 .../Modules}/Interfaces/UDI/physio_main.c | 0 .../Modules}/Interfaces/UDI/strmem.c | 0 .../Modules}/Libraries/SunRPC/proto.h | 0 {Modules => KernelLand/Modules}/Makefile.tpl | 0 .../Modules}/Network/Makefile.tpl | 0 .../Modules}/Network/NE2000/Makefile | 0 .../Modules}/Network/NE2000/ne2000.c | 0 .../Modules}/Network/PCnet-FASTIII/Makefile | 0 .../Network/PCnet-FASTIII/pcnet-fast3.c | 0 .../Modules}/Network/RTL8139/Makefile | 0 .../Modules}/Network/RTL8139/rtl8139.c | 0 .../Modules}/Sound/SoundBlaster16/Makefile | 0 .../Modules}/Sound/SoundBlaster16/main.c | 0 .../Modules}/Sound/SoundBlaster16/sbdsp.txt | 0 .../Modules}/Storage/ATA/Makefile | 0 .../Modules}/Storage/ATA/common.h | 0 .../Modules}/Storage/ATA/io.c | 0 .../Modules}/Storage/ATA/main.c | 0 .../Modules}/Storage/ATA/mbr.c | 0 .../Modules}/Storage/FDD/Makefile | 0 .../Modules}/Storage/FDD/fdd.c | 0 .../Modules}/Storage/FDDv2/Makefile | 0 .../Modules}/Storage/FDDv2/common.h | 0 .../Modules}/Storage/FDDv2/fdc.c | 0 .../Modules}/Storage/FDDv2/main.c | 0 KernelLand/Modules/Storage/LVM/Makefile | 9 + KernelLand/Modules/Storage/LVM/lvm.h | 0 KernelLand/Modules/Storage/LVM/lvm_int.h | 8 + KernelLand/Modules/Storage/LVM/main.c | 0 KernelLand/Modules/Storage/LVM/mbr.c | 186 ++++++++++++++++++ KernelLand/Modules/Storage/LVM/volumes.c | 0 .../Modules}/Storage/Makefile.tpl | 0 .../Modules}/USB/Core/Makefile | 0 .../Modules}/USB/Core/hub.c | 0 .../Modules}/USB/Core/include/usb_core.h | 0 .../Modules}/USB/Core/include/usb_host.h | 0 .../Modules}/USB/Core/include/usb_hub.h | 0 .../Modules}/USB/Core/main.c | 0 .../Modules}/USB/Core/usb.c | 0 .../Modules}/USB/Core/usb.h | 0 .../Modules}/USB/Core/usb_devinit.c | 0 .../Modules}/USB/Core/usb_io.c | 0 .../Modules}/USB/Core/usb_lowlevel.c | 0 .../Modules}/USB/Core/usb_lowlevel.h | 0 .../Modules}/USB/Core/usb_poll.c | 0 .../Modules}/USB/Core/usb_proto.h | 0 {Modules => KernelLand/Modules}/USB/HID/hid.h | 0 .../Modules}/USB/HID/keysyms.h | 0 .../Modules}/USB/HID/main.c | 0 .../Modules}/USB/Makefile.tpl | 0 KernelLand/Modules/USB/OHCI/ohci.h | 81 ++++++++ .../Modules}/USB/UHCI/Makefile | 0 .../Modules}/USB/UHCI/uhci.c | 0 .../Modules}/USB/UHCI/uhci.h | 0 .../Modules}/armv7/GIC/Makefile | 0 .../Modules}/armv7/GIC/gic.c | 0 .../Modules}/armv7/GIC/gic.h | 0 .../Modules}/armv7/Makefile.tpl | 0 {Modules => KernelLand/Modules}/link.ld | 0 .../Modules}/x86/ISADMA/Makefile | 0 .../Modules}/x86/ISADMA/dma.c | 0 .../Modules}/x86/ISADMA/include/dma.h | 0 .../Modules}/x86/Makefile.tpl | 0 .../Modules}/x86/VGAText/Makefile | 0 .../Modules}/x86/VGAText/vga.c | 0 Modules/Filesystems/InitRD/.gitignore | 1 - {Design Notes => Notes}/AcessFS.txt | 0 {Design Notes => Notes}/Spinlocks.txt | 0 {Design Notes => Notes}/VFS - Select.txt | 0 {Design Notes => Notes}/VTerm.txt | 0 366 files changed, 403 insertions(+), 1 deletion(-) rename {Kernel => KernelLand/Kernel}/.gitignore (100%) rename {Kernel => KernelLand/Kernel}/Doxyfile (100%) rename {Kernel => KernelLand/Kernel}/Doxyfile.api (100%) rename {Kernel => KernelLand/Kernel}/DoxygenLayout.xml (100%) rename {Kernel => KernelLand/Kernel}/GenSyscalls.php (100%) rename {Kernel => KernelLand/Kernel}/GenSyscalls.pl (100%) rename {Kernel => KernelLand/Kernel}/Makefile (100%) rename {Kernel => KernelLand/Kernel}/adt.c (100%) rename {Kernel => KernelLand/Kernel}/arch/archdoc.h (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/Makefile (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/debug.c (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/include/arch.h (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/include/assembly.h (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/include/lock.h (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/include/mm_virt.h (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/include/options.h (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/include/proc.h (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/lib.S (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/lib.c (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/link.ld (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/main.c (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/mm_phys.c (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/mm_virt.c (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/pci.c (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/proc.S (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/proc.c (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/start.S (100%) rename {Kernel => KernelLand/Kernel}/arch/armv7/time.c (100%) rename {Kernel => KernelLand/Kernel}/arch/helpers.h (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/Makefile (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/debug.c (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/include/arch.h (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/include/mm_virt.h (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/include/proc.h (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/lib.c (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/link.ld (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/main.c (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/mm_phys.c (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/mm_virt.c (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/proc.c (100%) rename {Kernel => KernelLand/Kernel}/arch/m68k/time.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/Makefile (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/desctab.asm (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/errors.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/include/arch.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/include/arch_int.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/include/desctab.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/include/mm_phys.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/include/mm_virt.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/include/mp.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/include/multiboot2.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/include/proc.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/include/vm8086.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/irq.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/kpanic.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/lib.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/link.ld (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/main.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/mm_phys.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/mm_virt.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/pci.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/proc.asm (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/proc.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/start.asm (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/time.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86/vm8086.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/Makefile (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/desctab.asm (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/errors.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/include/arch.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/include/arch_config.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/include/common.inc.asm (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/include/desctab.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/include/mm_virt.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/include/proc.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/include/vm8086.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/kernelpanic.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/lib.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/link.ld (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/main.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/mm_phys.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/mm_virt.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/pci.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/proc.asm (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/proc.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/rme.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/rme.h (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/start32.asm (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/start64.asm (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/time.c (100%) rename {Kernel => KernelLand/Kernel}/arch/x86_64/vm8086.c (100%) rename {Kernel => KernelLand/Kernel}/bin/README (100%) rename {Kernel => KernelLand/Kernel}/bin/elf.c (100%) rename {Kernel => KernelLand/Kernel}/bin/elf.h (100%) rename {Kernel => KernelLand/Kernel}/bin/pe.c (100%) rename {Kernel => KernelLand/Kernel}/bin/pe.h (100%) rename {Kernel => KernelLand/Kernel}/binary.c (100%) rename {Kernel => KernelLand/Kernel}/debug.c (100%) rename {Kernel => KernelLand/Kernel}/drv/Makefile (100%) rename {Kernel => KernelLand/Kernel}/drv/fifo.c (100%) rename {Kernel => KernelLand/Kernel}/drv/iocache.c (100%) rename {Kernel => KernelLand/Kernel}/drv/pci.c (100%) rename {Kernel => KernelLand/Kernel}/drv/proc.c (100%) rename {Kernel => KernelLand/Kernel}/drv/vterm.c (100%) rename {Kernel => KernelLand/Kernel}/drv/vterm.h (100%) rename {Kernel => KernelLand/Kernel}/drv/vterm_font.c (100%) rename {Kernel => KernelLand/Kernel}/drv/vterm_font_8x16.h (100%) rename {Kernel => KernelLand/Kernel}/drv/vterm_font_8x8.h (100%) rename {Kernel => KernelLand/Kernel}/drv/vterm_input.c (100%) rename {Kernel => KernelLand/Kernel}/drv/vterm_output.c (100%) rename {Kernel => KernelLand/Kernel}/drv/vterm_termbuf.c (100%) rename {Kernel => KernelLand/Kernel}/drv/vterm_vt100.c (100%) rename {Kernel => KernelLand/Kernel}/drvutil.c (100%) rename {Kernel => KernelLand/Kernel}/events.c (100%) rename {Kernel => KernelLand/Kernel}/heap.c (100%) rename {Kernel => KernelLand/Kernel}/include/acess.h (100%) rename {Kernel => KernelLand/Kernel}/include/adt.h (100%) rename {Kernel => KernelLand/Kernel}/include/api_drv_common.h (100%) rename {Kernel => KernelLand/Kernel}/include/api_drv_disk.h (100%) rename {Kernel => KernelLand/Kernel}/include/api_drv_joystick.h (100%) rename {Kernel => KernelLand/Kernel}/include/api_drv_keyboard.h (100%) rename {Kernel => KernelLand/Kernel}/include/api_drv_network.h (100%) rename {Kernel => KernelLand/Kernel}/include/api_drv_terminal.h (100%) rename {Kernel => KernelLand/Kernel}/include/api_drv_video.h (100%) rename {Kernel => KernelLand/Kernel}/include/apidoc/arch_x86.h (100%) rename {Kernel => KernelLand/Kernel}/include/apidoc_mainpage.h (100%) rename {Kernel => KernelLand/Kernel}/include/binary.h (100%) rename {Kernel => KernelLand/Kernel}/include/binary_ext.h (100%) rename {Kernel => KernelLand/Kernel}/include/drv_pci.h (100%) rename {Kernel => KernelLand/Kernel}/include/drv_pci_int.h (100%) rename {Kernel => KernelLand/Kernel}/include/errno.h (100%) rename {Kernel => KernelLand/Kernel}/include/events.h (100%) rename {Kernel => KernelLand/Kernel}/include/fs_devfs.h (100%) rename {Kernel => KernelLand/Kernel}/include/fs_sysfs.h (100%) rename {Kernel => KernelLand/Kernel}/include/hal_proc.h (100%) rename {Kernel => KernelLand/Kernel}/include/heap.h (100%) rename {Kernel => KernelLand/Kernel}/include/heap_int.h (100%) rename {Kernel => KernelLand/Kernel}/include/init.h (100%) rename {Kernel => KernelLand/Kernel}/include/iocache.h (100%) rename {Kernel => KernelLand/Kernel}/include/lib/keyvalue.h (100%) rename {Kernel => KernelLand/Kernel}/include/mboot.h (100%) rename {Kernel => KernelLand/Kernel}/include/modules.h (100%) rename {Kernel => KernelLand/Kernel}/include/mutex.h (100%) rename {Kernel => KernelLand/Kernel}/include/semaphore.h (100%) rename {Kernel => KernelLand/Kernel}/include/signal.h (100%) rename {Kernel => KernelLand/Kernel}/include/syscalls.h (100%) rename {Kernel => KernelLand/Kernel}/include/syscalls.inc.asm (100%) rename {Kernel => KernelLand/Kernel}/include/threads.h (100%) rename {Kernel => KernelLand/Kernel}/include/threads_int.h (100%) rename {Kernel => KernelLand/Kernel}/include/timers.h (100%) rename {Kernel => KernelLand/Kernel}/include/tpl_mm_phys_bitmap.h (100%) rename {Kernel => KernelLand/Kernel}/include/tpl_mm_phys_stack.h (100%) rename {Kernel => KernelLand/Kernel}/include/vfs.h (100%) rename {Kernel => KernelLand/Kernel}/include/vfs_ext.h (100%) rename {Kernel => KernelLand/Kernel}/include/vfs_int.h (100%) rename {Kernel => KernelLand/Kernel}/include/vfs_ramfs.h (100%) rename {Kernel => KernelLand/Kernel}/include/vfs_threads.h (100%) rename {Kernel => KernelLand/Kernel}/include/workqueue.h (100%) rename {Kernel => KernelLand/Kernel}/lib.c (100%) rename {Kernel => KernelLand/Kernel}/logging.c (100%) rename {Kernel => KernelLand/Kernel}/messages.c (100%) rename {Kernel => KernelLand/Kernel}/modules.c (100%) rename {Kernel => KernelLand/Kernel}/mutex.c (100%) rename {Kernel => KernelLand/Kernel}/semaphore.c (100%) rename {Kernel => KernelLand/Kernel}/syscalls.c (100%) rename {Kernel => KernelLand/Kernel}/syscalls.lst (100%) rename {Kernel => KernelLand/Kernel}/system.c (100%) rename {Kernel => KernelLand/Kernel}/threads.c (100%) rename {Kernel => KernelLand/Kernel}/time.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/acls.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/dir.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/fs/devfs.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/fs/root.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/handle.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/io.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/main.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/memfile.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/mmap.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/mount.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/nodecache.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/open.c (100%) rename {Kernel => KernelLand/Kernel}/vfs/select.c (100%) rename {Kernel => KernelLand/Kernel}/workqueue.c (100%) rename {Modules => KernelLand/Modules}/Display/BochsGA/Makefile (100%) rename {Modules => KernelLand/Modules}/Display/BochsGA/bochsvbe.c (100%) rename {Modules => KernelLand/Modules}/Display/Makefile.tpl (100%) rename {Modules => KernelLand/Modules}/Display/PL110/Makefile (100%) rename {Modules => KernelLand/Modules}/Display/PL110/main.c (100%) rename {Modules => KernelLand/Modules}/Display/Tegra2Vid/Makefile (100%) rename {Modules => KernelLand/Modules}/Display/Tegra2Vid/main.c (100%) rename {Modules => KernelLand/Modules}/Display/Tegra2Vid/tegra2.h (100%) rename {Modules => KernelLand/Modules}/Display/VESA/Makefile (100%) rename {Modules => KernelLand/Modules}/Display/VESA/common.h (100%) rename {Modules => KernelLand/Modules}/Display/VESA/main.c (100%) rename {Modules => KernelLand/Modules}/Filesystems/Ext2/Makefile (100%) rename {Modules => KernelLand/Modules}/Filesystems/Ext2/dir.c (100%) rename {Modules => KernelLand/Modules}/Filesystems/Ext2/ext2.c (100%) rename {Modules => KernelLand/Modules}/Filesystems/Ext2/ext2_common.h (100%) rename {Modules => KernelLand/Modules}/Filesystems/Ext2/ext2fs.h (100%) rename {Modules => KernelLand/Modules}/Filesystems/Ext2/read.c (100%) rename {Modules => KernelLand/Modules}/Filesystems/Ext2/write.c (100%) rename {Modules => KernelLand/Modules}/Filesystems/FAT/Makefile (100%) rename {Modules => KernelLand/Modules}/Filesystems/FAT/fat.c (100%) rename {Modules => KernelLand/Modules}/Filesystems/FAT/fs_fat.h (100%) rename {Modules => KernelLand/Modules}/Filesystems/InitRD/GenerateInitRD.php (100%) rename {Modules => KernelLand/Modules}/Filesystems/InitRD/Makefile (100%) rename {Modules => KernelLand/Modules}/Filesystems/InitRD/files.lst (100%) rename {Modules => KernelLand/Modules}/Filesystems/InitRD/initrd.h (100%) rename {Modules => KernelLand/Modules}/Filesystems/InitRD/main.c (100%) create mode 100644 KernelLand/Modules/Filesystems/LEAN/common.h create mode 100644 KernelLand/Modules/Filesystems/LEAN/main.c rename {Modules => KernelLand/Modules}/Filesystems/Makefile.tpl (100%) rename {Modules => KernelLand/Modules}/Filesystems/NFS/Makefile (100%) rename {Modules => KernelLand/Modules}/Filesystems/NFS/common.h (100%) rename {Modules => KernelLand/Modules}/Filesystems/NFS/main.c (100%) rename {Modules => KernelLand/Modules}/Filesystems/NTFS/Makefile (100%) rename {Modules => KernelLand/Modules}/Filesystems/NTFS/attributes.h (100%) rename {Modules => KernelLand/Modules}/Filesystems/NTFS/common.h (100%) rename {Modules => KernelLand/Modules}/Filesystems/NTFS/dir.c (100%) rename {Modules => KernelLand/Modules}/Filesystems/NTFS/index.h (100%) rename {Modules => KernelLand/Modules}/Filesystems/NTFS/main.c (100%) rename {Modules => KernelLand/Modules}/IPStack/Makefile (100%) rename {Modules => KernelLand/Modules}/IPStack/arp.c (100%) rename {Modules => KernelLand/Modules}/IPStack/arp.h (100%) rename {Modules => KernelLand/Modules}/IPStack/firewall.c (100%) rename {Modules => KernelLand/Modules}/IPStack/firewall.h (100%) rename {Modules => KernelLand/Modules}/IPStack/icmp.c (100%) rename {Modules => KernelLand/Modules}/IPStack/icmp.h (100%) rename {Modules => KernelLand/Modules}/IPStack/interface.c (100%) rename {Modules => KernelLand/Modules}/IPStack/ipstack.h (100%) rename {Modules => KernelLand/Modules}/IPStack/ipv4.c (100%) rename {Modules => KernelLand/Modules}/IPStack/ipv4.h (100%) rename {Modules => KernelLand/Modules}/IPStack/ipv6.c (100%) rename {Modules => KernelLand/Modules}/IPStack/ipv6.h (100%) rename {Modules => KernelLand/Modules}/IPStack/link.c (100%) rename {Modules => KernelLand/Modules}/IPStack/link.h (100%) rename {Modules => KernelLand/Modules}/IPStack/main.c (100%) rename {Modules => KernelLand/Modules}/IPStack/routing.c (100%) rename {Modules => KernelLand/Modules}/IPStack/sctp.c (100%) rename {Modules => KernelLand/Modules}/IPStack/tcp.c (100%) rename {Modules => KernelLand/Modules}/IPStack/tcp.h (100%) rename {Modules => KernelLand/Modules}/IPStack/udp.c (100%) rename {Modules => KernelLand/Modules}/IPStack/udp.h (100%) rename {Modules => KernelLand/Modules}/Input/Makefile.tpl (100%) rename {Modules => KernelLand/Modules}/Input/PS2KbMouse/8042.c (100%) rename {Modules => KernelLand/Modules}/Input/PS2KbMouse/Makefile (100%) rename {Modules => KernelLand/Modules}/Input/PS2KbMouse/common.h (100%) rename {Modules => KernelLand/Modules}/Input/PS2KbMouse/kb.c (100%) rename {Modules => KernelLand/Modules}/Input/PS2KbMouse/kb_kbdus.h (100%) rename {Modules => KernelLand/Modules}/Input/PS2KbMouse/main.c (100%) rename {Modules => KernelLand/Modules}/Input/PS2KbMouse/pl050.c (100%) rename {Modules => KernelLand/Modules}/Input/PS2KbMouse/ps2mouse.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/Makefile (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi/acess-edi.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi/edi.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi/edi_devices.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi/edi_dma_streams.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi/edi_interrupts.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi/edi_memory_mapping.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi/edi_objects.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi/edi_port_io.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi/edi_pthreads.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi/helpers.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi_int.inc.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/edi_io.inc.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/EDI/main.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/Makefile.tpl (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/Makefile (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/Notes.txt (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/buf.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/cb.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/imc.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/physio/meta_bus.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/physio/meta_intr.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/physio/pio.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi/arch/x86.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi/attr.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi/buf.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi/cb.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi/imc.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi/init.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi/log.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi/mem.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi/meta_gio.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi/meta_mgmt.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi/strmem.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/include/udi_physio.h (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/logging.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/main.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/mem.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/meta_gio.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/meta_mgmt.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/physio.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/physio/meta_bus.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/physio/meta_intr.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/physio_main.c (100%) rename {Modules => KernelLand/Modules}/Interfaces/UDI/strmem.c (100%) rename {Modules => KernelLand/Modules}/Libraries/SunRPC/proto.h (100%) rename {Modules => KernelLand/Modules}/Makefile.tpl (100%) rename {Modules => KernelLand/Modules}/Network/Makefile.tpl (100%) rename {Modules => KernelLand/Modules}/Network/NE2000/Makefile (100%) rename {Modules => KernelLand/Modules}/Network/NE2000/ne2000.c (100%) rename {Modules => KernelLand/Modules}/Network/PCnet-FASTIII/Makefile (100%) rename {Modules => KernelLand/Modules}/Network/PCnet-FASTIII/pcnet-fast3.c (100%) rename {Modules => KernelLand/Modules}/Network/RTL8139/Makefile (100%) rename {Modules => KernelLand/Modules}/Network/RTL8139/rtl8139.c (100%) rename {Modules => KernelLand/Modules}/Sound/SoundBlaster16/Makefile (100%) rename {Modules => KernelLand/Modules}/Sound/SoundBlaster16/main.c (100%) rename {Modules => KernelLand/Modules}/Sound/SoundBlaster16/sbdsp.txt (100%) rename {Modules => KernelLand/Modules}/Storage/ATA/Makefile (100%) rename {Modules => KernelLand/Modules}/Storage/ATA/common.h (100%) rename {Modules => KernelLand/Modules}/Storage/ATA/io.c (100%) rename {Modules => KernelLand/Modules}/Storage/ATA/main.c (100%) rename {Modules => KernelLand/Modules}/Storage/ATA/mbr.c (100%) rename {Modules => KernelLand/Modules}/Storage/FDD/Makefile (100%) rename {Modules => KernelLand/Modules}/Storage/FDD/fdd.c (100%) rename {Modules => KernelLand/Modules}/Storage/FDDv2/Makefile (100%) rename {Modules => KernelLand/Modules}/Storage/FDDv2/common.h (100%) rename {Modules => KernelLand/Modules}/Storage/FDDv2/fdc.c (100%) rename {Modules => KernelLand/Modules}/Storage/FDDv2/main.c (100%) create mode 100644 KernelLand/Modules/Storage/LVM/Makefile create mode 100644 KernelLand/Modules/Storage/LVM/lvm.h create mode 100644 KernelLand/Modules/Storage/LVM/lvm_int.h create mode 100644 KernelLand/Modules/Storage/LVM/main.c create mode 100644 KernelLand/Modules/Storage/LVM/mbr.c create mode 100644 KernelLand/Modules/Storage/LVM/volumes.c rename {Modules => KernelLand/Modules}/Storage/Makefile.tpl (100%) rename {Modules => KernelLand/Modules}/USB/Core/Makefile (100%) rename {Modules => KernelLand/Modules}/USB/Core/hub.c (100%) rename {Modules => KernelLand/Modules}/USB/Core/include/usb_core.h (100%) rename {Modules => KernelLand/Modules}/USB/Core/include/usb_host.h (100%) rename {Modules => KernelLand/Modules}/USB/Core/include/usb_hub.h (100%) rename {Modules => KernelLand/Modules}/USB/Core/main.c (100%) rename {Modules => KernelLand/Modules}/USB/Core/usb.c (100%) rename {Modules => KernelLand/Modules}/USB/Core/usb.h (100%) rename {Modules => KernelLand/Modules}/USB/Core/usb_devinit.c (100%) rename {Modules => KernelLand/Modules}/USB/Core/usb_io.c (100%) rename {Modules => KernelLand/Modules}/USB/Core/usb_lowlevel.c (100%) rename {Modules => KernelLand/Modules}/USB/Core/usb_lowlevel.h (100%) rename {Modules => KernelLand/Modules}/USB/Core/usb_poll.c (100%) rename {Modules => KernelLand/Modules}/USB/Core/usb_proto.h (100%) rename {Modules => KernelLand/Modules}/USB/HID/hid.h (100%) rename {Modules => KernelLand/Modules}/USB/HID/keysyms.h (100%) rename {Modules => KernelLand/Modules}/USB/HID/main.c (100%) rename {Modules => KernelLand/Modules}/USB/Makefile.tpl (100%) create mode 100644 KernelLand/Modules/USB/OHCI/ohci.h rename {Modules => KernelLand/Modules}/USB/UHCI/Makefile (100%) rename {Modules => KernelLand/Modules}/USB/UHCI/uhci.c (100%) rename {Modules => KernelLand/Modules}/USB/UHCI/uhci.h (100%) rename {Modules => KernelLand/Modules}/armv7/GIC/Makefile (100%) rename {Modules => KernelLand/Modules}/armv7/GIC/gic.c (100%) rename {Modules => KernelLand/Modules}/armv7/GIC/gic.h (100%) rename {Modules => KernelLand/Modules}/armv7/Makefile.tpl (100%) rename {Modules => KernelLand/Modules}/link.ld (100%) rename {Modules => KernelLand/Modules}/x86/ISADMA/Makefile (100%) rename {Modules => KernelLand/Modules}/x86/ISADMA/dma.c (100%) rename {Modules => KernelLand/Modules}/x86/ISADMA/include/dma.h (100%) rename {Modules => KernelLand/Modules}/x86/Makefile.tpl (100%) rename {Modules => KernelLand/Modules}/x86/VGAText/Makefile (100%) rename {Modules => KernelLand/Modules}/x86/VGAText/vga.c (100%) delete mode 100644 Modules/Filesystems/InitRD/.gitignore rename {Design Notes => Notes}/AcessFS.txt (100%) rename {Design Notes => Notes}/Spinlocks.txt (100%) rename {Design Notes => Notes}/VFS - Select.txt (100%) rename {Design Notes => Notes}/VTerm.txt (100%) diff --git a/Kernel/.gitignore b/KernelLand/Kernel/.gitignore similarity index 100% rename from Kernel/.gitignore rename to KernelLand/Kernel/.gitignore diff --git a/Kernel/Doxyfile b/KernelLand/Kernel/Doxyfile similarity index 100% rename from Kernel/Doxyfile rename to KernelLand/Kernel/Doxyfile diff --git a/Kernel/Doxyfile.api b/KernelLand/Kernel/Doxyfile.api similarity index 100% rename from Kernel/Doxyfile.api rename to KernelLand/Kernel/Doxyfile.api diff --git a/Kernel/DoxygenLayout.xml b/KernelLand/Kernel/DoxygenLayout.xml similarity index 100% rename from Kernel/DoxygenLayout.xml rename to KernelLand/Kernel/DoxygenLayout.xml diff --git a/Kernel/GenSyscalls.php b/KernelLand/Kernel/GenSyscalls.php similarity index 100% rename from Kernel/GenSyscalls.php rename to KernelLand/Kernel/GenSyscalls.php diff --git a/Kernel/GenSyscalls.pl b/KernelLand/Kernel/GenSyscalls.pl similarity index 100% rename from Kernel/GenSyscalls.pl rename to KernelLand/Kernel/GenSyscalls.pl diff --git a/Kernel/Makefile b/KernelLand/Kernel/Makefile similarity index 100% rename from Kernel/Makefile rename to KernelLand/Kernel/Makefile diff --git a/Kernel/adt.c b/KernelLand/Kernel/adt.c similarity index 100% rename from Kernel/adt.c rename to KernelLand/Kernel/adt.c diff --git a/Kernel/arch/archdoc.h b/KernelLand/Kernel/arch/archdoc.h similarity index 100% rename from Kernel/arch/archdoc.h rename to KernelLand/Kernel/arch/archdoc.h diff --git a/Kernel/arch/armv7/Makefile b/KernelLand/Kernel/arch/armv7/Makefile similarity index 100% rename from Kernel/arch/armv7/Makefile rename to KernelLand/Kernel/arch/armv7/Makefile diff --git a/Kernel/arch/armv7/debug.c b/KernelLand/Kernel/arch/armv7/debug.c similarity index 100% rename from Kernel/arch/armv7/debug.c rename to KernelLand/Kernel/arch/armv7/debug.c diff --git a/Kernel/arch/armv7/include/arch.h b/KernelLand/Kernel/arch/armv7/include/arch.h similarity index 100% rename from Kernel/arch/armv7/include/arch.h rename to KernelLand/Kernel/arch/armv7/include/arch.h diff --git a/Kernel/arch/armv7/include/assembly.h b/KernelLand/Kernel/arch/armv7/include/assembly.h similarity index 100% rename from Kernel/arch/armv7/include/assembly.h rename to KernelLand/Kernel/arch/armv7/include/assembly.h diff --git a/Kernel/arch/armv7/include/lock.h b/KernelLand/Kernel/arch/armv7/include/lock.h similarity index 100% rename from Kernel/arch/armv7/include/lock.h rename to KernelLand/Kernel/arch/armv7/include/lock.h diff --git a/Kernel/arch/armv7/include/mm_virt.h b/KernelLand/Kernel/arch/armv7/include/mm_virt.h similarity index 100% rename from Kernel/arch/armv7/include/mm_virt.h rename to KernelLand/Kernel/arch/armv7/include/mm_virt.h diff --git a/Kernel/arch/armv7/include/options.h b/KernelLand/Kernel/arch/armv7/include/options.h similarity index 100% rename from Kernel/arch/armv7/include/options.h rename to KernelLand/Kernel/arch/armv7/include/options.h diff --git a/Kernel/arch/armv7/include/proc.h b/KernelLand/Kernel/arch/armv7/include/proc.h similarity index 100% rename from Kernel/arch/armv7/include/proc.h rename to KernelLand/Kernel/arch/armv7/include/proc.h diff --git a/Kernel/arch/armv7/lib.S b/KernelLand/Kernel/arch/armv7/lib.S similarity index 100% rename from Kernel/arch/armv7/lib.S rename to KernelLand/Kernel/arch/armv7/lib.S diff --git a/Kernel/arch/armv7/lib.c b/KernelLand/Kernel/arch/armv7/lib.c similarity index 100% rename from Kernel/arch/armv7/lib.c rename to KernelLand/Kernel/arch/armv7/lib.c diff --git a/Kernel/arch/armv7/link.ld b/KernelLand/Kernel/arch/armv7/link.ld similarity index 100% rename from Kernel/arch/armv7/link.ld rename to KernelLand/Kernel/arch/armv7/link.ld diff --git a/Kernel/arch/armv7/main.c b/KernelLand/Kernel/arch/armv7/main.c similarity index 100% rename from Kernel/arch/armv7/main.c rename to KernelLand/Kernel/arch/armv7/main.c diff --git a/Kernel/arch/armv7/mm_phys.c b/KernelLand/Kernel/arch/armv7/mm_phys.c similarity index 100% rename from Kernel/arch/armv7/mm_phys.c rename to KernelLand/Kernel/arch/armv7/mm_phys.c diff --git a/Kernel/arch/armv7/mm_virt.c b/KernelLand/Kernel/arch/armv7/mm_virt.c similarity index 100% rename from Kernel/arch/armv7/mm_virt.c rename to KernelLand/Kernel/arch/armv7/mm_virt.c diff --git a/Kernel/arch/armv7/pci.c b/KernelLand/Kernel/arch/armv7/pci.c similarity index 100% rename from Kernel/arch/armv7/pci.c rename to KernelLand/Kernel/arch/armv7/pci.c diff --git a/Kernel/arch/armv7/proc.S b/KernelLand/Kernel/arch/armv7/proc.S similarity index 100% rename from Kernel/arch/armv7/proc.S rename to KernelLand/Kernel/arch/armv7/proc.S diff --git a/Kernel/arch/armv7/proc.c b/KernelLand/Kernel/arch/armv7/proc.c similarity index 100% rename from Kernel/arch/armv7/proc.c rename to KernelLand/Kernel/arch/armv7/proc.c diff --git a/Kernel/arch/armv7/start.S b/KernelLand/Kernel/arch/armv7/start.S similarity index 100% rename from Kernel/arch/armv7/start.S rename to KernelLand/Kernel/arch/armv7/start.S diff --git a/Kernel/arch/armv7/time.c b/KernelLand/Kernel/arch/armv7/time.c similarity index 100% rename from Kernel/arch/armv7/time.c rename to KernelLand/Kernel/arch/armv7/time.c diff --git a/Kernel/arch/helpers.h b/KernelLand/Kernel/arch/helpers.h similarity index 100% rename from Kernel/arch/helpers.h rename to KernelLand/Kernel/arch/helpers.h diff --git a/Kernel/arch/m68k/Makefile b/KernelLand/Kernel/arch/m68k/Makefile similarity index 100% rename from Kernel/arch/m68k/Makefile rename to KernelLand/Kernel/arch/m68k/Makefile diff --git a/Kernel/arch/m68k/debug.c b/KernelLand/Kernel/arch/m68k/debug.c similarity index 100% rename from Kernel/arch/m68k/debug.c rename to KernelLand/Kernel/arch/m68k/debug.c diff --git a/Kernel/arch/m68k/include/arch.h b/KernelLand/Kernel/arch/m68k/include/arch.h similarity index 100% rename from Kernel/arch/m68k/include/arch.h rename to KernelLand/Kernel/arch/m68k/include/arch.h diff --git a/Kernel/arch/m68k/include/mm_virt.h b/KernelLand/Kernel/arch/m68k/include/mm_virt.h similarity index 100% rename from Kernel/arch/m68k/include/mm_virt.h rename to KernelLand/Kernel/arch/m68k/include/mm_virt.h diff --git a/Kernel/arch/m68k/include/proc.h b/KernelLand/Kernel/arch/m68k/include/proc.h similarity index 100% rename from Kernel/arch/m68k/include/proc.h rename to KernelLand/Kernel/arch/m68k/include/proc.h diff --git a/Kernel/arch/m68k/lib.c b/KernelLand/Kernel/arch/m68k/lib.c similarity index 100% rename from Kernel/arch/m68k/lib.c rename to KernelLand/Kernel/arch/m68k/lib.c diff --git a/Kernel/arch/m68k/link.ld b/KernelLand/Kernel/arch/m68k/link.ld similarity index 100% rename from Kernel/arch/m68k/link.ld rename to KernelLand/Kernel/arch/m68k/link.ld diff --git a/Kernel/arch/m68k/main.c b/KernelLand/Kernel/arch/m68k/main.c similarity index 100% rename from Kernel/arch/m68k/main.c rename to KernelLand/Kernel/arch/m68k/main.c diff --git a/Kernel/arch/m68k/mm_phys.c b/KernelLand/Kernel/arch/m68k/mm_phys.c similarity index 100% rename from Kernel/arch/m68k/mm_phys.c rename to KernelLand/Kernel/arch/m68k/mm_phys.c diff --git a/Kernel/arch/m68k/mm_virt.c b/KernelLand/Kernel/arch/m68k/mm_virt.c similarity index 100% rename from Kernel/arch/m68k/mm_virt.c rename to KernelLand/Kernel/arch/m68k/mm_virt.c diff --git a/Kernel/arch/m68k/proc.c b/KernelLand/Kernel/arch/m68k/proc.c similarity index 100% rename from Kernel/arch/m68k/proc.c rename to KernelLand/Kernel/arch/m68k/proc.c diff --git a/Kernel/arch/m68k/time.c b/KernelLand/Kernel/arch/m68k/time.c similarity index 100% rename from Kernel/arch/m68k/time.c rename to KernelLand/Kernel/arch/m68k/time.c diff --git a/Kernel/arch/x86/Makefile b/KernelLand/Kernel/arch/x86/Makefile similarity index 100% rename from Kernel/arch/x86/Makefile rename to KernelLand/Kernel/arch/x86/Makefile diff --git a/Kernel/arch/x86/desctab.asm b/KernelLand/Kernel/arch/x86/desctab.asm similarity index 100% rename from Kernel/arch/x86/desctab.asm rename to KernelLand/Kernel/arch/x86/desctab.asm diff --git a/Kernel/arch/x86/errors.c b/KernelLand/Kernel/arch/x86/errors.c similarity index 100% rename from Kernel/arch/x86/errors.c rename to KernelLand/Kernel/arch/x86/errors.c diff --git a/Kernel/arch/x86/include/arch.h b/KernelLand/Kernel/arch/x86/include/arch.h similarity index 100% rename from Kernel/arch/x86/include/arch.h rename to KernelLand/Kernel/arch/x86/include/arch.h diff --git a/Kernel/arch/x86/include/arch_int.h b/KernelLand/Kernel/arch/x86/include/arch_int.h similarity index 100% rename from Kernel/arch/x86/include/arch_int.h rename to KernelLand/Kernel/arch/x86/include/arch_int.h diff --git a/Kernel/arch/x86/include/desctab.h b/KernelLand/Kernel/arch/x86/include/desctab.h similarity index 100% rename from Kernel/arch/x86/include/desctab.h rename to KernelLand/Kernel/arch/x86/include/desctab.h diff --git a/Kernel/arch/x86/include/mm_phys.h b/KernelLand/Kernel/arch/x86/include/mm_phys.h similarity index 100% rename from Kernel/arch/x86/include/mm_phys.h rename to KernelLand/Kernel/arch/x86/include/mm_phys.h diff --git a/Kernel/arch/x86/include/mm_virt.h b/KernelLand/Kernel/arch/x86/include/mm_virt.h similarity index 100% rename from Kernel/arch/x86/include/mm_virt.h rename to KernelLand/Kernel/arch/x86/include/mm_virt.h diff --git a/Kernel/arch/x86/include/mp.h b/KernelLand/Kernel/arch/x86/include/mp.h similarity index 100% rename from Kernel/arch/x86/include/mp.h rename to KernelLand/Kernel/arch/x86/include/mp.h diff --git a/Kernel/arch/x86/include/multiboot2.h b/KernelLand/Kernel/arch/x86/include/multiboot2.h similarity index 100% rename from Kernel/arch/x86/include/multiboot2.h rename to KernelLand/Kernel/arch/x86/include/multiboot2.h diff --git a/Kernel/arch/x86/include/proc.h b/KernelLand/Kernel/arch/x86/include/proc.h similarity index 100% rename from Kernel/arch/x86/include/proc.h rename to KernelLand/Kernel/arch/x86/include/proc.h diff --git a/Kernel/arch/x86/include/vm8086.h b/KernelLand/Kernel/arch/x86/include/vm8086.h similarity index 100% rename from Kernel/arch/x86/include/vm8086.h rename to KernelLand/Kernel/arch/x86/include/vm8086.h diff --git a/Kernel/arch/x86/irq.c b/KernelLand/Kernel/arch/x86/irq.c similarity index 100% rename from Kernel/arch/x86/irq.c rename to KernelLand/Kernel/arch/x86/irq.c diff --git a/Kernel/arch/x86/kpanic.c b/KernelLand/Kernel/arch/x86/kpanic.c similarity index 100% rename from Kernel/arch/x86/kpanic.c rename to KernelLand/Kernel/arch/x86/kpanic.c diff --git a/Kernel/arch/x86/lib.c b/KernelLand/Kernel/arch/x86/lib.c similarity index 100% rename from Kernel/arch/x86/lib.c rename to KernelLand/Kernel/arch/x86/lib.c diff --git a/Kernel/arch/x86/link.ld b/KernelLand/Kernel/arch/x86/link.ld similarity index 100% rename from Kernel/arch/x86/link.ld rename to KernelLand/Kernel/arch/x86/link.ld diff --git a/Kernel/arch/x86/main.c b/KernelLand/Kernel/arch/x86/main.c similarity index 100% rename from Kernel/arch/x86/main.c rename to KernelLand/Kernel/arch/x86/main.c diff --git a/Kernel/arch/x86/mm_phys.c b/KernelLand/Kernel/arch/x86/mm_phys.c similarity index 100% rename from Kernel/arch/x86/mm_phys.c rename to KernelLand/Kernel/arch/x86/mm_phys.c diff --git a/Kernel/arch/x86/mm_virt.c b/KernelLand/Kernel/arch/x86/mm_virt.c similarity index 100% rename from Kernel/arch/x86/mm_virt.c rename to KernelLand/Kernel/arch/x86/mm_virt.c diff --git a/Kernel/arch/x86/pci.c b/KernelLand/Kernel/arch/x86/pci.c similarity index 100% rename from Kernel/arch/x86/pci.c rename to KernelLand/Kernel/arch/x86/pci.c diff --git a/Kernel/arch/x86/proc.asm b/KernelLand/Kernel/arch/x86/proc.asm similarity index 100% rename from Kernel/arch/x86/proc.asm rename to KernelLand/Kernel/arch/x86/proc.asm diff --git a/Kernel/arch/x86/proc.c b/KernelLand/Kernel/arch/x86/proc.c similarity index 100% rename from Kernel/arch/x86/proc.c rename to KernelLand/Kernel/arch/x86/proc.c diff --git a/Kernel/arch/x86/start.asm b/KernelLand/Kernel/arch/x86/start.asm similarity index 100% rename from Kernel/arch/x86/start.asm rename to KernelLand/Kernel/arch/x86/start.asm diff --git a/Kernel/arch/x86/time.c b/KernelLand/Kernel/arch/x86/time.c similarity index 100% rename from Kernel/arch/x86/time.c rename to KernelLand/Kernel/arch/x86/time.c diff --git a/Kernel/arch/x86/vm8086.c b/KernelLand/Kernel/arch/x86/vm8086.c similarity index 100% rename from Kernel/arch/x86/vm8086.c rename to KernelLand/Kernel/arch/x86/vm8086.c diff --git a/Kernel/arch/x86_64/Makefile b/KernelLand/Kernel/arch/x86_64/Makefile similarity index 100% rename from Kernel/arch/x86_64/Makefile rename to KernelLand/Kernel/arch/x86_64/Makefile diff --git a/Kernel/arch/x86_64/desctab.asm b/KernelLand/Kernel/arch/x86_64/desctab.asm similarity index 100% rename from Kernel/arch/x86_64/desctab.asm rename to KernelLand/Kernel/arch/x86_64/desctab.asm diff --git a/Kernel/arch/x86_64/errors.c b/KernelLand/Kernel/arch/x86_64/errors.c similarity index 100% rename from Kernel/arch/x86_64/errors.c rename to KernelLand/Kernel/arch/x86_64/errors.c diff --git a/Kernel/arch/x86_64/include/arch.h b/KernelLand/Kernel/arch/x86_64/include/arch.h similarity index 100% rename from Kernel/arch/x86_64/include/arch.h rename to KernelLand/Kernel/arch/x86_64/include/arch.h diff --git a/Kernel/arch/x86_64/include/arch_config.h b/KernelLand/Kernel/arch/x86_64/include/arch_config.h similarity index 100% rename from Kernel/arch/x86_64/include/arch_config.h rename to KernelLand/Kernel/arch/x86_64/include/arch_config.h diff --git a/Kernel/arch/x86_64/include/common.inc.asm b/KernelLand/Kernel/arch/x86_64/include/common.inc.asm similarity index 100% rename from Kernel/arch/x86_64/include/common.inc.asm rename to KernelLand/Kernel/arch/x86_64/include/common.inc.asm diff --git a/Kernel/arch/x86_64/include/desctab.h b/KernelLand/Kernel/arch/x86_64/include/desctab.h similarity index 100% rename from Kernel/arch/x86_64/include/desctab.h rename to KernelLand/Kernel/arch/x86_64/include/desctab.h diff --git a/Kernel/arch/x86_64/include/mm_virt.h b/KernelLand/Kernel/arch/x86_64/include/mm_virt.h similarity index 100% rename from Kernel/arch/x86_64/include/mm_virt.h rename to KernelLand/Kernel/arch/x86_64/include/mm_virt.h diff --git a/Kernel/arch/x86_64/include/proc.h b/KernelLand/Kernel/arch/x86_64/include/proc.h similarity index 100% rename from Kernel/arch/x86_64/include/proc.h rename to KernelLand/Kernel/arch/x86_64/include/proc.h diff --git a/Kernel/arch/x86_64/include/vm8086.h b/KernelLand/Kernel/arch/x86_64/include/vm8086.h similarity index 100% rename from Kernel/arch/x86_64/include/vm8086.h rename to KernelLand/Kernel/arch/x86_64/include/vm8086.h diff --git a/Kernel/arch/x86_64/kernelpanic.c b/KernelLand/Kernel/arch/x86_64/kernelpanic.c similarity index 100% rename from Kernel/arch/x86_64/kernelpanic.c rename to KernelLand/Kernel/arch/x86_64/kernelpanic.c diff --git a/Kernel/arch/x86_64/lib.c b/KernelLand/Kernel/arch/x86_64/lib.c similarity index 100% rename from Kernel/arch/x86_64/lib.c rename to KernelLand/Kernel/arch/x86_64/lib.c diff --git a/Kernel/arch/x86_64/link.ld b/KernelLand/Kernel/arch/x86_64/link.ld similarity index 100% rename from Kernel/arch/x86_64/link.ld rename to KernelLand/Kernel/arch/x86_64/link.ld diff --git a/Kernel/arch/x86_64/main.c b/KernelLand/Kernel/arch/x86_64/main.c similarity index 100% rename from Kernel/arch/x86_64/main.c rename to KernelLand/Kernel/arch/x86_64/main.c diff --git a/Kernel/arch/x86_64/mm_phys.c b/KernelLand/Kernel/arch/x86_64/mm_phys.c similarity index 100% rename from Kernel/arch/x86_64/mm_phys.c rename to KernelLand/Kernel/arch/x86_64/mm_phys.c diff --git a/Kernel/arch/x86_64/mm_virt.c b/KernelLand/Kernel/arch/x86_64/mm_virt.c similarity index 100% rename from Kernel/arch/x86_64/mm_virt.c rename to KernelLand/Kernel/arch/x86_64/mm_virt.c diff --git a/Kernel/arch/x86_64/pci.c b/KernelLand/Kernel/arch/x86_64/pci.c similarity index 100% rename from Kernel/arch/x86_64/pci.c rename to KernelLand/Kernel/arch/x86_64/pci.c diff --git a/Kernel/arch/x86_64/proc.asm b/KernelLand/Kernel/arch/x86_64/proc.asm similarity index 100% rename from Kernel/arch/x86_64/proc.asm rename to KernelLand/Kernel/arch/x86_64/proc.asm diff --git a/Kernel/arch/x86_64/proc.c b/KernelLand/Kernel/arch/x86_64/proc.c similarity index 100% rename from Kernel/arch/x86_64/proc.c rename to KernelLand/Kernel/arch/x86_64/proc.c diff --git a/Kernel/arch/x86_64/rme.c b/KernelLand/Kernel/arch/x86_64/rme.c similarity index 100% rename from Kernel/arch/x86_64/rme.c rename to KernelLand/Kernel/arch/x86_64/rme.c diff --git a/Kernel/arch/x86_64/rme.h b/KernelLand/Kernel/arch/x86_64/rme.h similarity index 100% rename from Kernel/arch/x86_64/rme.h rename to KernelLand/Kernel/arch/x86_64/rme.h diff --git a/Kernel/arch/x86_64/start32.asm b/KernelLand/Kernel/arch/x86_64/start32.asm similarity index 100% rename from Kernel/arch/x86_64/start32.asm rename to KernelLand/Kernel/arch/x86_64/start32.asm diff --git a/Kernel/arch/x86_64/start64.asm b/KernelLand/Kernel/arch/x86_64/start64.asm similarity index 100% rename from Kernel/arch/x86_64/start64.asm rename to KernelLand/Kernel/arch/x86_64/start64.asm diff --git a/Kernel/arch/x86_64/time.c b/KernelLand/Kernel/arch/x86_64/time.c similarity index 100% rename from Kernel/arch/x86_64/time.c rename to KernelLand/Kernel/arch/x86_64/time.c diff --git a/Kernel/arch/x86_64/vm8086.c b/KernelLand/Kernel/arch/x86_64/vm8086.c similarity index 100% rename from Kernel/arch/x86_64/vm8086.c rename to KernelLand/Kernel/arch/x86_64/vm8086.c diff --git a/Kernel/bin/README b/KernelLand/Kernel/bin/README similarity index 100% rename from Kernel/bin/README rename to KernelLand/Kernel/bin/README diff --git a/Kernel/bin/elf.c b/KernelLand/Kernel/bin/elf.c similarity index 100% rename from Kernel/bin/elf.c rename to KernelLand/Kernel/bin/elf.c diff --git a/Kernel/bin/elf.h b/KernelLand/Kernel/bin/elf.h similarity index 100% rename from Kernel/bin/elf.h rename to KernelLand/Kernel/bin/elf.h diff --git a/Kernel/bin/pe.c b/KernelLand/Kernel/bin/pe.c similarity index 100% rename from Kernel/bin/pe.c rename to KernelLand/Kernel/bin/pe.c diff --git a/Kernel/bin/pe.h b/KernelLand/Kernel/bin/pe.h similarity index 100% rename from Kernel/bin/pe.h rename to KernelLand/Kernel/bin/pe.h diff --git a/Kernel/binary.c b/KernelLand/Kernel/binary.c similarity index 100% rename from Kernel/binary.c rename to KernelLand/Kernel/binary.c diff --git a/Kernel/debug.c b/KernelLand/Kernel/debug.c similarity index 100% rename from Kernel/debug.c rename to KernelLand/Kernel/debug.c diff --git a/Kernel/drv/Makefile b/KernelLand/Kernel/drv/Makefile similarity index 100% rename from Kernel/drv/Makefile rename to KernelLand/Kernel/drv/Makefile diff --git a/Kernel/drv/fifo.c b/KernelLand/Kernel/drv/fifo.c similarity index 100% rename from Kernel/drv/fifo.c rename to KernelLand/Kernel/drv/fifo.c diff --git a/Kernel/drv/iocache.c b/KernelLand/Kernel/drv/iocache.c similarity index 100% rename from Kernel/drv/iocache.c rename to KernelLand/Kernel/drv/iocache.c diff --git a/Kernel/drv/pci.c b/KernelLand/Kernel/drv/pci.c similarity index 100% rename from Kernel/drv/pci.c rename to KernelLand/Kernel/drv/pci.c diff --git a/Kernel/drv/proc.c b/KernelLand/Kernel/drv/proc.c similarity index 100% rename from Kernel/drv/proc.c rename to KernelLand/Kernel/drv/proc.c diff --git a/Kernel/drv/vterm.c b/KernelLand/Kernel/drv/vterm.c similarity index 100% rename from Kernel/drv/vterm.c rename to KernelLand/Kernel/drv/vterm.c diff --git a/Kernel/drv/vterm.h b/KernelLand/Kernel/drv/vterm.h similarity index 100% rename from Kernel/drv/vterm.h rename to KernelLand/Kernel/drv/vterm.h diff --git a/Kernel/drv/vterm_font.c b/KernelLand/Kernel/drv/vterm_font.c similarity index 100% rename from Kernel/drv/vterm_font.c rename to KernelLand/Kernel/drv/vterm_font.c diff --git a/Kernel/drv/vterm_font_8x16.h b/KernelLand/Kernel/drv/vterm_font_8x16.h similarity index 100% rename from Kernel/drv/vterm_font_8x16.h rename to KernelLand/Kernel/drv/vterm_font_8x16.h diff --git a/Kernel/drv/vterm_font_8x8.h b/KernelLand/Kernel/drv/vterm_font_8x8.h similarity index 100% rename from Kernel/drv/vterm_font_8x8.h rename to KernelLand/Kernel/drv/vterm_font_8x8.h diff --git a/Kernel/drv/vterm_input.c b/KernelLand/Kernel/drv/vterm_input.c similarity index 100% rename from Kernel/drv/vterm_input.c rename to KernelLand/Kernel/drv/vterm_input.c diff --git a/Kernel/drv/vterm_output.c b/KernelLand/Kernel/drv/vterm_output.c similarity index 100% rename from Kernel/drv/vterm_output.c rename to KernelLand/Kernel/drv/vterm_output.c diff --git a/Kernel/drv/vterm_termbuf.c b/KernelLand/Kernel/drv/vterm_termbuf.c similarity index 100% rename from Kernel/drv/vterm_termbuf.c rename to KernelLand/Kernel/drv/vterm_termbuf.c diff --git a/Kernel/drv/vterm_vt100.c b/KernelLand/Kernel/drv/vterm_vt100.c similarity index 100% rename from Kernel/drv/vterm_vt100.c rename to KernelLand/Kernel/drv/vterm_vt100.c diff --git a/Kernel/drvutil.c b/KernelLand/Kernel/drvutil.c similarity index 100% rename from Kernel/drvutil.c rename to KernelLand/Kernel/drvutil.c diff --git a/Kernel/events.c b/KernelLand/Kernel/events.c similarity index 100% rename from Kernel/events.c rename to KernelLand/Kernel/events.c diff --git a/Kernel/heap.c b/KernelLand/Kernel/heap.c similarity index 100% rename from Kernel/heap.c rename to KernelLand/Kernel/heap.c diff --git a/Kernel/include/acess.h b/KernelLand/Kernel/include/acess.h similarity index 100% rename from Kernel/include/acess.h rename to KernelLand/Kernel/include/acess.h diff --git a/Kernel/include/adt.h b/KernelLand/Kernel/include/adt.h similarity index 100% rename from Kernel/include/adt.h rename to KernelLand/Kernel/include/adt.h diff --git a/Kernel/include/api_drv_common.h b/KernelLand/Kernel/include/api_drv_common.h similarity index 100% rename from Kernel/include/api_drv_common.h rename to KernelLand/Kernel/include/api_drv_common.h diff --git a/Kernel/include/api_drv_disk.h b/KernelLand/Kernel/include/api_drv_disk.h similarity index 100% rename from Kernel/include/api_drv_disk.h rename to KernelLand/Kernel/include/api_drv_disk.h diff --git a/Kernel/include/api_drv_joystick.h b/KernelLand/Kernel/include/api_drv_joystick.h similarity index 100% rename from Kernel/include/api_drv_joystick.h rename to KernelLand/Kernel/include/api_drv_joystick.h diff --git a/Kernel/include/api_drv_keyboard.h b/KernelLand/Kernel/include/api_drv_keyboard.h similarity index 100% rename from Kernel/include/api_drv_keyboard.h rename to KernelLand/Kernel/include/api_drv_keyboard.h diff --git a/Kernel/include/api_drv_network.h b/KernelLand/Kernel/include/api_drv_network.h similarity index 100% rename from Kernel/include/api_drv_network.h rename to KernelLand/Kernel/include/api_drv_network.h diff --git a/Kernel/include/api_drv_terminal.h b/KernelLand/Kernel/include/api_drv_terminal.h similarity index 100% rename from Kernel/include/api_drv_terminal.h rename to KernelLand/Kernel/include/api_drv_terminal.h diff --git a/Kernel/include/api_drv_video.h b/KernelLand/Kernel/include/api_drv_video.h similarity index 100% rename from Kernel/include/api_drv_video.h rename to KernelLand/Kernel/include/api_drv_video.h diff --git a/Kernel/include/apidoc/arch_x86.h b/KernelLand/Kernel/include/apidoc/arch_x86.h similarity index 100% rename from Kernel/include/apidoc/arch_x86.h rename to KernelLand/Kernel/include/apidoc/arch_x86.h diff --git a/Kernel/include/apidoc_mainpage.h b/KernelLand/Kernel/include/apidoc_mainpage.h similarity index 100% rename from Kernel/include/apidoc_mainpage.h rename to KernelLand/Kernel/include/apidoc_mainpage.h diff --git a/Kernel/include/binary.h b/KernelLand/Kernel/include/binary.h similarity index 100% rename from Kernel/include/binary.h rename to KernelLand/Kernel/include/binary.h diff --git a/Kernel/include/binary_ext.h b/KernelLand/Kernel/include/binary_ext.h similarity index 100% rename from Kernel/include/binary_ext.h rename to KernelLand/Kernel/include/binary_ext.h diff --git a/Kernel/include/drv_pci.h b/KernelLand/Kernel/include/drv_pci.h similarity index 100% rename from Kernel/include/drv_pci.h rename to KernelLand/Kernel/include/drv_pci.h diff --git a/Kernel/include/drv_pci_int.h b/KernelLand/Kernel/include/drv_pci_int.h similarity index 100% rename from Kernel/include/drv_pci_int.h rename to KernelLand/Kernel/include/drv_pci_int.h diff --git a/Kernel/include/errno.h b/KernelLand/Kernel/include/errno.h similarity index 100% rename from Kernel/include/errno.h rename to KernelLand/Kernel/include/errno.h diff --git a/Kernel/include/events.h b/KernelLand/Kernel/include/events.h similarity index 100% rename from Kernel/include/events.h rename to KernelLand/Kernel/include/events.h diff --git a/Kernel/include/fs_devfs.h b/KernelLand/Kernel/include/fs_devfs.h similarity index 100% rename from Kernel/include/fs_devfs.h rename to KernelLand/Kernel/include/fs_devfs.h diff --git a/Kernel/include/fs_sysfs.h b/KernelLand/Kernel/include/fs_sysfs.h similarity index 100% rename from Kernel/include/fs_sysfs.h rename to KernelLand/Kernel/include/fs_sysfs.h diff --git a/Kernel/include/hal_proc.h b/KernelLand/Kernel/include/hal_proc.h similarity index 100% rename from Kernel/include/hal_proc.h rename to KernelLand/Kernel/include/hal_proc.h diff --git a/Kernel/include/heap.h b/KernelLand/Kernel/include/heap.h similarity index 100% rename from Kernel/include/heap.h rename to KernelLand/Kernel/include/heap.h diff --git a/Kernel/include/heap_int.h b/KernelLand/Kernel/include/heap_int.h similarity index 100% rename from Kernel/include/heap_int.h rename to KernelLand/Kernel/include/heap_int.h diff --git a/Kernel/include/init.h b/KernelLand/Kernel/include/init.h similarity index 100% rename from Kernel/include/init.h rename to KernelLand/Kernel/include/init.h diff --git a/Kernel/include/iocache.h b/KernelLand/Kernel/include/iocache.h similarity index 100% rename from Kernel/include/iocache.h rename to KernelLand/Kernel/include/iocache.h diff --git a/Kernel/include/lib/keyvalue.h b/KernelLand/Kernel/include/lib/keyvalue.h similarity index 100% rename from Kernel/include/lib/keyvalue.h rename to KernelLand/Kernel/include/lib/keyvalue.h diff --git a/Kernel/include/mboot.h b/KernelLand/Kernel/include/mboot.h similarity index 100% rename from Kernel/include/mboot.h rename to KernelLand/Kernel/include/mboot.h diff --git a/Kernel/include/modules.h b/KernelLand/Kernel/include/modules.h similarity index 100% rename from Kernel/include/modules.h rename to KernelLand/Kernel/include/modules.h diff --git a/Kernel/include/mutex.h b/KernelLand/Kernel/include/mutex.h similarity index 100% rename from Kernel/include/mutex.h rename to KernelLand/Kernel/include/mutex.h diff --git a/Kernel/include/semaphore.h b/KernelLand/Kernel/include/semaphore.h similarity index 100% rename from Kernel/include/semaphore.h rename to KernelLand/Kernel/include/semaphore.h diff --git a/Kernel/include/signal.h b/KernelLand/Kernel/include/signal.h similarity index 100% rename from Kernel/include/signal.h rename to KernelLand/Kernel/include/signal.h diff --git a/Kernel/include/syscalls.h b/KernelLand/Kernel/include/syscalls.h similarity index 100% rename from Kernel/include/syscalls.h rename to KernelLand/Kernel/include/syscalls.h diff --git a/Kernel/include/syscalls.inc.asm b/KernelLand/Kernel/include/syscalls.inc.asm similarity index 100% rename from Kernel/include/syscalls.inc.asm rename to KernelLand/Kernel/include/syscalls.inc.asm diff --git a/Kernel/include/threads.h b/KernelLand/Kernel/include/threads.h similarity index 100% rename from Kernel/include/threads.h rename to KernelLand/Kernel/include/threads.h diff --git a/Kernel/include/threads_int.h b/KernelLand/Kernel/include/threads_int.h similarity index 100% rename from Kernel/include/threads_int.h rename to KernelLand/Kernel/include/threads_int.h diff --git a/Kernel/include/timers.h b/KernelLand/Kernel/include/timers.h similarity index 100% rename from Kernel/include/timers.h rename to KernelLand/Kernel/include/timers.h diff --git a/Kernel/include/tpl_mm_phys_bitmap.h b/KernelLand/Kernel/include/tpl_mm_phys_bitmap.h similarity index 100% rename from Kernel/include/tpl_mm_phys_bitmap.h rename to KernelLand/Kernel/include/tpl_mm_phys_bitmap.h diff --git a/Kernel/include/tpl_mm_phys_stack.h b/KernelLand/Kernel/include/tpl_mm_phys_stack.h similarity index 100% rename from Kernel/include/tpl_mm_phys_stack.h rename to KernelLand/Kernel/include/tpl_mm_phys_stack.h diff --git a/Kernel/include/vfs.h b/KernelLand/Kernel/include/vfs.h similarity index 100% rename from Kernel/include/vfs.h rename to KernelLand/Kernel/include/vfs.h diff --git a/Kernel/include/vfs_ext.h b/KernelLand/Kernel/include/vfs_ext.h similarity index 100% rename from Kernel/include/vfs_ext.h rename to KernelLand/Kernel/include/vfs_ext.h diff --git a/Kernel/include/vfs_int.h b/KernelLand/Kernel/include/vfs_int.h similarity index 100% rename from Kernel/include/vfs_int.h rename to KernelLand/Kernel/include/vfs_int.h diff --git a/Kernel/include/vfs_ramfs.h b/KernelLand/Kernel/include/vfs_ramfs.h similarity index 100% rename from Kernel/include/vfs_ramfs.h rename to KernelLand/Kernel/include/vfs_ramfs.h diff --git a/Kernel/include/vfs_threads.h b/KernelLand/Kernel/include/vfs_threads.h similarity index 100% rename from Kernel/include/vfs_threads.h rename to KernelLand/Kernel/include/vfs_threads.h diff --git a/Kernel/include/workqueue.h b/KernelLand/Kernel/include/workqueue.h similarity index 100% rename from Kernel/include/workqueue.h rename to KernelLand/Kernel/include/workqueue.h diff --git a/Kernel/lib.c b/KernelLand/Kernel/lib.c similarity index 100% rename from Kernel/lib.c rename to KernelLand/Kernel/lib.c diff --git a/Kernel/logging.c b/KernelLand/Kernel/logging.c similarity index 100% rename from Kernel/logging.c rename to KernelLand/Kernel/logging.c diff --git a/Kernel/messages.c b/KernelLand/Kernel/messages.c similarity index 100% rename from Kernel/messages.c rename to KernelLand/Kernel/messages.c diff --git a/Kernel/modules.c b/KernelLand/Kernel/modules.c similarity index 100% rename from Kernel/modules.c rename to KernelLand/Kernel/modules.c diff --git a/Kernel/mutex.c b/KernelLand/Kernel/mutex.c similarity index 100% rename from Kernel/mutex.c rename to KernelLand/Kernel/mutex.c diff --git a/Kernel/semaphore.c b/KernelLand/Kernel/semaphore.c similarity index 100% rename from Kernel/semaphore.c rename to KernelLand/Kernel/semaphore.c diff --git a/Kernel/syscalls.c b/KernelLand/Kernel/syscalls.c similarity index 100% rename from Kernel/syscalls.c rename to KernelLand/Kernel/syscalls.c diff --git a/Kernel/syscalls.lst b/KernelLand/Kernel/syscalls.lst similarity index 100% rename from Kernel/syscalls.lst rename to KernelLand/Kernel/syscalls.lst diff --git a/Kernel/system.c b/KernelLand/Kernel/system.c similarity index 100% rename from Kernel/system.c rename to KernelLand/Kernel/system.c diff --git a/Kernel/threads.c b/KernelLand/Kernel/threads.c similarity index 100% rename from Kernel/threads.c rename to KernelLand/Kernel/threads.c diff --git a/Kernel/time.c b/KernelLand/Kernel/time.c similarity index 100% rename from Kernel/time.c rename to KernelLand/Kernel/time.c diff --git a/Kernel/vfs/acls.c b/KernelLand/Kernel/vfs/acls.c similarity index 100% rename from Kernel/vfs/acls.c rename to KernelLand/Kernel/vfs/acls.c diff --git a/Kernel/vfs/dir.c b/KernelLand/Kernel/vfs/dir.c similarity index 100% rename from Kernel/vfs/dir.c rename to KernelLand/Kernel/vfs/dir.c diff --git a/Kernel/vfs/fs/devfs.c b/KernelLand/Kernel/vfs/fs/devfs.c similarity index 100% rename from Kernel/vfs/fs/devfs.c rename to KernelLand/Kernel/vfs/fs/devfs.c diff --git a/Kernel/vfs/fs/root.c b/KernelLand/Kernel/vfs/fs/root.c similarity index 100% rename from Kernel/vfs/fs/root.c rename to KernelLand/Kernel/vfs/fs/root.c diff --git a/Kernel/vfs/handle.c b/KernelLand/Kernel/vfs/handle.c similarity index 100% rename from Kernel/vfs/handle.c rename to KernelLand/Kernel/vfs/handle.c diff --git a/Kernel/vfs/io.c b/KernelLand/Kernel/vfs/io.c similarity index 100% rename from Kernel/vfs/io.c rename to KernelLand/Kernel/vfs/io.c diff --git a/Kernel/vfs/main.c b/KernelLand/Kernel/vfs/main.c similarity index 100% rename from Kernel/vfs/main.c rename to KernelLand/Kernel/vfs/main.c diff --git a/Kernel/vfs/memfile.c b/KernelLand/Kernel/vfs/memfile.c similarity index 100% rename from Kernel/vfs/memfile.c rename to KernelLand/Kernel/vfs/memfile.c diff --git a/Kernel/vfs/mmap.c b/KernelLand/Kernel/vfs/mmap.c similarity index 100% rename from Kernel/vfs/mmap.c rename to KernelLand/Kernel/vfs/mmap.c diff --git a/Kernel/vfs/mount.c b/KernelLand/Kernel/vfs/mount.c similarity index 100% rename from Kernel/vfs/mount.c rename to KernelLand/Kernel/vfs/mount.c diff --git a/Kernel/vfs/nodecache.c b/KernelLand/Kernel/vfs/nodecache.c similarity index 100% rename from Kernel/vfs/nodecache.c rename to KernelLand/Kernel/vfs/nodecache.c diff --git a/Kernel/vfs/open.c b/KernelLand/Kernel/vfs/open.c similarity index 100% rename from Kernel/vfs/open.c rename to KernelLand/Kernel/vfs/open.c diff --git a/Kernel/vfs/select.c b/KernelLand/Kernel/vfs/select.c similarity index 100% rename from Kernel/vfs/select.c rename to KernelLand/Kernel/vfs/select.c diff --git a/Kernel/workqueue.c b/KernelLand/Kernel/workqueue.c similarity index 100% rename from Kernel/workqueue.c rename to KernelLand/Kernel/workqueue.c diff --git a/Modules/Display/BochsGA/Makefile b/KernelLand/Modules/Display/BochsGA/Makefile similarity index 100% rename from Modules/Display/BochsGA/Makefile rename to KernelLand/Modules/Display/BochsGA/Makefile diff --git a/Modules/Display/BochsGA/bochsvbe.c b/KernelLand/Modules/Display/BochsGA/bochsvbe.c similarity index 100% rename from Modules/Display/BochsGA/bochsvbe.c rename to KernelLand/Modules/Display/BochsGA/bochsvbe.c diff --git a/Modules/Display/Makefile.tpl b/KernelLand/Modules/Display/Makefile.tpl similarity index 100% rename from Modules/Display/Makefile.tpl rename to KernelLand/Modules/Display/Makefile.tpl diff --git a/Modules/Display/PL110/Makefile b/KernelLand/Modules/Display/PL110/Makefile similarity index 100% rename from Modules/Display/PL110/Makefile rename to KernelLand/Modules/Display/PL110/Makefile diff --git a/Modules/Display/PL110/main.c b/KernelLand/Modules/Display/PL110/main.c similarity index 100% rename from Modules/Display/PL110/main.c rename to KernelLand/Modules/Display/PL110/main.c diff --git a/Modules/Display/Tegra2Vid/Makefile b/KernelLand/Modules/Display/Tegra2Vid/Makefile similarity index 100% rename from Modules/Display/Tegra2Vid/Makefile rename to KernelLand/Modules/Display/Tegra2Vid/Makefile diff --git a/Modules/Display/Tegra2Vid/main.c b/KernelLand/Modules/Display/Tegra2Vid/main.c similarity index 100% rename from Modules/Display/Tegra2Vid/main.c rename to KernelLand/Modules/Display/Tegra2Vid/main.c diff --git a/Modules/Display/Tegra2Vid/tegra2.h b/KernelLand/Modules/Display/Tegra2Vid/tegra2.h similarity index 100% rename from Modules/Display/Tegra2Vid/tegra2.h rename to KernelLand/Modules/Display/Tegra2Vid/tegra2.h diff --git a/Modules/Display/VESA/Makefile b/KernelLand/Modules/Display/VESA/Makefile similarity index 100% rename from Modules/Display/VESA/Makefile rename to KernelLand/Modules/Display/VESA/Makefile diff --git a/Modules/Display/VESA/common.h b/KernelLand/Modules/Display/VESA/common.h similarity index 100% rename from Modules/Display/VESA/common.h rename to KernelLand/Modules/Display/VESA/common.h diff --git a/Modules/Display/VESA/main.c b/KernelLand/Modules/Display/VESA/main.c similarity index 100% rename from Modules/Display/VESA/main.c rename to KernelLand/Modules/Display/VESA/main.c diff --git a/Modules/Filesystems/Ext2/Makefile b/KernelLand/Modules/Filesystems/Ext2/Makefile similarity index 100% rename from Modules/Filesystems/Ext2/Makefile rename to KernelLand/Modules/Filesystems/Ext2/Makefile diff --git a/Modules/Filesystems/Ext2/dir.c b/KernelLand/Modules/Filesystems/Ext2/dir.c similarity index 100% rename from Modules/Filesystems/Ext2/dir.c rename to KernelLand/Modules/Filesystems/Ext2/dir.c diff --git a/Modules/Filesystems/Ext2/ext2.c b/KernelLand/Modules/Filesystems/Ext2/ext2.c similarity index 100% rename from Modules/Filesystems/Ext2/ext2.c rename to KernelLand/Modules/Filesystems/Ext2/ext2.c diff --git a/Modules/Filesystems/Ext2/ext2_common.h b/KernelLand/Modules/Filesystems/Ext2/ext2_common.h similarity index 100% rename from Modules/Filesystems/Ext2/ext2_common.h rename to KernelLand/Modules/Filesystems/Ext2/ext2_common.h diff --git a/Modules/Filesystems/Ext2/ext2fs.h b/KernelLand/Modules/Filesystems/Ext2/ext2fs.h similarity index 100% rename from Modules/Filesystems/Ext2/ext2fs.h rename to KernelLand/Modules/Filesystems/Ext2/ext2fs.h diff --git a/Modules/Filesystems/Ext2/read.c b/KernelLand/Modules/Filesystems/Ext2/read.c similarity index 100% rename from Modules/Filesystems/Ext2/read.c rename to KernelLand/Modules/Filesystems/Ext2/read.c diff --git a/Modules/Filesystems/Ext2/write.c b/KernelLand/Modules/Filesystems/Ext2/write.c similarity index 100% rename from Modules/Filesystems/Ext2/write.c rename to KernelLand/Modules/Filesystems/Ext2/write.c diff --git a/Modules/Filesystems/FAT/Makefile b/KernelLand/Modules/Filesystems/FAT/Makefile similarity index 100% rename from Modules/Filesystems/FAT/Makefile rename to KernelLand/Modules/Filesystems/FAT/Makefile diff --git a/Modules/Filesystems/FAT/fat.c b/KernelLand/Modules/Filesystems/FAT/fat.c similarity index 100% rename from Modules/Filesystems/FAT/fat.c rename to KernelLand/Modules/Filesystems/FAT/fat.c diff --git a/Modules/Filesystems/FAT/fs_fat.h b/KernelLand/Modules/Filesystems/FAT/fs_fat.h similarity index 100% rename from Modules/Filesystems/FAT/fs_fat.h rename to KernelLand/Modules/Filesystems/FAT/fs_fat.h diff --git a/Modules/Filesystems/InitRD/GenerateInitRD.php b/KernelLand/Modules/Filesystems/InitRD/GenerateInitRD.php similarity index 100% rename from Modules/Filesystems/InitRD/GenerateInitRD.php rename to KernelLand/Modules/Filesystems/InitRD/GenerateInitRD.php diff --git a/Modules/Filesystems/InitRD/Makefile b/KernelLand/Modules/Filesystems/InitRD/Makefile similarity index 100% rename from Modules/Filesystems/InitRD/Makefile rename to KernelLand/Modules/Filesystems/InitRD/Makefile diff --git a/Modules/Filesystems/InitRD/files.lst b/KernelLand/Modules/Filesystems/InitRD/files.lst similarity index 100% rename from Modules/Filesystems/InitRD/files.lst rename to KernelLand/Modules/Filesystems/InitRD/files.lst diff --git a/Modules/Filesystems/InitRD/initrd.h b/KernelLand/Modules/Filesystems/InitRD/initrd.h similarity index 100% rename from Modules/Filesystems/InitRD/initrd.h rename to KernelLand/Modules/Filesystems/InitRD/initrd.h diff --git a/Modules/Filesystems/InitRD/main.c b/KernelLand/Modules/Filesystems/InitRD/main.c similarity index 100% rename from Modules/Filesystems/InitRD/main.c rename to KernelLand/Modules/Filesystems/InitRD/main.c diff --git a/KernelLand/Modules/Filesystems/LEAN/common.h b/KernelLand/Modules/Filesystems/LEAN/common.h new file mode 100644 index 00000000..f75b8b6a --- /dev/null +++ b/KernelLand/Modules/Filesystems/LEAN/common.h @@ -0,0 +1,101 @@ +/* + * Acess 2 LEAN Filesystem Driver + * By John Hodge (thePowersGang) + * + * lean.h - Filesystem Structure Definitions + */ +#ifndef _COMMON_H_ +#define _COMMON_H_ + +#define EXTENTS_PER_INODE 6 +#define EXTENTS_PER_INDIRECT 38 + +struct sLEAN_Superblock +{ + // TODO +}; + +struct sLEAN_IndirectBlock +{ + Uint32 Checksum; // Block checksum + Uint32 Magic; // 'INDX' + Uint64 SectorCount; // Number of blocks referenced by this block + Uint64 Inode; // Inode this block belongs to (in for robustness) + Uint64 ThisSector; // Sector number of this block + Uint64 PrevIndirect; // Backlink to the previous indirect block (or zero) + Uint64 NextIndirect; // Link to the next indirect block (or zero) + + /** + * Number of extents stored in this block (only the last block can + * have this as < \a EXTENTS_PER_INDIRECT + */ + Uint8 NumExtents; + Uint8 reserved1[3]; //!< Reserved/Padding + Uint32 reserved2; //!< Reserved/Padding + + Uint64 ExtentsStarts[EXTENTS_PER_INDIRECT]; + Uint32 ExtentsSizes[EXTENTS_PER_INDIRECT]; +} + +struct sLEAN_Inode +{ + Uint32 Checksum; //!< Checksum of the inode + Uint32 Magic; //!< Magic Value 'NODE' + + Uint8 ExtentCount; //!< Number of extents defined in the inode structure + Uint8 reserved1[3]; //!< Reserved/Padding + + Uint32 IndirectCount; //!< Number of indirect extent blocks used by the file + Uint32 LinkCount; //!< Number of directory entires that refer to this inode + + Uint32 UID; //!< Owning User + Uint32 GID; //!< Owning Group + Uint32 Attributes; //!< + Uint64 FileSize; //!< Size of the file data (not including inode and other bookkeeping) + Uint64 SectorCount; //!< Number of sectors allocated to the file + Sint64 LastAccessTime; //!< Last access time + Sint64 StatusChangeTime; //!< Last change of the status bits time + Sint64 ModifcationTime; //!< Last modifcation time + Sint64 CreationTime; //!< File creation time + + Uint64 FirstIndirect; //!< Sector number of the first indirect block + Uint64 LastIndirect; //!< Sector number of the last indirect block + + Uint64 Fork; //!< ???? + + Uint64 ExtentsStarts[EXTENTS_PER_INODE]; + Uint32 ExtentsSizes[EXTENTS_PER_INODE]; +}; + +enum eLEAN_InodeAttributes +{ + LEAN_iaXOth = 1 << 0, LEAN_iaWOth = 1 << 1, LEAN_iaROth = 1 << 2, + LEAN_iaXGrp = 1 << 3, LEAN_iaWGrp = 1 << 4, LEAN_iaRGrp = 1 << 5, + LEAN_iaXUsr = 1 << 6, LEAN_iaWUsr = 1 << 7, LEAN_iaRUsr = 1 << 8, + + LEAN_iaSVTX = 1 << 9, + LEAN_iaSGID = 1 << 10, + LEAN_iaSUID = 1 << 11, + + LEAN_iaHidden = 1 << 12, + LEAN_iaSystem = 1 << 13, + LEAN_iaArchive = 1 << 14, // Set on any write + LEAN_iaSync = 1 << 15, + LEAN_iaNoAccessTime = 1 << 16, //!< Don't update the last accessed time + LEAN_iaImmutable = 1 << 17, //!< Don't move sectors (defragger flag) + LEAN_iaPrealloc = 1 << 18, //!< Keep preallocated sectors after close + LEAN_iaInlineExtAttr = 1 << 19, //!< Reserve the first sector + + LEAN_iaFmtMask = 7 << 29, //!< Format mask + LEAN_iaFmtRegular = 1 << 29, //!< Regular File + LEAN_iaFmtDirectory = 2 << 29, //!< Directory + LEAN_iaFmtSymlink = 3 << 29, //!< Symlink + LEAN_iaFmtFork = 4 << 29, //!< Fork +}; + +struct tLEAN_ExtendedAttribute +{ + Uint32 Header; // 8.24 Name.Value Sizes +}; + +#endif diff --git a/KernelLand/Modules/Filesystems/LEAN/main.c b/KernelLand/Modules/Filesystems/LEAN/main.c new file mode 100644 index 00000000..400d4f81 --- /dev/null +++ b/KernelLand/Modules/Filesystems/LEAN/main.c @@ -0,0 +1,18 @@ +/* + * Acess 2 LEAN Filesystem Driver + * By John Hodge (thePowersGang) + */ +#include +#include + +// === CONSTANTS === + +// === PROTOTYPES === + +// === GLOBALS === + +// === CODE === +int LEAN_Install(char **Arguments) +{ + return 1; +} diff --git a/Modules/Filesystems/Makefile.tpl b/KernelLand/Modules/Filesystems/Makefile.tpl similarity index 100% rename from Modules/Filesystems/Makefile.tpl rename to KernelLand/Modules/Filesystems/Makefile.tpl diff --git a/Modules/Filesystems/NFS/Makefile b/KernelLand/Modules/Filesystems/NFS/Makefile similarity index 100% rename from Modules/Filesystems/NFS/Makefile rename to KernelLand/Modules/Filesystems/NFS/Makefile diff --git a/Modules/Filesystems/NFS/common.h b/KernelLand/Modules/Filesystems/NFS/common.h similarity index 100% rename from Modules/Filesystems/NFS/common.h rename to KernelLand/Modules/Filesystems/NFS/common.h diff --git a/Modules/Filesystems/NFS/main.c b/KernelLand/Modules/Filesystems/NFS/main.c similarity index 100% rename from Modules/Filesystems/NFS/main.c rename to KernelLand/Modules/Filesystems/NFS/main.c diff --git a/Modules/Filesystems/NTFS/Makefile b/KernelLand/Modules/Filesystems/NTFS/Makefile similarity index 100% rename from Modules/Filesystems/NTFS/Makefile rename to KernelLand/Modules/Filesystems/NTFS/Makefile diff --git a/Modules/Filesystems/NTFS/attributes.h b/KernelLand/Modules/Filesystems/NTFS/attributes.h similarity index 100% rename from Modules/Filesystems/NTFS/attributes.h rename to KernelLand/Modules/Filesystems/NTFS/attributes.h diff --git a/Modules/Filesystems/NTFS/common.h b/KernelLand/Modules/Filesystems/NTFS/common.h similarity index 100% rename from Modules/Filesystems/NTFS/common.h rename to KernelLand/Modules/Filesystems/NTFS/common.h diff --git a/Modules/Filesystems/NTFS/dir.c b/KernelLand/Modules/Filesystems/NTFS/dir.c similarity index 100% rename from Modules/Filesystems/NTFS/dir.c rename to KernelLand/Modules/Filesystems/NTFS/dir.c diff --git a/Modules/Filesystems/NTFS/index.h b/KernelLand/Modules/Filesystems/NTFS/index.h similarity index 100% rename from Modules/Filesystems/NTFS/index.h rename to KernelLand/Modules/Filesystems/NTFS/index.h diff --git a/Modules/Filesystems/NTFS/main.c b/KernelLand/Modules/Filesystems/NTFS/main.c similarity index 100% rename from Modules/Filesystems/NTFS/main.c rename to KernelLand/Modules/Filesystems/NTFS/main.c diff --git a/Modules/IPStack/Makefile b/KernelLand/Modules/IPStack/Makefile similarity index 100% rename from Modules/IPStack/Makefile rename to KernelLand/Modules/IPStack/Makefile diff --git a/Modules/IPStack/arp.c b/KernelLand/Modules/IPStack/arp.c similarity index 100% rename from Modules/IPStack/arp.c rename to KernelLand/Modules/IPStack/arp.c diff --git a/Modules/IPStack/arp.h b/KernelLand/Modules/IPStack/arp.h similarity index 100% rename from Modules/IPStack/arp.h rename to KernelLand/Modules/IPStack/arp.h diff --git a/Modules/IPStack/firewall.c b/KernelLand/Modules/IPStack/firewall.c similarity index 100% rename from Modules/IPStack/firewall.c rename to KernelLand/Modules/IPStack/firewall.c diff --git a/Modules/IPStack/firewall.h b/KernelLand/Modules/IPStack/firewall.h similarity index 100% rename from Modules/IPStack/firewall.h rename to KernelLand/Modules/IPStack/firewall.h diff --git a/Modules/IPStack/icmp.c b/KernelLand/Modules/IPStack/icmp.c similarity index 100% rename from Modules/IPStack/icmp.c rename to KernelLand/Modules/IPStack/icmp.c diff --git a/Modules/IPStack/icmp.h b/KernelLand/Modules/IPStack/icmp.h similarity index 100% rename from Modules/IPStack/icmp.h rename to KernelLand/Modules/IPStack/icmp.h diff --git a/Modules/IPStack/interface.c b/KernelLand/Modules/IPStack/interface.c similarity index 100% rename from Modules/IPStack/interface.c rename to KernelLand/Modules/IPStack/interface.c diff --git a/Modules/IPStack/ipstack.h b/KernelLand/Modules/IPStack/ipstack.h similarity index 100% rename from Modules/IPStack/ipstack.h rename to KernelLand/Modules/IPStack/ipstack.h diff --git a/Modules/IPStack/ipv4.c b/KernelLand/Modules/IPStack/ipv4.c similarity index 100% rename from Modules/IPStack/ipv4.c rename to KernelLand/Modules/IPStack/ipv4.c diff --git a/Modules/IPStack/ipv4.h b/KernelLand/Modules/IPStack/ipv4.h similarity index 100% rename from Modules/IPStack/ipv4.h rename to KernelLand/Modules/IPStack/ipv4.h diff --git a/Modules/IPStack/ipv6.c b/KernelLand/Modules/IPStack/ipv6.c similarity index 100% rename from Modules/IPStack/ipv6.c rename to KernelLand/Modules/IPStack/ipv6.c diff --git a/Modules/IPStack/ipv6.h b/KernelLand/Modules/IPStack/ipv6.h similarity index 100% rename from Modules/IPStack/ipv6.h rename to KernelLand/Modules/IPStack/ipv6.h diff --git a/Modules/IPStack/link.c b/KernelLand/Modules/IPStack/link.c similarity index 100% rename from Modules/IPStack/link.c rename to KernelLand/Modules/IPStack/link.c diff --git a/Modules/IPStack/link.h b/KernelLand/Modules/IPStack/link.h similarity index 100% rename from Modules/IPStack/link.h rename to KernelLand/Modules/IPStack/link.h diff --git a/Modules/IPStack/main.c b/KernelLand/Modules/IPStack/main.c similarity index 100% rename from Modules/IPStack/main.c rename to KernelLand/Modules/IPStack/main.c diff --git a/Modules/IPStack/routing.c b/KernelLand/Modules/IPStack/routing.c similarity index 100% rename from Modules/IPStack/routing.c rename to KernelLand/Modules/IPStack/routing.c diff --git a/Modules/IPStack/sctp.c b/KernelLand/Modules/IPStack/sctp.c similarity index 100% rename from Modules/IPStack/sctp.c rename to KernelLand/Modules/IPStack/sctp.c diff --git a/Modules/IPStack/tcp.c b/KernelLand/Modules/IPStack/tcp.c similarity index 100% rename from Modules/IPStack/tcp.c rename to KernelLand/Modules/IPStack/tcp.c diff --git a/Modules/IPStack/tcp.h b/KernelLand/Modules/IPStack/tcp.h similarity index 100% rename from Modules/IPStack/tcp.h rename to KernelLand/Modules/IPStack/tcp.h diff --git a/Modules/IPStack/udp.c b/KernelLand/Modules/IPStack/udp.c similarity index 100% rename from Modules/IPStack/udp.c rename to KernelLand/Modules/IPStack/udp.c diff --git a/Modules/IPStack/udp.h b/KernelLand/Modules/IPStack/udp.h similarity index 100% rename from Modules/IPStack/udp.h rename to KernelLand/Modules/IPStack/udp.h diff --git a/Modules/Input/Makefile.tpl b/KernelLand/Modules/Input/Makefile.tpl similarity index 100% rename from Modules/Input/Makefile.tpl rename to KernelLand/Modules/Input/Makefile.tpl diff --git a/Modules/Input/PS2KbMouse/8042.c b/KernelLand/Modules/Input/PS2KbMouse/8042.c similarity index 100% rename from Modules/Input/PS2KbMouse/8042.c rename to KernelLand/Modules/Input/PS2KbMouse/8042.c diff --git a/Modules/Input/PS2KbMouse/Makefile b/KernelLand/Modules/Input/PS2KbMouse/Makefile similarity index 100% rename from Modules/Input/PS2KbMouse/Makefile rename to KernelLand/Modules/Input/PS2KbMouse/Makefile diff --git a/Modules/Input/PS2KbMouse/common.h b/KernelLand/Modules/Input/PS2KbMouse/common.h similarity index 100% rename from Modules/Input/PS2KbMouse/common.h rename to KernelLand/Modules/Input/PS2KbMouse/common.h diff --git a/Modules/Input/PS2KbMouse/kb.c b/KernelLand/Modules/Input/PS2KbMouse/kb.c similarity index 100% rename from Modules/Input/PS2KbMouse/kb.c rename to KernelLand/Modules/Input/PS2KbMouse/kb.c diff --git a/Modules/Input/PS2KbMouse/kb_kbdus.h b/KernelLand/Modules/Input/PS2KbMouse/kb_kbdus.h similarity index 100% rename from Modules/Input/PS2KbMouse/kb_kbdus.h rename to KernelLand/Modules/Input/PS2KbMouse/kb_kbdus.h diff --git a/Modules/Input/PS2KbMouse/main.c b/KernelLand/Modules/Input/PS2KbMouse/main.c similarity index 100% rename from Modules/Input/PS2KbMouse/main.c rename to KernelLand/Modules/Input/PS2KbMouse/main.c diff --git a/Modules/Input/PS2KbMouse/pl050.c b/KernelLand/Modules/Input/PS2KbMouse/pl050.c similarity index 100% rename from Modules/Input/PS2KbMouse/pl050.c rename to KernelLand/Modules/Input/PS2KbMouse/pl050.c diff --git a/Modules/Input/PS2KbMouse/ps2mouse.c b/KernelLand/Modules/Input/PS2KbMouse/ps2mouse.c similarity index 100% rename from Modules/Input/PS2KbMouse/ps2mouse.c rename to KernelLand/Modules/Input/PS2KbMouse/ps2mouse.c diff --git a/Modules/Interfaces/EDI/Makefile b/KernelLand/Modules/Interfaces/EDI/Makefile similarity index 100% rename from Modules/Interfaces/EDI/Makefile rename to KernelLand/Modules/Interfaces/EDI/Makefile diff --git a/Modules/Interfaces/EDI/edi/acess-edi.h b/KernelLand/Modules/Interfaces/EDI/edi/acess-edi.h similarity index 100% rename from Modules/Interfaces/EDI/edi/acess-edi.h rename to KernelLand/Modules/Interfaces/EDI/edi/acess-edi.h diff --git a/Modules/Interfaces/EDI/edi/edi.h b/KernelLand/Modules/Interfaces/EDI/edi/edi.h similarity index 100% rename from Modules/Interfaces/EDI/edi/edi.h rename to KernelLand/Modules/Interfaces/EDI/edi/edi.h diff --git a/Modules/Interfaces/EDI/edi/edi_devices.h b/KernelLand/Modules/Interfaces/EDI/edi/edi_devices.h similarity index 100% rename from Modules/Interfaces/EDI/edi/edi_devices.h rename to KernelLand/Modules/Interfaces/EDI/edi/edi_devices.h diff --git a/Modules/Interfaces/EDI/edi/edi_dma_streams.h b/KernelLand/Modules/Interfaces/EDI/edi/edi_dma_streams.h similarity index 100% rename from Modules/Interfaces/EDI/edi/edi_dma_streams.h rename to KernelLand/Modules/Interfaces/EDI/edi/edi_dma_streams.h diff --git a/Modules/Interfaces/EDI/edi/edi_interrupts.h b/KernelLand/Modules/Interfaces/EDI/edi/edi_interrupts.h similarity index 100% rename from Modules/Interfaces/EDI/edi/edi_interrupts.h rename to KernelLand/Modules/Interfaces/EDI/edi/edi_interrupts.h diff --git a/Modules/Interfaces/EDI/edi/edi_memory_mapping.h b/KernelLand/Modules/Interfaces/EDI/edi/edi_memory_mapping.h similarity index 100% rename from Modules/Interfaces/EDI/edi/edi_memory_mapping.h rename to KernelLand/Modules/Interfaces/EDI/edi/edi_memory_mapping.h diff --git a/Modules/Interfaces/EDI/edi/edi_objects.h b/KernelLand/Modules/Interfaces/EDI/edi/edi_objects.h similarity index 100% rename from Modules/Interfaces/EDI/edi/edi_objects.h rename to KernelLand/Modules/Interfaces/EDI/edi/edi_objects.h diff --git a/Modules/Interfaces/EDI/edi/edi_port_io.h b/KernelLand/Modules/Interfaces/EDI/edi/edi_port_io.h similarity index 100% rename from Modules/Interfaces/EDI/edi/edi_port_io.h rename to KernelLand/Modules/Interfaces/EDI/edi/edi_port_io.h diff --git a/Modules/Interfaces/EDI/edi/edi_pthreads.h b/KernelLand/Modules/Interfaces/EDI/edi/edi_pthreads.h similarity index 100% rename from Modules/Interfaces/EDI/edi/edi_pthreads.h rename to KernelLand/Modules/Interfaces/EDI/edi/edi_pthreads.h diff --git a/Modules/Interfaces/EDI/edi/helpers.h b/KernelLand/Modules/Interfaces/EDI/edi/helpers.h similarity index 100% rename from Modules/Interfaces/EDI/edi/helpers.h rename to KernelLand/Modules/Interfaces/EDI/edi/helpers.h diff --git a/Modules/Interfaces/EDI/edi_int.inc.c b/KernelLand/Modules/Interfaces/EDI/edi_int.inc.c similarity index 100% rename from Modules/Interfaces/EDI/edi_int.inc.c rename to KernelLand/Modules/Interfaces/EDI/edi_int.inc.c diff --git a/Modules/Interfaces/EDI/edi_io.inc.c b/KernelLand/Modules/Interfaces/EDI/edi_io.inc.c similarity index 100% rename from Modules/Interfaces/EDI/edi_io.inc.c rename to KernelLand/Modules/Interfaces/EDI/edi_io.inc.c diff --git a/Modules/Interfaces/EDI/main.c b/KernelLand/Modules/Interfaces/EDI/main.c similarity index 100% rename from Modules/Interfaces/EDI/main.c rename to KernelLand/Modules/Interfaces/EDI/main.c diff --git a/Modules/Interfaces/Makefile.tpl b/KernelLand/Modules/Interfaces/Makefile.tpl similarity index 100% rename from Modules/Interfaces/Makefile.tpl rename to KernelLand/Modules/Interfaces/Makefile.tpl diff --git a/Modules/Interfaces/UDI/Makefile b/KernelLand/Modules/Interfaces/UDI/Makefile similarity index 100% rename from Modules/Interfaces/UDI/Makefile rename to KernelLand/Modules/Interfaces/UDI/Makefile diff --git a/Modules/Interfaces/UDI/Notes.txt b/KernelLand/Modules/Interfaces/UDI/Notes.txt similarity index 100% rename from Modules/Interfaces/UDI/Notes.txt rename to KernelLand/Modules/Interfaces/UDI/Notes.txt diff --git a/Modules/Interfaces/UDI/buf.c b/KernelLand/Modules/Interfaces/UDI/buf.c similarity index 100% rename from Modules/Interfaces/UDI/buf.c rename to KernelLand/Modules/Interfaces/UDI/buf.c diff --git a/Modules/Interfaces/UDI/cb.c b/KernelLand/Modules/Interfaces/UDI/cb.c similarity index 100% rename from Modules/Interfaces/UDI/cb.c rename to KernelLand/Modules/Interfaces/UDI/cb.c diff --git a/Modules/Interfaces/UDI/imc.c b/KernelLand/Modules/Interfaces/UDI/imc.c similarity index 100% rename from Modules/Interfaces/UDI/imc.c rename to KernelLand/Modules/Interfaces/UDI/imc.c diff --git a/Modules/Interfaces/UDI/include/physio/meta_bus.h b/KernelLand/Modules/Interfaces/UDI/include/physio/meta_bus.h similarity index 100% rename from Modules/Interfaces/UDI/include/physio/meta_bus.h rename to KernelLand/Modules/Interfaces/UDI/include/physio/meta_bus.h diff --git a/Modules/Interfaces/UDI/include/physio/meta_intr.h b/KernelLand/Modules/Interfaces/UDI/include/physio/meta_intr.h similarity index 100% rename from Modules/Interfaces/UDI/include/physio/meta_intr.h rename to KernelLand/Modules/Interfaces/UDI/include/physio/meta_intr.h diff --git a/Modules/Interfaces/UDI/include/physio/pio.h b/KernelLand/Modules/Interfaces/UDI/include/physio/pio.h similarity index 100% rename from Modules/Interfaces/UDI/include/physio/pio.h rename to KernelLand/Modules/Interfaces/UDI/include/physio/pio.h diff --git a/Modules/Interfaces/UDI/include/udi.h b/KernelLand/Modules/Interfaces/UDI/include/udi.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi.h rename to KernelLand/Modules/Interfaces/UDI/include/udi.h diff --git a/Modules/Interfaces/UDI/include/udi/arch/x86.h b/KernelLand/Modules/Interfaces/UDI/include/udi/arch/x86.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi/arch/x86.h rename to KernelLand/Modules/Interfaces/UDI/include/udi/arch/x86.h diff --git a/Modules/Interfaces/UDI/include/udi/attr.h b/KernelLand/Modules/Interfaces/UDI/include/udi/attr.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi/attr.h rename to KernelLand/Modules/Interfaces/UDI/include/udi/attr.h diff --git a/Modules/Interfaces/UDI/include/udi/buf.h b/KernelLand/Modules/Interfaces/UDI/include/udi/buf.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi/buf.h rename to KernelLand/Modules/Interfaces/UDI/include/udi/buf.h diff --git a/Modules/Interfaces/UDI/include/udi/cb.h b/KernelLand/Modules/Interfaces/UDI/include/udi/cb.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi/cb.h rename to KernelLand/Modules/Interfaces/UDI/include/udi/cb.h diff --git a/Modules/Interfaces/UDI/include/udi/imc.h b/KernelLand/Modules/Interfaces/UDI/include/udi/imc.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi/imc.h rename to KernelLand/Modules/Interfaces/UDI/include/udi/imc.h diff --git a/Modules/Interfaces/UDI/include/udi/init.h b/KernelLand/Modules/Interfaces/UDI/include/udi/init.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi/init.h rename to KernelLand/Modules/Interfaces/UDI/include/udi/init.h diff --git a/Modules/Interfaces/UDI/include/udi/log.h b/KernelLand/Modules/Interfaces/UDI/include/udi/log.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi/log.h rename to KernelLand/Modules/Interfaces/UDI/include/udi/log.h diff --git a/Modules/Interfaces/UDI/include/udi/mem.h b/KernelLand/Modules/Interfaces/UDI/include/udi/mem.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi/mem.h rename to KernelLand/Modules/Interfaces/UDI/include/udi/mem.h diff --git a/Modules/Interfaces/UDI/include/udi/meta_gio.h b/KernelLand/Modules/Interfaces/UDI/include/udi/meta_gio.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi/meta_gio.h rename to KernelLand/Modules/Interfaces/UDI/include/udi/meta_gio.h diff --git a/Modules/Interfaces/UDI/include/udi/meta_mgmt.h b/KernelLand/Modules/Interfaces/UDI/include/udi/meta_mgmt.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi/meta_mgmt.h rename to KernelLand/Modules/Interfaces/UDI/include/udi/meta_mgmt.h diff --git a/Modules/Interfaces/UDI/include/udi/strmem.h b/KernelLand/Modules/Interfaces/UDI/include/udi/strmem.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi/strmem.h rename to KernelLand/Modules/Interfaces/UDI/include/udi/strmem.h diff --git a/Modules/Interfaces/UDI/include/udi_physio.h b/KernelLand/Modules/Interfaces/UDI/include/udi_physio.h similarity index 100% rename from Modules/Interfaces/UDI/include/udi_physio.h rename to KernelLand/Modules/Interfaces/UDI/include/udi_physio.h diff --git a/Modules/Interfaces/UDI/logging.c b/KernelLand/Modules/Interfaces/UDI/logging.c similarity index 100% rename from Modules/Interfaces/UDI/logging.c rename to KernelLand/Modules/Interfaces/UDI/logging.c diff --git a/Modules/Interfaces/UDI/main.c b/KernelLand/Modules/Interfaces/UDI/main.c similarity index 100% rename from Modules/Interfaces/UDI/main.c rename to KernelLand/Modules/Interfaces/UDI/main.c diff --git a/Modules/Interfaces/UDI/mem.c b/KernelLand/Modules/Interfaces/UDI/mem.c similarity index 100% rename from Modules/Interfaces/UDI/mem.c rename to KernelLand/Modules/Interfaces/UDI/mem.c diff --git a/Modules/Interfaces/UDI/meta_gio.c b/KernelLand/Modules/Interfaces/UDI/meta_gio.c similarity index 100% rename from Modules/Interfaces/UDI/meta_gio.c rename to KernelLand/Modules/Interfaces/UDI/meta_gio.c diff --git a/Modules/Interfaces/UDI/meta_mgmt.c b/KernelLand/Modules/Interfaces/UDI/meta_mgmt.c similarity index 100% rename from Modules/Interfaces/UDI/meta_mgmt.c rename to KernelLand/Modules/Interfaces/UDI/meta_mgmt.c diff --git a/Modules/Interfaces/UDI/physio.c b/KernelLand/Modules/Interfaces/UDI/physio.c similarity index 100% rename from Modules/Interfaces/UDI/physio.c rename to KernelLand/Modules/Interfaces/UDI/physio.c diff --git a/Modules/Interfaces/UDI/physio/meta_bus.c b/KernelLand/Modules/Interfaces/UDI/physio/meta_bus.c similarity index 100% rename from Modules/Interfaces/UDI/physio/meta_bus.c rename to KernelLand/Modules/Interfaces/UDI/physio/meta_bus.c diff --git a/Modules/Interfaces/UDI/physio/meta_intr.c b/KernelLand/Modules/Interfaces/UDI/physio/meta_intr.c similarity index 100% rename from Modules/Interfaces/UDI/physio/meta_intr.c rename to KernelLand/Modules/Interfaces/UDI/physio/meta_intr.c diff --git a/Modules/Interfaces/UDI/physio_main.c b/KernelLand/Modules/Interfaces/UDI/physio_main.c similarity index 100% rename from Modules/Interfaces/UDI/physio_main.c rename to KernelLand/Modules/Interfaces/UDI/physio_main.c diff --git a/Modules/Interfaces/UDI/strmem.c b/KernelLand/Modules/Interfaces/UDI/strmem.c similarity index 100% rename from Modules/Interfaces/UDI/strmem.c rename to KernelLand/Modules/Interfaces/UDI/strmem.c diff --git a/Modules/Libraries/SunRPC/proto.h b/KernelLand/Modules/Libraries/SunRPC/proto.h similarity index 100% rename from Modules/Libraries/SunRPC/proto.h rename to KernelLand/Modules/Libraries/SunRPC/proto.h diff --git a/Modules/Makefile.tpl b/KernelLand/Modules/Makefile.tpl similarity index 100% rename from Modules/Makefile.tpl rename to KernelLand/Modules/Makefile.tpl diff --git a/Modules/Network/Makefile.tpl b/KernelLand/Modules/Network/Makefile.tpl similarity index 100% rename from Modules/Network/Makefile.tpl rename to KernelLand/Modules/Network/Makefile.tpl diff --git a/Modules/Network/NE2000/Makefile b/KernelLand/Modules/Network/NE2000/Makefile similarity index 100% rename from Modules/Network/NE2000/Makefile rename to KernelLand/Modules/Network/NE2000/Makefile diff --git a/Modules/Network/NE2000/ne2000.c b/KernelLand/Modules/Network/NE2000/ne2000.c similarity index 100% rename from Modules/Network/NE2000/ne2000.c rename to KernelLand/Modules/Network/NE2000/ne2000.c diff --git a/Modules/Network/PCnet-FASTIII/Makefile b/KernelLand/Modules/Network/PCnet-FASTIII/Makefile similarity index 100% rename from Modules/Network/PCnet-FASTIII/Makefile rename to KernelLand/Modules/Network/PCnet-FASTIII/Makefile diff --git a/Modules/Network/PCnet-FASTIII/pcnet-fast3.c b/KernelLand/Modules/Network/PCnet-FASTIII/pcnet-fast3.c similarity index 100% rename from Modules/Network/PCnet-FASTIII/pcnet-fast3.c rename to KernelLand/Modules/Network/PCnet-FASTIII/pcnet-fast3.c diff --git a/Modules/Network/RTL8139/Makefile b/KernelLand/Modules/Network/RTL8139/Makefile similarity index 100% rename from Modules/Network/RTL8139/Makefile rename to KernelLand/Modules/Network/RTL8139/Makefile diff --git a/Modules/Network/RTL8139/rtl8139.c b/KernelLand/Modules/Network/RTL8139/rtl8139.c similarity index 100% rename from Modules/Network/RTL8139/rtl8139.c rename to KernelLand/Modules/Network/RTL8139/rtl8139.c diff --git a/Modules/Sound/SoundBlaster16/Makefile b/KernelLand/Modules/Sound/SoundBlaster16/Makefile similarity index 100% rename from Modules/Sound/SoundBlaster16/Makefile rename to KernelLand/Modules/Sound/SoundBlaster16/Makefile diff --git a/Modules/Sound/SoundBlaster16/main.c b/KernelLand/Modules/Sound/SoundBlaster16/main.c similarity index 100% rename from Modules/Sound/SoundBlaster16/main.c rename to KernelLand/Modules/Sound/SoundBlaster16/main.c diff --git a/Modules/Sound/SoundBlaster16/sbdsp.txt b/KernelLand/Modules/Sound/SoundBlaster16/sbdsp.txt similarity index 100% rename from Modules/Sound/SoundBlaster16/sbdsp.txt rename to KernelLand/Modules/Sound/SoundBlaster16/sbdsp.txt diff --git a/Modules/Storage/ATA/Makefile b/KernelLand/Modules/Storage/ATA/Makefile similarity index 100% rename from Modules/Storage/ATA/Makefile rename to KernelLand/Modules/Storage/ATA/Makefile diff --git a/Modules/Storage/ATA/common.h b/KernelLand/Modules/Storage/ATA/common.h similarity index 100% rename from Modules/Storage/ATA/common.h rename to KernelLand/Modules/Storage/ATA/common.h diff --git a/Modules/Storage/ATA/io.c b/KernelLand/Modules/Storage/ATA/io.c similarity index 100% rename from Modules/Storage/ATA/io.c rename to KernelLand/Modules/Storage/ATA/io.c diff --git a/Modules/Storage/ATA/main.c b/KernelLand/Modules/Storage/ATA/main.c similarity index 100% rename from Modules/Storage/ATA/main.c rename to KernelLand/Modules/Storage/ATA/main.c diff --git a/Modules/Storage/ATA/mbr.c b/KernelLand/Modules/Storage/ATA/mbr.c similarity index 100% rename from Modules/Storage/ATA/mbr.c rename to KernelLand/Modules/Storage/ATA/mbr.c diff --git a/Modules/Storage/FDD/Makefile b/KernelLand/Modules/Storage/FDD/Makefile similarity index 100% rename from Modules/Storage/FDD/Makefile rename to KernelLand/Modules/Storage/FDD/Makefile diff --git a/Modules/Storage/FDD/fdd.c b/KernelLand/Modules/Storage/FDD/fdd.c similarity index 100% rename from Modules/Storage/FDD/fdd.c rename to KernelLand/Modules/Storage/FDD/fdd.c diff --git a/Modules/Storage/FDDv2/Makefile b/KernelLand/Modules/Storage/FDDv2/Makefile similarity index 100% rename from Modules/Storage/FDDv2/Makefile rename to KernelLand/Modules/Storage/FDDv2/Makefile diff --git a/Modules/Storage/FDDv2/common.h b/KernelLand/Modules/Storage/FDDv2/common.h similarity index 100% rename from Modules/Storage/FDDv2/common.h rename to KernelLand/Modules/Storage/FDDv2/common.h diff --git a/Modules/Storage/FDDv2/fdc.c b/KernelLand/Modules/Storage/FDDv2/fdc.c similarity index 100% rename from Modules/Storage/FDDv2/fdc.c rename to KernelLand/Modules/Storage/FDDv2/fdc.c diff --git a/Modules/Storage/FDDv2/main.c b/KernelLand/Modules/Storage/FDDv2/main.c similarity index 100% rename from Modules/Storage/FDDv2/main.c rename to KernelLand/Modules/Storage/FDDv2/main.c diff --git a/KernelLand/Modules/Storage/LVM/Makefile b/KernelLand/Modules/Storage/LVM/Makefile new file mode 100644 index 00000000..1f871124 --- /dev/null +++ b/KernelLand/Modules/Storage/LVM/Makefile @@ -0,0 +1,9 @@ +# +# Acess2 Logical Volume Manager +# - Handles MBR Partitions (and eventually others) +# + +OBJ = main.o mbr.o +NAME = LVM + +-include ../Makefile.tpl diff --git a/KernelLand/Modules/Storage/LVM/lvm.h b/KernelLand/Modules/Storage/LVM/lvm.h new file mode 100644 index 00000000..e69de29b diff --git a/KernelLand/Modules/Storage/LVM/lvm_int.h b/KernelLand/Modules/Storage/LVM/lvm_int.h new file mode 100644 index 00000000..36f2eb2c --- /dev/null +++ b/KernelLand/Modules/Storage/LVM/lvm_int.h @@ -0,0 +1,8 @@ +/* + * Acess2 Logical Volume Manager + * - By John Hodge (thePowersGang) + * + * lvm_int.h + * - Internal definitions + */ + diff --git a/KernelLand/Modules/Storage/LVM/main.c b/KernelLand/Modules/Storage/LVM/main.c new file mode 100644 index 00000000..e69de29b diff --git a/KernelLand/Modules/Storage/LVM/mbr.c b/KernelLand/Modules/Storage/LVM/mbr.c new file mode 100644 index 00000000..8cbb5b19 --- /dev/null +++ b/KernelLand/Modules/Storage/LVM/mbr.c @@ -0,0 +1,186 @@ +/* + * Acess2 IDE Harddisk Driver + * - MBR Parsing Code + * mbr.c + */ +#define DEBUG 0 +#include +#include "lvm_int.h" + +// === PROTOTYPES === +void LVM_MBR_Initialise(int Disk, tMBR *MBR); +Uint64 LVM_MBR_int_ReadExt(int Disk, Uint64 Addr, Uint64 *Base, Uint64 *Length); + +// === GLOBALS === + +// === CODE === +/** + * \fn void ATA_ParseMBR(int Disk, tMBR *MBR) + */ +void ATA_ParseMBR(int Disk, tMBR *MBR) +{ + int i, j = 0, k = 4; + Uint64 extendedLBA; + Uint64 base, len; + + ENTER("iDisk", Disk); + + // Count Partitions + gATA_Disks[Disk].NumPartitions = 0; + extendedLBA = 0; + for( i = 0; i < 4; i ++ ) + { + if( MBR->Parts[i].SystemID == 0 ) continue; + if( MBR->Parts[i].Boot == 0x0 || MBR->Parts[i].Boot == 0x80 // LBA 28 + || MBR->Parts[i].Boot == 0x1 || MBR->Parts[i].Boot == 0x81 // LBA 48 + ) + { + if( MBR->Parts[i].SystemID == 0xF || MBR->Parts[i].SystemID == 5 ) { + LOG("Extended Partition at 0x%llx", MBR->Parts[i].LBAStart); + if(extendedLBA != 0) { + Warning("Disk %i has multiple extended partitions, ignoring rest", Disk); + continue; + } + extendedLBA = MBR->Parts[i].LBAStart; + continue; + } + LOG("Primary Partition at 0x%llx", MBR->Parts[i].LBAStart); + + gATA_Disks[Disk].NumPartitions ++; + continue; + } + // Invalid Partition, so don't count it + } + while(extendedLBA != 0) + { + extendedLBA = ATA_MBR_int_ReadExt(Disk, extendedLBA, &base, &len); + if( extendedLBA == -1 ) break; + gATA_Disks[Disk].NumPartitions ++; + } + LOG("gATA_Disks[Disk].NumPartitions = %i", gATA_Disks[Disk].NumPartitions); + + // Create patition array + gATA_Disks[Disk].Partitions = malloc( gATA_Disks[Disk].NumPartitions * sizeof(tATA_Partition) ); + + // --- Fill Partition Info --- + extendedLBA = 0; + for( j = 0, i = 0; i < 4; i ++ ) + { + LOG("MBR->Parts[%i].SystemID = 0x%02x", i, MBR->Parts[i].SystemID); + if( MBR->Parts[i].SystemID == 0 ) continue; + if( MBR->Parts[i].Boot == 0x0 || MBR->Parts[i].Boot == 0x80 ) // LBA 28 + { + base = MBR->Parts[i].LBAStart; + len = MBR->Parts[i].LBALength; + } + else if( MBR->Parts[i].Boot == 0x1 || MBR->Parts[i].Boot == 0x81 ) // LBA 58 + { + base = (MBR->Parts[i].StartHi << 16) | MBR->Parts[i].LBAStart; + len = (MBR->Parts[i].LengthHi << 16) | MBR->Parts[i].LBALength; + } + else + continue; + + if( MBR->Parts[i].SystemID == 0xF || MBR->Parts[i].SystemID == 5 ) { + if(extendedLBA != 0) { + Log_Warning("ATA", "Disk %i has multiple extended partitions, ignoring rest", Disk); + continue; + } + extendedLBA = base; + continue; + } + // Create Partition + ATA_int_MakePartition( + &gATA_Disks[Disk].Partitions[j], Disk, j, + base, len + ); + j ++; + + } + // Scan extended partitions + while(extendedLBA != 0) + { + extendedLBA = ATA_MBR_int_ReadExt(Disk, extendedLBA, &base, &len); + if(extendedLBA == -1) break; + ATA_int_MakePartition( + &gATA_Disks[Disk].Partitions[j], Disk, k, base, len + ); + } + + LEAVE('-'); +} + +/** + * \brief Reads an extended partition + * \return LBA of next Extended, -1 on error, 0 for last + */ +Uint64 ATA_MBR_int_ReadExt(int Disk, Uint64 Addr, Uint64 *Base, Uint64 *Length) +{ + Uint64 link = 0; + int bFoundPart = 0;; + int i; + tMBR mbr; + Uint64 base, len; + + if( ATA_ReadDMA( Disk, Addr, 1, &mbr ) != 0 ) + return -1; // Stop on Errors + + for( i = 0; i < 4; i ++ ) + { + if( mbr.Parts[i].SystemID == 0 ) continue; + + // LBA 24 + if( mbr.Parts[i].Boot == 0x0 || mbr.Parts[i].Boot == 0x80 ) { + base = mbr.Parts[i].LBAStart; + len = mbr.Parts[i].LBALength; + } + // LBA 48 + else if( mbr.Parts[i].Boot == 0x1 || mbr.Parts[i].Boot == 0x81 ) { + base = (mbr.Parts[i].StartHi << 16) | mbr.Parts[i].LBAStart; + len = (mbr.Parts[i].LengthHi << 16) | mbr.Parts[i].LBALength; + } + else { + Log_Warning("ATA MBR", + "Unknown partition type 0x%x, Disk %i Ext 0x%llx Part %i", + mbr.Parts[i].Boot, Disk, Addr, i + ); + return -1; + } + + switch(mbr.Parts[i].SystemID) + { + case 0xF: + case 0x5: + if(link != 0) { + Log_Warning("ATA MBR", + "Disk %i has two forward links in the extended partition", + Disk + ); + return -1; + } + link = base; + break; + default: + if(bFoundPart) { + Warning("ATA MBR", + "Disk %i has more than one partition in the extended partition at 0x%llx", + Disk, Addr + ); + return -1; + } + bFoundPart = 1; + *Base = base; + *Length = len; + break; + } + } + + if(!bFoundPart) { + Log_Warning("ATA MBR", + "No partition in extended partiton, Disk %i 0x%llx", + Disk, Addr); + return -1; + } + + return link; +} diff --git a/KernelLand/Modules/Storage/LVM/volumes.c b/KernelLand/Modules/Storage/LVM/volumes.c new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Storage/Makefile.tpl b/KernelLand/Modules/Storage/Makefile.tpl similarity index 100% rename from Modules/Storage/Makefile.tpl rename to KernelLand/Modules/Storage/Makefile.tpl diff --git a/Modules/USB/Core/Makefile b/KernelLand/Modules/USB/Core/Makefile similarity index 100% rename from Modules/USB/Core/Makefile rename to KernelLand/Modules/USB/Core/Makefile diff --git a/Modules/USB/Core/hub.c b/KernelLand/Modules/USB/Core/hub.c similarity index 100% rename from Modules/USB/Core/hub.c rename to KernelLand/Modules/USB/Core/hub.c diff --git a/Modules/USB/Core/include/usb_core.h b/KernelLand/Modules/USB/Core/include/usb_core.h similarity index 100% rename from Modules/USB/Core/include/usb_core.h rename to KernelLand/Modules/USB/Core/include/usb_core.h diff --git a/Modules/USB/Core/include/usb_host.h b/KernelLand/Modules/USB/Core/include/usb_host.h similarity index 100% rename from Modules/USB/Core/include/usb_host.h rename to KernelLand/Modules/USB/Core/include/usb_host.h diff --git a/Modules/USB/Core/include/usb_hub.h b/KernelLand/Modules/USB/Core/include/usb_hub.h similarity index 100% rename from Modules/USB/Core/include/usb_hub.h rename to KernelLand/Modules/USB/Core/include/usb_hub.h diff --git a/Modules/USB/Core/main.c b/KernelLand/Modules/USB/Core/main.c similarity index 100% rename from Modules/USB/Core/main.c rename to KernelLand/Modules/USB/Core/main.c diff --git a/Modules/USB/Core/usb.c b/KernelLand/Modules/USB/Core/usb.c similarity index 100% rename from Modules/USB/Core/usb.c rename to KernelLand/Modules/USB/Core/usb.c diff --git a/Modules/USB/Core/usb.h b/KernelLand/Modules/USB/Core/usb.h similarity index 100% rename from Modules/USB/Core/usb.h rename to KernelLand/Modules/USB/Core/usb.h diff --git a/Modules/USB/Core/usb_devinit.c b/KernelLand/Modules/USB/Core/usb_devinit.c similarity index 100% rename from Modules/USB/Core/usb_devinit.c rename to KernelLand/Modules/USB/Core/usb_devinit.c diff --git a/Modules/USB/Core/usb_io.c b/KernelLand/Modules/USB/Core/usb_io.c similarity index 100% rename from Modules/USB/Core/usb_io.c rename to KernelLand/Modules/USB/Core/usb_io.c diff --git a/Modules/USB/Core/usb_lowlevel.c b/KernelLand/Modules/USB/Core/usb_lowlevel.c similarity index 100% rename from Modules/USB/Core/usb_lowlevel.c rename to KernelLand/Modules/USB/Core/usb_lowlevel.c diff --git a/Modules/USB/Core/usb_lowlevel.h b/KernelLand/Modules/USB/Core/usb_lowlevel.h similarity index 100% rename from Modules/USB/Core/usb_lowlevel.h rename to KernelLand/Modules/USB/Core/usb_lowlevel.h diff --git a/Modules/USB/Core/usb_poll.c b/KernelLand/Modules/USB/Core/usb_poll.c similarity index 100% rename from Modules/USB/Core/usb_poll.c rename to KernelLand/Modules/USB/Core/usb_poll.c diff --git a/Modules/USB/Core/usb_proto.h b/KernelLand/Modules/USB/Core/usb_proto.h similarity index 100% rename from Modules/USB/Core/usb_proto.h rename to KernelLand/Modules/USB/Core/usb_proto.h diff --git a/Modules/USB/HID/hid.h b/KernelLand/Modules/USB/HID/hid.h similarity index 100% rename from Modules/USB/HID/hid.h rename to KernelLand/Modules/USB/HID/hid.h diff --git a/Modules/USB/HID/keysyms.h b/KernelLand/Modules/USB/HID/keysyms.h similarity index 100% rename from Modules/USB/HID/keysyms.h rename to KernelLand/Modules/USB/HID/keysyms.h diff --git a/Modules/USB/HID/main.c b/KernelLand/Modules/USB/HID/main.c similarity index 100% rename from Modules/USB/HID/main.c rename to KernelLand/Modules/USB/HID/main.c diff --git a/Modules/USB/Makefile.tpl b/KernelLand/Modules/USB/Makefile.tpl similarity index 100% rename from Modules/USB/Makefile.tpl rename to KernelLand/Modules/USB/Makefile.tpl diff --git a/KernelLand/Modules/USB/OHCI/ohci.h b/KernelLand/Modules/USB/OHCI/ohci.h new file mode 100644 index 00000000..30eeb962 --- /dev/null +++ b/KernelLand/Modules/USB/OHCI/ohci.h @@ -0,0 +1,81 @@ +/* + * Acess2 OHCI Driver + * - By John Hodge (thePowersGang) + * + * ohci.h + * - Core Header + */ +#ifndef _OHCI_H_ +#define _OHCI_H_ + +struct sEndpointDesc +{ + // 0: 6 = Address + // 7:10 = Endpoint Num + // 11:12 = Direction (TD, OUT, IN, TD) + // 13 = Speed (Full, Low) + // 14 = Skip entry + // 15 = Format (Others, Isochronous) + // 16:26 = Max Packet Size + // 27:31 = AVAIL + Uint32 Flags; + // 0: 3 = AVAIL + // 4:31 = TailP + Uint32 TailP; // Last TD in queue + // 0 = Halted (Queue stopped due to error) + // 1 = Data toggle carry + // 2: 3 = ZERO + // 4:31 = HeadP + Uint32 HeadP; // First TD in queue + // 0: 3 = AVAIL + // 4:31 = NextED + Uint32 NextED; // Next endpoint descriptor +}; + +struct sGeneralTD +{ + // 0:17 = AVAIL + // 18 = Buffer Rounding (Allow an undersized packet) + // 19:20 = Direction (SETUP, OUT, IN, Resvd) + // 21:23 = Delay Interrupt (Frame count, 7 = no int) + // 24:25 = Data Toggle (ToggleCarry, ToggleCarry, 0, 1) + // 26:27 = Error Count + // 28:31 = Condition Code + Uint32 Flags; + + // Base address of packet (or current when being read) + Uint32 CBP; + + Uint32 NextTD; + + // Address of final byte in buffer + Uint32 BE; +}; + +struct sIsochronousTD +{ + // 0:15 = Starting Frame + // 16:20 = AVAIL + // 21:23 = Delay Interrupt + // 24:26 = Frame Count - 1 (1, 2, 3, 4, 5, 6, 7, 8) + // 27 = AVAIL + // 28:31 = Condition Code + Uint32 Flags; + + // 0:11 = AVAIL + // 12:31 = Page number of first byte in buffer + Uint32 BP0; // Buffer Page 0 + + Uint32 NextTD; + + // Address of last byte in buffer + Uint32 BufferEnd; + + // 0:11 = Page Offset + // 12 = Page selector (BufferPage0, BufferEnd) + // 13:15 = Unused? + Uint16 Offsets[8]; +}; + +#endif + diff --git a/Modules/USB/UHCI/Makefile b/KernelLand/Modules/USB/UHCI/Makefile similarity index 100% rename from Modules/USB/UHCI/Makefile rename to KernelLand/Modules/USB/UHCI/Makefile diff --git a/Modules/USB/UHCI/uhci.c b/KernelLand/Modules/USB/UHCI/uhci.c similarity index 100% rename from Modules/USB/UHCI/uhci.c rename to KernelLand/Modules/USB/UHCI/uhci.c diff --git a/Modules/USB/UHCI/uhci.h b/KernelLand/Modules/USB/UHCI/uhci.h similarity index 100% rename from Modules/USB/UHCI/uhci.h rename to KernelLand/Modules/USB/UHCI/uhci.h diff --git a/Modules/armv7/GIC/Makefile b/KernelLand/Modules/armv7/GIC/Makefile similarity index 100% rename from Modules/armv7/GIC/Makefile rename to KernelLand/Modules/armv7/GIC/Makefile diff --git a/Modules/armv7/GIC/gic.c b/KernelLand/Modules/armv7/GIC/gic.c similarity index 100% rename from Modules/armv7/GIC/gic.c rename to KernelLand/Modules/armv7/GIC/gic.c diff --git a/Modules/armv7/GIC/gic.h b/KernelLand/Modules/armv7/GIC/gic.h similarity index 100% rename from Modules/armv7/GIC/gic.h rename to KernelLand/Modules/armv7/GIC/gic.h diff --git a/Modules/armv7/Makefile.tpl b/KernelLand/Modules/armv7/Makefile.tpl similarity index 100% rename from Modules/armv7/Makefile.tpl rename to KernelLand/Modules/armv7/Makefile.tpl diff --git a/Modules/link.ld b/KernelLand/Modules/link.ld similarity index 100% rename from Modules/link.ld rename to KernelLand/Modules/link.ld diff --git a/Modules/x86/ISADMA/Makefile b/KernelLand/Modules/x86/ISADMA/Makefile similarity index 100% rename from Modules/x86/ISADMA/Makefile rename to KernelLand/Modules/x86/ISADMA/Makefile diff --git a/Modules/x86/ISADMA/dma.c b/KernelLand/Modules/x86/ISADMA/dma.c similarity index 100% rename from Modules/x86/ISADMA/dma.c rename to KernelLand/Modules/x86/ISADMA/dma.c diff --git a/Modules/x86/ISADMA/include/dma.h b/KernelLand/Modules/x86/ISADMA/include/dma.h similarity index 100% rename from Modules/x86/ISADMA/include/dma.h rename to KernelLand/Modules/x86/ISADMA/include/dma.h diff --git a/Modules/x86/Makefile.tpl b/KernelLand/Modules/x86/Makefile.tpl similarity index 100% rename from Modules/x86/Makefile.tpl rename to KernelLand/Modules/x86/Makefile.tpl diff --git a/Modules/x86/VGAText/Makefile b/KernelLand/Modules/x86/VGAText/Makefile similarity index 100% rename from Modules/x86/VGAText/Makefile rename to KernelLand/Modules/x86/VGAText/Makefile diff --git a/Modules/x86/VGAText/vga.c b/KernelLand/Modules/x86/VGAText/vga.c similarity index 100% rename from Modules/x86/VGAText/vga.c rename to KernelLand/Modules/x86/VGAText/vga.c diff --git a/Modules/Filesystems/InitRD/.gitignore b/Modules/Filesystems/InitRD/.gitignore deleted file mode 100644 index 85e33a6c..00000000 --- a/Modules/Filesystems/InitRD/.gitignore +++ /dev/null @@ -1 +0,0 @@ -files.*.c* diff --git a/Design Notes/AcessFS.txt b/Notes/AcessFS.txt similarity index 100% rename from Design Notes/AcessFS.txt rename to Notes/AcessFS.txt diff --git a/Design Notes/Spinlocks.txt b/Notes/Spinlocks.txt similarity index 100% rename from Design Notes/Spinlocks.txt rename to Notes/Spinlocks.txt diff --git a/Design Notes/VFS - Select.txt b/Notes/VFS - Select.txt similarity index 100% rename from Design Notes/VFS - Select.txt rename to Notes/VFS - Select.txt diff --git a/Design Notes/VTerm.txt b/Notes/VTerm.txt similarity index 100% rename from Design Notes/VTerm.txt rename to Notes/VTerm.txt -- 2.20.1