From 07df2b9fdadfe8f2baa0254299506a12243d2753 Mon Sep 17 00:00:00 2001 From: JJ Date: Fri, 5 Mar 2021 13:22:34 +1100 Subject: [PATCH] Lemond: Now loads and starts services from /system/lemon/lemond. Capitalise headers for readability --- Applications/DeviceManager/main.cpp | 6 +- Applications/FileManager/main.cpp | 12 +- Applications/GUITest/main.cpp | 6 +- Applications/ImgView/main.cpp | 8 +- Applications/JSONDump/main.cpp | 2 +- Applications/LSh/main.cpp | 4 +- Applications/LemonMonitor/main.cpp | 8 +- Applications/Minesweeper/main.cpp | 4 +- Applications/Run/main.cpp | 6 +- Applications/Shell/main.cpp | 24 ++-- Applications/Shell/menu.cpp | 11 +- Applications/Shell/shell.cpp | 4 +- Applications/Shell/shell.h | 6 +- Applications/Snake/main.cpp | 8 +- Applications/Steal/main.cpp | 2 +- Applications/SysInfo/main.cpp | 10 +- Applications/Terminal/main.cpp | 14 +- Applications/TextEdit/exttextbox.h | 2 +- Applications/TextEdit/main.cpp | 12 +- Base/lemon/lemond/lemonwm.lemond.json | 4 + Base/lemon/lemond/networkgovernor.lemond.json | 5 + Base/lemon/lemond/shell.lemond.json | 5 + Kernel/include/ABI | 1 + .../{arch/x86_64/abi.h => Arch/x86_64/ABI.h} | 0 .../x86_64/acpi.h => Arch/x86_64/ACPI.h} | 2 +- .../x86_64/apic.h => Arch/x86_64/APIC.h} | 0 .../{arch/x86_64/cpu.h => Arch/x86_64/CPU.h} | 6 +- .../x86_64/debug.h => Arch/x86_64/Debug.h} | 0 .../{arch/x86_64/elf.h => Arch/x86_64/ELF.h} | 0 .../{arch/x86_64/hal.h => Arch/x86_64/HAL.h} | 2 +- .../{arch/x86_64/idt.h => Arch/x86_64/IDT.h} | 2 +- .../keyboard.h => Arch/x86_64/Keyboard.h} | 0 .../x86_64/memory.h => Arch/x86_64/Memory.h} | 6 +- .../x86_64/mouse.h => Arch/x86_64/Mouse.h} | 0 .../{arch/x86_64/pci.h => Arch/x86_64/PCI.h} | 6 +- .../x86_64/paging.h => Arch/x86_64/Paging.h} | 2 +- .../x86_64/PhysicalAllocator.h} | 8 +- .../{arch/x86_64/smp.h => Arch/x86_64/SMP.h} | 2 +- .../scheduler.h => Arch/x86_64/Scheduler.h} | 28 ++-- .../x86_64/serial.h => Arch/x86_64/Serial.h} | 0 .../strace.h => Arch/x86_64/StackTrace.h} | 6 +- .../syscalls.h => Arch/x86_64/Syscalls.h} | 0 .../x86_64/system.h => Arch/x86_64/System.h} | 0 .../{arch/x86_64/tss.h => Arch/x86_64/TSS.h} | 0 .../x86_64/thread.h => Arch/x86_64/Thread.h} | 8 +- .../x86_64/timer.h => Arch/x86_64/Timer.h} | 0 .../x86_64/types.h => Arch/x86_64/Types.h} | 0 Kernel/include/{assert.h => Assert.h} | 0 .../{audio/hdaudio.h => Audio/HDAudio.h} | 2 +- .../{characterbuffer.h => CharacterBuffer.h} | 2 +- Kernel/include/{device.h => Device.h} | 8 +- Kernel/include/{endian.h => Endian.h} | 0 Kernel/include/{errno.h => Errno.h} | 0 Kernel/include/Framebuffer.h | 3 + Kernel/include/{fs/ext2.h => Fs/Ext2.h} | 12 +- Kernel/include/{fs/fat32.h => Fs/Fat32.h} | 6 +- .../{fs/filesystem.h => Fs/Filesystem.h} | 6 +- .../include/{fs/fsvolume.h => Fs/FsVolume.h} | 4 +- Kernel/include/{fs/initrd.h => Fs/Initrd.h} | 4 +- Kernel/include/{fs/tar.h => Fs/TAR.h} | 4 +- Kernel/include/{fs/tmp.h => Fs/Tmp.h} | 8 +- Kernel/include/{hash.h => Hash.h} | 2 +- Kernel/include/{lemon.h => Lemon.h} | 0 Kernel/include/{liballoc.h => Liballoc.h} | 0 Kernel/include/{list.h => List.h} | 6 +- Kernel/include/{lock.h => Lock.h} | 8 +- Kernel/include/{logging.h => Logging.h} | 4 +- Kernel/include/{math.h => Math.h} | 0 Kernel/include/{mischdr.h => MiscHdr.h} | 0 Kernel/include/{net => Net}/8254x.h | 4 +- .../{net/networkadapter.h => Net/Adapter.h} | 6 +- Kernel/include/{net/if.h => Net/If.h} | 0 Kernel/include/{net/net.h => Net/Net.h} | 8 +- Kernel/include/{net/socket.h => Net/Socket.h} | 12 +- .../{objects/handle.h => Objects/Handle.h} | 4 +- .../interface.h => Objects/Interface.h} | 6 +- .../{objects/kobject.h => Objects/KObject.h} | 10 +- .../{objects/message.h => Objects/Message.h} | 12 +- .../{objects/service.h => Objects/Service.h} | 8 +- Kernel/include/{pty.h => PTY.h} | 8 +- Kernel/include/{pair.h => Pair.h} | 0 Kernel/include/{panic.h => Panic.h} | 0 Kernel/include/{refptr.h => RefPtr.h} | 6 +- Kernel/include/{ringbuffer.h => RingBuffer.h} | 4 +- .../include/{sharedmem.h => SharedMemory.h} | 2 +- Kernel/include/{spin.h => Spinlock.h} | 2 +- Kernel/include/{ahci.h => Storage/AHCI.h} | 4 +- Kernel/include/{ata.h => Storage/ATA.h} | 0 .../{atadrive.h => Storage/ATADrive.h} | 4 +- Kernel/include/{gpt.h => Storage/GPT.h} | 2 +- Kernel/include/{nvme.h => Storage/NVMe.h} | 6 +- Kernel/include/{stream.h => Stream.h} | 6 +- Kernel/include/{string.h => String.h} | 2 +- Kernel/include/{systeminfo.h => SystemInfo.h} | 0 Kernel/include/{ttraits.h => TTraits.h} | 0 Kernel/include/{timerevent.h => TimerEvent.h} | 4 +- Kernel/include/{xhci.h => USB/XHCI.h} | 2 +- Kernel/include/{vector.h => Vector.h} | 4 +- Kernel/include/{video.h => Video/Video.h} | 2 +- .../{videoconsole.h => Video/VideoConsole.h} | 0 Kernel/include/abi | 1 - Kernel/include/fb.h | 3 - Kernel/include/gui.h | 80 ------------ Kernel/meson.build | 2 +- Kernel/src/arch/x86_64/acpi.cpp | 24 ++-- Kernel/src/arch/x86_64/apic.cpp | 16 +-- Kernel/src/arch/x86_64/cpuid.cpp | 2 +- Kernel/src/arch/x86_64/elf.cpp | 16 +-- Kernel/src/arch/x86_64/hal.cpp | 40 +++--- Kernel/src/arch/x86_64/idt.cpp | 20 +-- Kernel/src/arch/x86_64/keyboard.cpp | 15 +-- Kernel/src/arch/x86_64/mouse.cpp | 16 +-- Kernel/src/arch/x86_64/paging.cpp | 26 ++-- Kernel/src/arch/x86_64/pci.cpp | 18 +-- Kernel/src/arch/x86_64/physicalallocator.cpp | 16 +-- Kernel/src/arch/x86_64/scheduler.cpp | 40 +++--- Kernel/src/arch/x86_64/serial.cpp | 10 +- Kernel/src/arch/x86_64/smp.cpp | 24 ++-- Kernel/src/arch/x86_64/ssp.cpp | 2 +- Kernel/src/arch/x86_64/stringsafe.cpp | 4 +- Kernel/src/arch/x86_64/syscalls.cpp | 59 +++++---- Kernel/src/arch/x86_64/system.cpp | 2 +- Kernel/src/arch/x86_64/thread.cpp | 12 +- Kernel/src/arch/x86_64/timer.cpp | 23 ++-- Kernel/src/arch/x86_64/tss.cpp | 8 +- Kernel/src/assert.cpp | 16 +-- Kernel/src/audio/hdaudio.cpp | 7 +- Kernel/src/characterbuffer.cpp | 10 +- Kernel/src/debug.cpp | 2 +- Kernel/src/device.cpp | 22 ++-- Kernel/src/fs/ext2.cpp | 14 +- Kernel/src/fs/fat32.cpp | 12 +- Kernel/src/fs/filesystem.cpp | 12 +- Kernel/src/fs/fsnodestubs.cpp | 6 +- Kernel/src/fs/fsvolume.cpp | 2 +- Kernel/src/fs/initrd.cpp | 18 +-- Kernel/src/fs/tar.cpp | 6 +- Kernel/src/fs/tmp.cpp | 6 +- Kernel/src/gpt.cpp | 10 +- Kernel/src/kernel.cpp | 57 ++++----- Kernel/src/liballoc/_liballoc.cpp | 16 +-- Kernel/src/liballoc/liballoc.c | 4 +- Kernel/src/lock.cpp | 10 +- Kernel/src/logging.cpp | 18 +-- Kernel/src/net/8254x.cpp | 26 ++-- Kernel/src/net/interface.cpp | 18 +-- Kernel/src/net/ipsocket.cpp | 10 +- Kernel/src/net/net.cpp | 16 +-- Kernel/src/net/networkadapter.cpp | 12 +- Kernel/src/net/socket.cpp | 10 +- Kernel/src/net/tcp.cpp | 12 +- Kernel/src/net/udp.cpp | 12 +- Kernel/src/objects/interface.cpp | 6 +- Kernel/src/objects/kobject.cpp | 2 +- Kernel/src/objects/message.cpp | 6 +- Kernel/src/objects/service.cpp | 4 +- Kernel/src/panic.cpp | 10 +- Kernel/src/runtime.cpp | 4 +- Kernel/src/sharedmem.cpp | 10 +- Kernel/src/storage/ahci.cpp | 16 +-- Kernel/src/storage/ahciport.cpp | 18 +-- Kernel/src/storage/ata.cpp | 24 ++-- Kernel/src/storage/atadrive.cpp | 16 +-- Kernel/src/storage/diskdevice.cpp | 10 +- Kernel/src/storage/nvme.cpp | 12 +- Kernel/src/storage/nvmenamespace.cpp | 8 +- Kernel/src/storage/partitiondevice.cpp | 4 +- Kernel/src/streams.cpp | 8 +- Kernel/src/string.cpp | 6 +- Kernel/src/tty/pty.cpp | 20 +-- Kernel/src/usb/xhci.cpp | 18 +-- Kernel/src/video.cpp | 4 +- Kernel/src/videoconsole.cpp | 10 +- .../cfgparser.h => Lemon/Core/CFGParser.h} | 0 .../core/event.h => Lemon/Core/Event.h} | 2 +- .../core/fb.h => Lemon/Core/Framebuffer.h} | 4 +- .../core/input.h => Lemon/Core/Input.h} | 0 .../{lemon/core/json.h => Lemon/Core/JSON.h} | 2 +- .../core/keyboard.h => Lemon/Core/Keyboard.h} | 0 .../core/lexer.h => Lemon/Core/Lexer.h} | 0 .../core/rotate.h => Lemon/Core/Rotate.h} | 0 .../{lemon/core/sha.h => Lemon/Core/SHA.h} | 0 .../sharedmem.h => Lemon/Core/SharedMemory.h} | 0 .../core/shell.h => Lemon/Core/Shell.h} | 2 +- .../{lemon/core/url.h => Lemon/Core/URL.h} | 0 .../Lemon/Filesystem/ExecutableTarget.h | 21 +++ .../gui/colours.h => Lemon/GUI/Colours.h} | 2 +- .../gui/ctxentry.h => Lemon/GUI/CtxEntry.h} | 0 .../filedialog.h => Lemon/GUI/FileDialog.h} | 0 .../messagebox.h => Lemon/GUI/Messagebox.h} | 0 .../{lemon/gui/model.h => Lemon/GUI/Model.h} | 2 +- .../gui/variant.h => Lemon/GUI/Variant.h} | 0 .../gui/wmclient.h => Lemon/GUI/WMClient.h} | 4 +- .../gui/widgets.h => Lemon/GUI/Widgets.h} | 8 +- .../gui/window.h => Lemon/GUI/Window.h} | 12 +- .../gfx/font.h => Lemon/Graphics/Font.h} | 0 .../graphics.h => Lemon/Graphics/Graphics.h} | 10 +- .../surface.h => Lemon/Graphics/Surface.h} | 0 .../gfx/text.h => Lemon/Graphics/Text.h} | 6 +- .../gfx/types.h => Lemon/Graphics/Types.h} | 0 .../ipc/endpoint.h => Lemon/IPC/Endpoint.h} | 10 +- .../ipc/interface.h => Lemon/IPC/Interface.h} | 8 +- .../ipc/message.h => Lemon/IPC/Message.h} | 0 .../fb.h => Lemon/System/ABI/Framebuffer.h} | 0 .../process.h => Lemon/System/ABI/Process.h} | 0 .../syscall.h => Lemon/System/ABI/Syscall.h} | 0 .../system/device.h => Lemon/System/Device.h} | 0 .../System/Filesystem.h} | 0 .../fb.h => Lemon/System/Framebuffer.h} | 2 +- .../system/ipc.h => Lemon/System/IPC.h} | 2 +- .../system/info.h => Lemon/System/Info.h} | 0 .../kobject.h => Lemon/System/KernelObject.h} | 2 +- .../system/spawn.h => Lemon/System/Spawn.h} | 0 .../system/util.h => Lemon/System/Util.h} | 4 +- .../waitable.h => Lemon/System/Waitable.h} | 2 +- .../include/{lemon/types.h => Lemon/Types.h} | 0 LibLemon/include/lemon/core/itoa.h | 3 - LibLemon/src/cfgparser.cpp | 2 +- LibLemon/src/gfx/font.cpp | 2 +- LibLemon/src/gfx/graphics.cpp | 2 +- LibLemon/src/gfx/image.cpp | 2 +- LibLemon/src/gfx/text.cpp | 6 +- LibLemon/src/gui/colours.cpp | 2 +- LibLemon/src/gui/filedialog.cpp | 6 +- LibLemon/src/gui/fileview.cpp | 10 +- LibLemon/src/gui/messagebox.cpp | 8 +- LibLemon/src/gui/widgets.cpp | 11 +- LibLemon/src/gui/window.cpp | 6 +- LibLemon/src/ipc/interface.cpp | 6 +- LibLemon/src/ipc/message.cpp | 2 +- LibLemon/src/json.cpp | 2 +- LibLemon/src/lemon/device.cpp | 2 +- LibLemon/src/lemon/fb.cpp | 2 +- LibLemon/src/lemon/filesystem.cpp | 2 +- LibLemon/src/lemon/info.cpp | 2 +- LibLemon/src/lemon/input.cpp | 2 +- LibLemon/src/lemon/itoa.cpp | 48 ------- LibLemon/src/lemon/meson.build | 1 - LibLemon/src/lemon/sharedmem.cpp | 2 +- LibLemon/src/lemon/util.cpp | 12 +- LibLemon/src/lemon/waitable.cpp | 4 +- LibLemon/src/lexer.cpp | 2 +- LibLemon/src/sha.cpp | 8 +- LibLemon/src/shell/shell.cpp | 4 +- LibLemon/src/url.cpp | 4 +- System/FTerm/fterm.h | 4 +- System/FTerm/input.cpp | 4 +- System/FTerm/main.cpp | 6 +- System/LemonWM/compositor.cpp | 2 +- System/LemonWM/input.cpp | 4 +- System/LemonWM/lemonwm.h | 12 +- System/LemonWM/main.cpp | 8 +- System/LemonWM/window.cpp | 6 +- System/LemonWM/winrect.h | 2 +- System/LemonWM/wm.cpp | 9 +- System/Lemond/main.cpp | 121 +++++++++++++++--- System/Login/main.cpp | 12 +- 257 files changed, 986 insertions(+), 982 deletions(-) create mode 100644 Base/lemon/lemond/lemonwm.lemond.json create mode 100644 Base/lemon/lemond/networkgovernor.lemond.json create mode 100644 Base/lemon/lemond/shell.lemond.json create mode 120000 Kernel/include/ABI rename Kernel/include/{arch/x86_64/abi.h => Arch/x86_64/ABI.h} (100%) rename Kernel/include/{arch/x86_64/acpi.h => Arch/x86_64/ACPI.h} (99%) rename Kernel/include/{arch/x86_64/apic.h => Arch/x86_64/APIC.h} (100%) rename Kernel/include/{arch/x86_64/cpu.h => Arch/x86_64/CPU.h} (98%) rename Kernel/include/{arch/x86_64/debug.h => Arch/x86_64/Debug.h} (100%) rename Kernel/include/{arch/x86_64/elf.h => Arch/x86_64/ELF.h} (100%) rename Kernel/include/{arch/x86_64/hal.h => Arch/x86_64/HAL.h} (96%) rename Kernel/include/{arch/x86_64/idt.h => Arch/x86_64/IDT.h} (97%) rename Kernel/include/{arch/x86_64/keyboard.h => Arch/x86_64/Keyboard.h} (100%) rename Kernel/include/{arch/x86_64/memory.h => Arch/x86_64/Memory.h} (55%) rename Kernel/include/{arch/x86_64/mouse.h => Arch/x86_64/Mouse.h} (100%) rename Kernel/include/{arch/x86_64/pci.h => Arch/x86_64/PCI.h} (99%) rename Kernel/include/{arch/x86_64/paging.h => Arch/x86_64/Paging.h} (99%) rename Kernel/include/{arch/x86_64/physicalallocator.h => Arch/x86_64/PhysicalAllocator.h} (93%) rename Kernel/include/{arch/x86_64/smp.h => Arch/x86_64/SMP.h} (90%) rename Kernel/include/{arch/x86_64/scheduler.h => Arch/x86_64/Scheduler.h} (93%) rename Kernel/include/{arch/x86_64/serial.h => Arch/x86_64/Serial.h} (100%) rename Kernel/include/{arch/x86_64/strace.h => Arch/x86_64/StackTrace.h} (89%) rename Kernel/include/{arch/x86_64/syscalls.h => Arch/x86_64/Syscalls.h} (100%) rename Kernel/include/{arch/x86_64/system.h => Arch/x86_64/System.h} (100%) rename Kernel/include/{arch/x86_64/tss.h => Arch/x86_64/TSS.h} (100%) rename Kernel/include/{arch/x86_64/thread.h => Arch/x86_64/Thread.h} (97%) rename Kernel/include/{arch/x86_64/timer.h => Arch/x86_64/Timer.h} (100%) rename Kernel/include/{arch/x86_64/types.h => Arch/x86_64/Types.h} (100%) rename Kernel/include/{assert.h => Assert.h} (100%) rename Kernel/include/{audio/hdaudio.h => Audio/HDAudio.h} (99%) rename Kernel/include/{characterbuffer.h => CharacterBuffer.h} (96%) rename Kernel/include/{device.h => Device.h} (98%) rename Kernel/include/{endian.h => Endian.h} (100%) rename Kernel/include/{errno.h => Errno.h} (100%) create mode 100755 Kernel/include/Framebuffer.h rename Kernel/include/{fs/ext2.h => Fs/Ext2.h} (99%) rename Kernel/include/{fs/fat32.h => Fs/Fat32.h} (98%) rename Kernel/include/{fs/filesystem.h => Fs/Filesystem.h} (99%) rename Kernel/include/{fs/fsvolume.h => Fs/FsVolume.h} (94%) rename Kernel/include/{fs/initrd.h => Fs/Initrd.h} (96%) rename Kernel/include/{fs/tar.h => Fs/TAR.h} (98%) rename Kernel/include/{fs/tmp.h => Fs/Tmp.h} (95%) rename Kernel/include/{hash.h => Hash.h} (99%) rename Kernel/include/{lemon.h => Lemon.h} (100%) rename Kernel/include/{liballoc.h => Liballoc.h} (100%) rename Kernel/include/{list.h => List.h} (99%) rename Kernel/include/{lock.h => Lock.h} (97%) rename Kernel/include/{logging.h => Logging.h} (96%) rename Kernel/include/{math.h => Math.h} (100%) rename Kernel/include/{mischdr.h => MiscHdr.h} (100%) rename Kernel/include/{net => Net}/8254x.h (98%) rename Kernel/include/{net/networkadapter.h => Net/Adapter.h} (97%) rename Kernel/include/{net/if.h => Net/If.h} (100%) rename Kernel/include/{net/net.h => Net/Net.h} (99%) rename Kernel/include/{net/socket.h => Net/Socket.h} (98%) rename Kernel/include/{objects/handle.h => Objects/Handle.h} (71%) rename Kernel/include/{objects/interface.h => Objects/Interface.h} (95%) rename Kernel/include/{objects/kobject.h => Objects/KObject.h} (92%) rename Kernel/include/{objects/message.h => Objects/Message.h} (97%) rename Kernel/include/{objects/service.h => Objects/Service.h} (91%) rename Kernel/include/{pty.h => PTY.h} (96%) rename Kernel/include/{pair.h => Pair.h} (100%) rename Kernel/include/{panic.h => Panic.h} (100%) rename Kernel/include/{refptr.h => RefPtr.h} (97%) rename Kernel/include/{ringbuffer.h => RingBuffer.h} (99%) rename Kernel/include/{sharedmem.h => SharedMemory.h} (96%) rename Kernel/include/{spin.h => Spinlock.h} (96%) rename Kernel/include/{ahci.h => Storage/AHCI.h} (99%) rename Kernel/include/{ata.h => Storage/ATA.h} (100%) rename Kernel/include/{atadrive.h => Storage/ATADrive.h} (93%) rename Kernel/include/{gpt.h => Storage/GPT.h} (97%) rename Kernel/include/{nvme.h => Storage/NVMe.h} (99%) rename Kernel/include/{stream.h => Stream.h} (95%) rename Kernel/include/{string.h => String.h} (98%) rename Kernel/include/{systeminfo.h => SystemInfo.h} (100%) rename Kernel/include/{ttraits.h => TTraits.h} (100%) rename Kernel/include/{timerevent.h => TimerEvent.h} (95%) rename Kernel/include/{xhci.h => USB/XHCI.h} (99%) rename Kernel/include/{vector.h => Vector.h} (98%) rename Kernel/include/{video.h => Video/Video.h} (96%) rename Kernel/include/{videoconsole.h => Video/VideoConsole.h} (100%) delete mode 120000 Kernel/include/abi delete mode 100755 Kernel/include/fb.h delete mode 100755 Kernel/include/gui.h rename LibLemon/include/{lemon/core/cfgparser.h => Lemon/Core/CFGParser.h} (100%) rename LibLemon/include/{lemon/core/event.h => Lemon/Core/Event.h} (95%) rename LibLemon/include/{lemon/core/fb.h => Lemon/Core/Framebuffer.h} (65%) rename LibLemon/include/{lemon/core/input.h => Lemon/Core/Input.h} (100%) rename LibLemon/include/{lemon/core/json.h => Lemon/Core/JSON.h} (99%) rename LibLemon/include/{lemon/core/keyboard.h => Lemon/Core/Keyboard.h} (100%) rename LibLemon/include/{lemon/core/lexer.h => Lemon/Core/Lexer.h} (100%) rename LibLemon/include/{lemon/core/rotate.h => Lemon/Core/Rotate.h} (100%) rename LibLemon/include/{lemon/core/sha.h => Lemon/Core/SHA.h} (100%) rename LibLemon/include/{lemon/core/sharedmem.h => Lemon/Core/SharedMemory.h} (100%) rename LibLemon/include/{lemon/core/shell.h => Lemon/Core/Shell.h} (96%) rename LibLemon/include/{lemon/core/url.h => Lemon/Core/URL.h} (100%) create mode 100644 LibLemon/include/Lemon/Filesystem/ExecutableTarget.h rename LibLemon/include/{lemon/gui/colours.h => Lemon/GUI/Colours.h} (90%) rename LibLemon/include/{lemon/gui/ctxentry.h => Lemon/GUI/CtxEntry.h} (100%) rename LibLemon/include/{lemon/gui/filedialog.h => Lemon/GUI/FileDialog.h} (100%) rename LibLemon/include/{lemon/gui/messagebox.h => Lemon/GUI/Messagebox.h} (100%) rename LibLemon/include/{lemon/gui/model.h => Lemon/GUI/Model.h} (98%) rename LibLemon/include/{lemon/gui/variant.h => Lemon/GUI/Variant.h} (100%) rename LibLemon/include/{lemon/gui/wmclient.h => Lemon/GUI/WMClient.h} (95%) rename LibLemon/include/{lemon/gui/widgets.h => Lemon/GUI/Widgets.h} (98%) rename LibLemon/include/{lemon/gui/window.h => Lemon/GUI/Window.h} (98%) rename LibLemon/include/{lemon/gfx/font.h => Lemon/Graphics/Font.h} (100%) rename LibLemon/include/{lemon/gfx/graphics.h => Lemon/Graphics/Graphics.h} (98%) rename LibLemon/include/{lemon/gfx/surface.h => Lemon/Graphics/Surface.h} (100%) rename LibLemon/include/{lemon/gfx/text.h => Lemon/Graphics/Text.h} (97%) rename LibLemon/include/{lemon/gfx/types.h => Lemon/Graphics/Types.h} (100%) rename LibLemon/include/{lemon/ipc/endpoint.h => Lemon/IPC/Endpoint.h} (97%) rename LibLemon/include/{lemon/ipc/interface.h => Lemon/IPC/Interface.h} (95%) rename LibLemon/include/{lemon/ipc/message.h => Lemon/IPC/Message.h} (100%) rename LibLemon/include/{lemon/system/abi/fb.h => Lemon/System/ABI/Framebuffer.h} (100%) rename LibLemon/include/{lemon/system/abi/process.h => Lemon/System/ABI/Process.h} (100%) rename LibLemon/include/{lemon/system/abi/syscall.h => Lemon/System/ABI/Syscall.h} (100%) rename LibLemon/include/{lemon/system/device.h => Lemon/System/Device.h} (100%) rename LibLemon/include/{lemon/system/filesystem.h => Lemon/System/Filesystem.h} (100%) rename LibLemon/include/{lemon/system/fb.h => Lemon/System/Framebuffer.h} (77%) rename LibLemon/include/{lemon/system/ipc.h => Lemon/System/IPC.h} (99%) rename LibLemon/include/{lemon/system/info.h => Lemon/System/Info.h} (100%) rename LibLemon/include/{lemon/system/kobject.h => Lemon/System/KernelObject.h} (98%) rename LibLemon/include/{lemon/system/spawn.h => Lemon/System/Spawn.h} (100%) rename LibLemon/include/{lemon/system/util.h => Lemon/System/Util.h} (96%) rename LibLemon/include/{lemon/system/waitable.h => Lemon/System/Waitable.h} (98%) rename LibLemon/include/{lemon/types.h => Lemon/Types.h} (100%) delete mode 100755 LibLemon/include/lemon/core/itoa.h delete mode 100755 LibLemon/src/lemon/itoa.cpp diff --git a/Applications/DeviceManager/main.cpp b/Applications/DeviceManager/main.cpp index 7ff12576..9c9f30c0 100644 --- a/Applications/DeviceManager/main.cpp +++ b/Applications/DeviceManager/main.cpp @@ -1,7 +1,7 @@ -#include -#include +#include +#include -#include +#include Lemon::GUI::Window* window; diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp index a6951a2f..bed58b23 100755 --- a/Applications/FileManager/main.cpp +++ b/Applications/FileManager/main.cpp @@ -1,9 +1,9 @@ -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/Applications/GUITest/main.cpp b/Applications/GUITest/main.cpp index 1e913655..6efdd18c 100755 --- a/Applications/GUITest/main.cpp +++ b/Applications/GUITest/main.cpp @@ -1,6 +1,6 @@ -#include -#include -#include +#include +#include +#include #include #include diff --git a/Applications/ImgView/main.cpp b/Applications/ImgView/main.cpp index 94add99c..cbea7d96 100755 --- a/Applications/ImgView/main.cpp +++ b/Applications/ImgView/main.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include #include diff --git a/Applications/JSONDump/main.cpp b/Applications/JSONDump/main.cpp index 8ca1cfa4..3d82c57b 100644 --- a/Applications/JSONDump/main.cpp +++ b/Applications/JSONDump/main.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include diff --git a/Applications/LSh/main.cpp b/Applications/LSh/main.cpp index cf6f855d..c4aabf65 100755 --- a/Applications/LSh/main.cpp +++ b/Applications/LSh/main.cpp @@ -2,8 +2,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include diff --git a/Applications/LemonMonitor/main.cpp b/Applications/LemonMonitor/main.cpp index 60d8799b..0aa262b6 100644 --- a/Applications/LemonMonitor/main.cpp +++ b/Applications/LemonMonitor/main.cpp @@ -1,8 +1,8 @@ -#include -#include +#include +#include -#include -#include +#include +#include #include #include diff --git a/Applications/Minesweeper/main.cpp b/Applications/Minesweeper/main.cpp index 4b631f26..e07d380e 100644 --- a/Applications/Minesweeper/main.cpp +++ b/Applications/Minesweeper/main.cpp @@ -1,5 +1,5 @@ -#include -#include +#include +#include #include #include diff --git a/Applications/Run/main.cpp b/Applications/Run/main.cpp index d9078e3e..4b756a31 100644 --- a/Applications/Run/main.cpp +++ b/Applications/Run/main.cpp @@ -1,7 +1,7 @@ -#include -#include +#include +#include -#include +#include #include #include diff --git a/Applications/Shell/main.cpp b/Applications/Shell/main.cpp index c28e3811..cab4bb63 100755 --- a/Applications/Shell/main.cpp +++ b/Applications/Shell/main.cpp @@ -1,18 +1,18 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/Applications/Shell/menu.cpp b/Applications/Shell/menu.cpp index 70c6d1ce..36abeaa6 100644 --- a/Applications/Shell/menu.cpp +++ b/Applications/Shell/menu.cpp @@ -1,10 +1,11 @@ -#include +#include +#include + #include -#include -#include -#include -#include +#include +#include +#include #include #include diff --git a/Applications/Shell/shell.cpp b/Applications/Shell/shell.cpp index f0fd288e..cdc0fd7e 100755 --- a/Applications/Shell/shell.cpp +++ b/Applications/Shell/shell.cpp @@ -1,5 +1,5 @@ -#include -#include +#include +#include #include #include diff --git a/Applications/Shell/shell.h b/Applications/Shell/shell.h index 4c51713a..4aa2a898 100755 --- a/Applications/Shell/shell.h +++ b/Applications/Shell/shell.h @@ -1,6 +1,6 @@ -#include -#include -#include +#include +#include +#include #include diff --git a/Applications/Snake/main.cpp b/Applications/Snake/main.cpp index a63cb056..295ec398 100755 --- a/Applications/Snake/main.cpp +++ b/Applications/Snake/main.cpp @@ -1,8 +1,8 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include #include diff --git a/Applications/Steal/main.cpp b/Applications/Steal/main.cpp index 0916d046..b6a0dfda 100644 --- a/Applications/Steal/main.cpp +++ b/Applications/Steal/main.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include #include diff --git a/Applications/SysInfo/main.cpp b/Applications/SysInfo/main.cpp index 3379ee45..4ce4b4a3 100755 --- a/Applications/SysInfo/main.cpp +++ b/Applications/SysInfo/main.cpp @@ -1,8 +1,8 @@ -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include #include diff --git a/Applications/Terminal/main.cpp b/Applications/Terminal/main.cpp index 89e18b54..b4c6ca1e 100755 --- a/Applications/Terminal/main.cpp +++ b/Applications/Terminal/main.cpp @@ -1,12 +1,12 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/Applications/TextEdit/exttextbox.h b/Applications/TextEdit/exttextbox.h index c94ae15a..3f876b7d 100755 --- a/Applications/TextEdit/exttextbox.h +++ b/Applications/TextEdit/exttextbox.h @@ -1,6 +1,6 @@ #pragma once -#include +#include class ExtendedTextBox : public Lemon::GUI::TextBox { rect_t textBoxBounds; diff --git a/Applications/TextEdit/main.cpp b/Applications/TextEdit/main.cpp index 999e97fe..48e4990b 100755 --- a/Applications/TextEdit/main.cpp +++ b/Applications/TextEdit/main.cpp @@ -1,9 +1,9 @@ -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/Base/lemon/lemond/lemonwm.lemond.json b/Base/lemon/lemond/lemonwm.lemond.json new file mode 100644 index 00000000..e2724b2e --- /dev/null +++ b/Base/lemon/lemond/lemonwm.lemond.json @@ -0,0 +1,4 @@ +{ + "name" : "lemonwm", + "target" : "/system/lemon/lemonwm.lef" +} diff --git a/Base/lemon/lemond/networkgovernor.lemond.json b/Base/lemon/lemond/networkgovernor.lemond.json new file mode 100644 index 00000000..b8b70f6b --- /dev/null +++ b/Base/lemon/lemond/networkgovernor.lemond.json @@ -0,0 +1,5 @@ +{ + "name" : "networkgovernor", + "target" : "/system/lemon/netgov.lef" +} + \ No newline at end of file diff --git a/Base/lemon/lemond/shell.lemond.json b/Base/lemon/lemond/shell.lemond.json new file mode 100644 index 00000000..f4ec46f9 --- /dev/null +++ b/Base/lemon/lemond/shell.lemond.json @@ -0,0 +1,5 @@ +{ + "name" : "shell", + "target" : "/system/bin/shell.lef", + "after" : "lemonwm" +} diff --git a/Kernel/include/ABI b/Kernel/include/ABI new file mode 120000 index 00000000..c29c2c7f --- /dev/null +++ b/Kernel/include/ABI @@ -0,0 +1 @@ +../../LibLemon/include/Lemon/System/ABI \ No newline at end of file diff --git a/Kernel/include/arch/x86_64/abi.h b/Kernel/include/Arch/x86_64/ABI.h similarity index 100% rename from Kernel/include/arch/x86_64/abi.h rename to Kernel/include/Arch/x86_64/ABI.h diff --git a/Kernel/include/arch/x86_64/acpi.h b/Kernel/include/Arch/x86_64/ACPI.h similarity index 99% rename from Kernel/include/arch/x86_64/acpi.h rename to Kernel/include/Arch/x86_64/ACPI.h index 77bb0fc1..eb72219d 100755 --- a/Kernel/include/arch/x86_64/acpi.h +++ b/Kernel/include/Arch/x86_64/ACPI.h @@ -3,7 +3,7 @@ #include #include #include -#include +#include typedef struct MADT{ acpi_header_t header; diff --git a/Kernel/include/arch/x86_64/apic.h b/Kernel/include/Arch/x86_64/APIC.h similarity index 100% rename from Kernel/include/arch/x86_64/apic.h rename to Kernel/include/Arch/x86_64/APIC.h diff --git a/Kernel/include/arch/x86_64/cpu.h b/Kernel/include/Arch/x86_64/CPU.h similarity index 98% rename from Kernel/include/arch/x86_64/cpu.h rename to Kernel/include/Arch/x86_64/CPU.h index ccf5f8ae..0b8efeb5 100755 --- a/Kernel/include/arch/x86_64/cpu.h +++ b/Kernel/include/Arch/x86_64/CPU.h @@ -1,9 +1,9 @@ #pragma once #include -#include -#include -#include +#include +#include +#include struct process; template diff --git a/Kernel/include/arch/x86_64/debug.h b/Kernel/include/Arch/x86_64/Debug.h similarity index 100% rename from Kernel/include/arch/x86_64/debug.h rename to Kernel/include/Arch/x86_64/Debug.h diff --git a/Kernel/include/arch/x86_64/elf.h b/Kernel/include/Arch/x86_64/ELF.h similarity index 100% rename from Kernel/include/arch/x86_64/elf.h rename to Kernel/include/Arch/x86_64/ELF.h diff --git a/Kernel/include/arch/x86_64/hal.h b/Kernel/include/Arch/x86_64/HAL.h similarity index 96% rename from Kernel/include/arch/x86_64/hal.h rename to Kernel/include/Arch/x86_64/HAL.h index befd2b3b..a91b9c9b 100755 --- a/Kernel/include/arch/x86_64/hal.h +++ b/Kernel/include/Arch/x86_64/HAL.h @@ -1,6 +1,6 @@ #pragma once -#include +#include namespace HAL{ extern memory_info_t mem_info; diff --git a/Kernel/include/arch/x86_64/idt.h b/Kernel/include/Arch/x86_64/IDT.h similarity index 97% rename from Kernel/include/arch/x86_64/idt.h rename to Kernel/include/Arch/x86_64/IDT.h index 64e8abd7..0023b1da 100755 --- a/Kernel/include/arch/x86_64/idt.h +++ b/Kernel/include/Arch/x86_64/IDT.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #define IRQ0 32 diff --git a/Kernel/include/arch/x86_64/keyboard.h b/Kernel/include/Arch/x86_64/Keyboard.h similarity index 100% rename from Kernel/include/arch/x86_64/keyboard.h rename to Kernel/include/Arch/x86_64/Keyboard.h diff --git a/Kernel/include/arch/x86_64/memory.h b/Kernel/include/Arch/x86_64/Memory.h similarity index 55% rename from Kernel/include/arch/x86_64/memory.h rename to Kernel/include/Arch/x86_64/Memory.h index 04ec931e..1ce6e407 100755 --- a/Kernel/include/arch/x86_64/memory.h +++ b/Kernel/include/Arch/x86_64/Memory.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include typedef struct { uint64_t base; diff --git a/Kernel/include/arch/x86_64/mouse.h b/Kernel/include/Arch/x86_64/Mouse.h similarity index 100% rename from Kernel/include/arch/x86_64/mouse.h rename to Kernel/include/Arch/x86_64/Mouse.h diff --git a/Kernel/include/arch/x86_64/pci.h b/Kernel/include/Arch/x86_64/PCI.h similarity index 99% rename from Kernel/include/arch/x86_64/pci.h rename to Kernel/include/Arch/x86_64/PCI.h index 82146b45..cdb41f02 100755 --- a/Kernel/include/arch/x86_64/pci.h +++ b/Kernel/include/Arch/x86_64/PCI.h @@ -1,9 +1,9 @@ #pragma once #include -#include -#include -#include +#include +#include +#include #define PCI_BIST_CAPABLE (1 << 7) #define PCI_BIST_START (1 << 6) diff --git a/Kernel/include/arch/x86_64/paging.h b/Kernel/include/Arch/x86_64/Paging.h similarity index 99% rename from Kernel/include/arch/x86_64/paging.h rename to Kernel/include/Arch/x86_64/Paging.h index f301b936..7fca7204 100755 --- a/Kernel/include/arch/x86_64/paging.h +++ b/Kernel/include/Arch/x86_64/Paging.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #define KERNEL_VIRTUAL_BASE 0xFFFFFFFF80000000ULL #define IO_VIRTUAL_BASE (KERNEL_VIRTUAL_BASE - 0x100000000ULL) // KERNEL_VIRTUAL_BASE - 4GB diff --git a/Kernel/include/arch/x86_64/physicalallocator.h b/Kernel/include/Arch/x86_64/PhysicalAllocator.h similarity index 93% rename from Kernel/include/arch/x86_64/physicalallocator.h rename to Kernel/include/Arch/x86_64/PhysicalAllocator.h index eeb5627e..8acccd36 100755 --- a/Kernel/include/arch/x86_64/physicalallocator.h +++ b/Kernel/include/Arch/x86_64/PhysicalAllocator.h @@ -1,9 +1,9 @@ #pragma once -#include -#include -#include -#include +#include +#include +#include +#include // The size of a block in phyiscal memory #define PHYSALLOC_BLOCK_SIZE 4096 diff --git a/Kernel/include/arch/x86_64/smp.h b/Kernel/include/Arch/x86_64/SMP.h similarity index 90% rename from Kernel/include/arch/x86_64/smp.h rename to Kernel/include/Arch/x86_64/SMP.h index 4f388b35..5fa73190 100755 --- a/Kernel/include/arch/x86_64/smp.h +++ b/Kernel/include/Arch/x86_64/SMP.h @@ -1,6 +1,6 @@ #include -#include +#include namespace SMP{ extern CPU* cpus[]; diff --git a/Kernel/include/arch/x86_64/scheduler.h b/Kernel/include/Arch/x86_64/Scheduler.h similarity index 93% rename from Kernel/include/arch/x86_64/scheduler.h rename to Kernel/include/Arch/x86_64/Scheduler.h index 207046fb..01a2d306 100755 --- a/Kernel/include/arch/x86_64/scheduler.h +++ b/Kernel/include/Arch/x86_64/Scheduler.h @@ -1,20 +1,20 @@ #pragma once #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include #define KERNEL_CS 0x08 #define KERNEL_SS 0x10 diff --git a/Kernel/include/arch/x86_64/serial.h b/Kernel/include/Arch/x86_64/Serial.h similarity index 100% rename from Kernel/include/arch/x86_64/serial.h rename to Kernel/include/Arch/x86_64/Serial.h diff --git a/Kernel/include/arch/x86_64/strace.h b/Kernel/include/Arch/x86_64/StackTrace.h similarity index 89% rename from Kernel/include/arch/x86_64/strace.h rename to Kernel/include/Arch/x86_64/StackTrace.h index aa3e0b74..efbd6356 100644 --- a/Kernel/include/arch/x86_64/strace.h +++ b/Kernel/include/Arch/x86_64/StackTrace.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include inline static void PrintStackTrace(uint64_t _rbp){ uint64_t* rbp = (uint64_t*)_rbp; diff --git a/Kernel/include/arch/x86_64/syscalls.h b/Kernel/include/Arch/x86_64/Syscalls.h similarity index 100% rename from Kernel/include/arch/x86_64/syscalls.h rename to Kernel/include/Arch/x86_64/Syscalls.h diff --git a/Kernel/include/arch/x86_64/system.h b/Kernel/include/Arch/x86_64/System.h similarity index 100% rename from Kernel/include/arch/x86_64/system.h rename to Kernel/include/Arch/x86_64/System.h diff --git a/Kernel/include/arch/x86_64/tss.h b/Kernel/include/Arch/x86_64/TSS.h similarity index 100% rename from Kernel/include/arch/x86_64/tss.h rename to Kernel/include/Arch/x86_64/TSS.h diff --git a/Kernel/include/arch/x86_64/thread.h b/Kernel/include/Arch/x86_64/Thread.h similarity index 97% rename from Kernel/include/arch/x86_64/thread.h rename to Kernel/include/Arch/x86_64/Thread.h index 39d8204d..64ab61fa 100644 --- a/Kernel/include/arch/x86_64/thread.h +++ b/Kernel/include/Arch/x86_64/Thread.h @@ -1,9 +1,9 @@ #pragma once -#include -#include -#include -#include +#include +#include +#include +#include #include diff --git a/Kernel/include/arch/x86_64/timer.h b/Kernel/include/Arch/x86_64/Timer.h similarity index 100% rename from Kernel/include/arch/x86_64/timer.h rename to Kernel/include/Arch/x86_64/Timer.h diff --git a/Kernel/include/arch/x86_64/types.h b/Kernel/include/Arch/x86_64/Types.h similarity index 100% rename from Kernel/include/arch/x86_64/types.h rename to Kernel/include/Arch/x86_64/Types.h diff --git a/Kernel/include/assert.h b/Kernel/include/Assert.h similarity index 100% rename from Kernel/include/assert.h rename to Kernel/include/Assert.h diff --git a/Kernel/include/audio/hdaudio.h b/Kernel/include/Audio/HDAudio.h similarity index 99% rename from Kernel/include/audio/hdaudio.h rename to Kernel/include/Audio/HDAudio.h index 24e51031..6ace6899 100644 --- a/Kernel/include/audio/hdaudio.h +++ b/Kernel/include/Audio/HDAudio.h @@ -2,7 +2,7 @@ // Intel HD Audio Driver for Lemon OS -#include +#include namespace Audio { class IntelHDAudioController : public Device { diff --git a/Kernel/include/characterbuffer.h b/Kernel/include/CharacterBuffer.h similarity index 96% rename from Kernel/include/characterbuffer.h rename to Kernel/include/CharacterBuffer.h index 4e4b5231..351b82d7 100755 --- a/Kernel/include/characterbuffer.h +++ b/Kernel/include/CharacterBuffer.h @@ -3,7 +3,7 @@ #define CHARBUFFER_START_SIZE 1024 #include -#include +#include class CharacterBuffer{ public: diff --git a/Kernel/include/device.h b/Kernel/include/Device.h similarity index 98% rename from Kernel/include/device.h rename to Kernel/include/Device.h index ece2ac1d..6a7d283e 100755 --- a/Kernel/include/device.h +++ b/Kernel/include/Device.h @@ -1,10 +1,10 @@ #pragma once #include -#include -#include -#include -#include +#include +#include +#include +#include struct DevicePCIInformation { uint16_t vendorID; // PCI Vendor ID diff --git a/Kernel/include/endian.h b/Kernel/include/Endian.h similarity index 100% rename from Kernel/include/endian.h rename to Kernel/include/Endian.h diff --git a/Kernel/include/errno.h b/Kernel/include/Errno.h similarity index 100% rename from Kernel/include/errno.h rename to Kernel/include/Errno.h diff --git a/Kernel/include/Framebuffer.h b/Kernel/include/Framebuffer.h new file mode 100755 index 00000000..8516c6ba --- /dev/null +++ b/Kernel/include/Framebuffer.h @@ -0,0 +1,3 @@ +#pragma once + +#include \ No newline at end of file diff --git a/Kernel/include/fs/ext2.h b/Kernel/include/Fs/Ext2.h similarity index 99% rename from Kernel/include/fs/ext2.h rename to Kernel/include/Fs/Ext2.h index 51b1cb3c..77376415 100755 --- a/Kernel/include/fs/ext2.h +++ b/Kernel/include/Fs/Ext2.h @@ -1,9 +1,9 @@ -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include diff --git a/Kernel/include/fs/fat32.h b/Kernel/include/Fs/Fat32.h similarity index 98% rename from Kernel/include/fs/fat32.h rename to Kernel/include/Fs/Fat32.h index 35ab0a3c..9fe56935 100755 --- a/Kernel/include/fs/fat32.h +++ b/Kernel/include/Fs/Fat32.h @@ -2,9 +2,9 @@ #include #include -#include -#include -#include +#include +#include +#include #define FAT_ATTR_READ_ONLY 0x1 #define FAT_ATTR_HIDDEN 0x2 diff --git a/Kernel/include/fs/filesystem.h b/Kernel/include/Fs/Filesystem.h similarity index 99% rename from Kernel/include/fs/filesystem.h rename to Kernel/include/Fs/Filesystem.h index d6f36795..490264d8 100755 --- a/Kernel/include/fs/filesystem.h +++ b/Kernel/include/Fs/Filesystem.h @@ -3,10 +3,10 @@ #include #include -#include -#include +#include +#include -#include +#include #include diff --git a/Kernel/include/fs/fsvolume.h b/Kernel/include/Fs/FsVolume.h similarity index 94% rename from Kernel/include/fs/fsvolume.h rename to Kernel/include/Fs/FsVolume.h index 078ae3b0..c73bdf2c 100755 --- a/Kernel/include/fs/fsvolume.h +++ b/Kernel/include/Fs/FsVolume.h @@ -1,8 +1,8 @@ #pragma once -#include +#include -#include +#include namespace fs{ diff --git a/Kernel/include/fs/initrd.h b/Kernel/include/Fs/Initrd.h similarity index 96% rename from Kernel/include/fs/initrd.h rename to Kernel/include/Fs/Initrd.h index bfba67e1..f802b22e 100755 --- a/Kernel/include/fs/initrd.h +++ b/Kernel/include/Fs/Initrd.h @@ -1,8 +1,8 @@ #pragma once #include -#include -#include +#include +#include #define LEMONINITFS_FILE 0x01 #define LEMONINITFS_DIRECTORY 0x02 diff --git a/Kernel/include/fs/tar.h b/Kernel/include/Fs/TAR.h similarity index 98% rename from Kernel/include/fs/tar.h rename to Kernel/include/Fs/TAR.h index 77489552..b3e0dc52 100755 --- a/Kernel/include/fs/tar.h +++ b/Kernel/include/Fs/TAR.h @@ -1,8 +1,8 @@ #pragma once #include -#include -#include +#include +#include #define TAR_TYPE_FILE '0' #define TAR_TYPE_LINK_HARD '1' diff --git a/Kernel/include/fs/tmp.h b/Kernel/include/Fs/Tmp.h similarity index 95% rename from Kernel/include/fs/tmp.h rename to Kernel/include/Fs/Tmp.h index c6c04909..e2fc642c 100644 --- a/Kernel/include/fs/tmp.h +++ b/Kernel/include/Fs/Tmp.h @@ -1,10 +1,10 @@ #pragma once -#include -#include +#include +#include -#include -#include +#include +#include #define TEMP_BUFFER_CHUNK_SIZE 1024UL // Must be power of two static_assert((TEMP_BUFFER_CHUNK_SIZE & (TEMP_BUFFER_CHUNK_SIZE - 1)) == 0); diff --git a/Kernel/include/hash.h b/Kernel/include/Hash.h similarity index 99% rename from Kernel/include/hash.h rename to Kernel/include/Hash.h index 43c09447..374c0d02 100755 --- a/Kernel/include/hash.h +++ b/Kernel/include/Hash.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include inline static unsigned hash(unsigned value){ unsigned hash = value; diff --git a/Kernel/include/lemon.h b/Kernel/include/Lemon.h similarity index 100% rename from Kernel/include/lemon.h rename to Kernel/include/Lemon.h diff --git a/Kernel/include/liballoc.h b/Kernel/include/Liballoc.h similarity index 100% rename from Kernel/include/liballoc.h rename to Kernel/include/Liballoc.h diff --git a/Kernel/include/list.h b/Kernel/include/List.h similarity index 99% rename from Kernel/include/list.h rename to Kernel/include/List.h index 9b386ec1..04939fc1 100755 --- a/Kernel/include/list.h +++ b/Kernel/include/List.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include template struct ListNode diff --git a/Kernel/include/lock.h b/Kernel/include/Lock.h similarity index 97% rename from Kernel/include/lock.h rename to Kernel/include/Lock.h index d2b48b6b..09a211ce 100755 --- a/Kernel/include/lock.h +++ b/Kernel/include/Lock.h @@ -2,11 +2,11 @@ struct thread; -#include +#include -#include -#include -#include +#include +#include +#include class Semaphore { protected: diff --git a/Kernel/include/logging.h b/Kernel/include/Logging.h similarity index 96% rename from Kernel/include/logging.h rename to Kernel/include/Logging.h index e0d3f05f..d1d7215f 100755 --- a/Kernel/include/logging.h +++ b/Kernel/include/Logging.h @@ -1,9 +1,9 @@ #pragma once -#include +#include