mirror of https://gitlab.com/nakst/essence
add license header to source files
This commit is contained in:
parent
eecaf24dc8
commit
1eb2dfe549
|
@ -1,5 +1,7 @@
|
||||||
# Contributing Guidelines
|
# Contributing Guidelines
|
||||||
|
|
||||||
|
*This project is constantly evolving, and as such, this file may be out of date.*
|
||||||
|
|
||||||
## Map
|
## Map
|
||||||
|
|
||||||
- `apps/` Builtin applications.
|
- `apps/` Builtin applications.
|
||||||
|
|
18
LICENSE.md
18
LICENSE.md
|
@ -21,14 +21,14 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
This project also include the work of other projects.
|
This project also include the work of other projects.
|
||||||
|
Their licenses may be found in the following files:
|
||||||
|
- `util/nanosvg.h`
|
||||||
|
- `util/hsluv.h`
|
||||||
|
- `shared/stb_image.h`, `shared/stb_sprintf.h`, `shared/stb_ds.h` and `util/stb_truetype.h`
|
||||||
|
- `res/Fonts/Hack License.txt`, `res/Fonts/Inter License.txt`
|
||||||
|
- `res/Icons/elementary Icons License.txt`
|
||||||
|
- `res/Sample Images/Licenses.txt`
|
||||||
|
- `res/Keyboard Layouts/License.txt`
|
||||||
|
- Ported applications have their licenses in their respective folders in `ports/`.
|
||||||
All trademarks are registered trademarks of their respective owners.
|
All trademarks are registered trademarks of their respective owners.
|
||||||
They licenses may be found in the following files:
|
|
||||||
- util/nanosvg.h
|
|
||||||
- util/hsluv.h
|
|
||||||
- shared/stb_image.h, shared/stb_sprintf.h, shared/stb_ds.h and util/stb_truetype.h
|
|
||||||
- res/Fonts/Hack License.txt, res/Fonts/Inter License.txt
|
|
||||||
- res/Icons/elementary Icons License.txt
|
|
||||||
- res/Sample Images/Licenses.txt
|
|
||||||
- res/Keyboard Layouts/License.txt
|
|
||||||
- Ported applications have their licenses in their respective folders.
|
|
||||||
Please tell me if I've forgotten something!
|
Please tell me if I've forgotten something!
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <essence.h>
|
#include <essence.h>
|
||||||
#include <shared/strings.cpp>
|
#include <shared/strings.cpp>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
void CommandRename(Instance *instance, EsElement *, EsCommand *) {
|
void CommandRename(Instance *instance, EsElement *, EsCommand *) {
|
||||||
// TODO Undo.
|
// TODO Undo.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#define NAMESPACE_HANDLER_FILE_SYSTEM (1)
|
#define NAMESPACE_HANDLER_FILE_SYSTEM (1)
|
||||||
#define NAMESPACE_HANDLER_DRIVES_PAGE (2)
|
#define NAMESPACE_HANDLER_DRIVES_PAGE (2)
|
||||||
#define NAMESPACE_HANDLER_ROOT (3) // Acts as a container handler where needed.
|
#define NAMESPACE_HANDLER_ROOT (3) // Acts as a container handler where needed.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#define ES_INSTANCE_TYPE Instance
|
#define ES_INSTANCE_TYPE Instance
|
||||||
#include <essence.h>
|
#include <essence.h>
|
||||||
#include <shared/strings.cpp>
|
#include <shared/strings.cpp>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
struct String {
|
struct String {
|
||||||
char *text;
|
char *text;
|
||||||
size_t bytes, allocated;
|
size_t bytes, allocated;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
struct FileType {
|
struct FileType {
|
||||||
char *name;
|
char *name;
|
||||||
size_t nameBytes;
|
size_t nameBytes;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Custom columns.
|
// TODO Custom columns.
|
||||||
|
|
||||||
void InstanceFolderPathChanged(Instance *instance, bool fromLoadFolder) {
|
void InstanceFolderPathChanged(Instance *instance, bool fromLoadFolder) {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#define ES_INSTANCE_TYPE Instance
|
#define ES_INSTANCE_TYPE Instance
|
||||||
#include <essence.h>
|
#include <essence.h>
|
||||||
#include <shared/array.cpp>
|
#include <shared/array.cpp>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Saving.
|
// TODO Saving.
|
||||||
// TODO Don't use an EsPaintTarget for the bitmap?
|
// TODO Don't use an EsPaintTarget for the bitmap?
|
||||||
// TODO Show brush preview.
|
// TODO Show brush preview.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#define INSTALLER
|
#define INSTALLER
|
||||||
|
|
||||||
#define ES_CRT_WITHOUT_PREFIX
|
#define ES_CRT_WITHOUT_PREFIX
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Don't use EsTextbox for the output..
|
// TODO Don't use EsTextbox for the output..
|
||||||
// TODO Put the connection settings in a Panel.Popup.
|
// TODO Put the connection settings in a Panel.Popup.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#define ES_INSTANCE_TYPE Instance
|
#define ES_INSTANCE_TYPE Instance
|
||||||
#include <essence.h>
|
#include <essence.h>
|
||||||
#include <shared/strings.cpp>
|
#include <shared/strings.cpp>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <essence.h>
|
#include <essence.h>
|
||||||
#include <shared/strings.cpp>
|
#include <shared/strings.cpp>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#define ES_INSTANCE_TYPE Instance
|
#define ES_INSTANCE_TYPE Instance
|
||||||
#include <essence.h>
|
#include <essence.h>
|
||||||
#include <shared/array.cpp>
|
#include <shared/array.cpp>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <essence.h>
|
#include <essence.h>
|
||||||
#include <shared/strings.cpp>
|
#include <shared/strings.cpp>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#define ES_INSTANCE_TYPE Instance
|
#define ES_INSTANCE_TYPE Instance
|
||||||
#include <essence.h>
|
#include <essence.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
; This file is part of the Essence operating system.
|
||||||
|
; It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
; Written by: nakst.
|
||||||
|
|
||||||
[section .text]
|
[section .text]
|
||||||
|
|
||||||
[global _APISyscall]
|
[global _APISyscall]
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Support for systems without MMX/SSE.
|
// TODO Support for systems without MMX/SSE.
|
||||||
// TODO Support for systems without an APIC.
|
// TODO Support for systems without an APIC.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
; This file is part of the Essence operating system.
|
||||||
|
; It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
; Written by: nakst.
|
||||||
|
|
||||||
[bits 32]
|
[bits 32]
|
||||||
|
|
||||||
[global ProcessorReset]
|
[global ProcessorReset]
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
; This file is part of the Essence operating system.
|
||||||
|
; It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
; Written by: nakst.
|
||||||
|
|
||||||
[section .text]
|
[section .text]
|
||||||
|
|
||||||
[global _APISyscall]
|
[global _APISyscall]
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef IMPLEMENTATION
|
#ifndef IMPLEMENTATION
|
||||||
|
|
||||||
struct MMArchVAS {
|
struct MMArchVAS {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
; This file is part of the Essence operating system.
|
||||||
|
; It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
; Written by: nakst.
|
||||||
|
|
||||||
[bits 64]
|
[bits 64]
|
||||||
|
|
||||||
[global ArchSwitchContext]
|
[global ArchSwitchContext]
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <arch/x86_pc.h>
|
#include <arch/x86_pc.h>
|
||||||
|
|
||||||
extern "C" uint64_t ProcessorReadCR3();
|
extern "C" uint64_t ProcessorReadCR3();
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef ARCH_X86_PC_HEADER
|
#ifndef ARCH_X86_PC_HEADER
|
||||||
#define ARCH_X86_PC_HEADER
|
#define ARCH_X86_PC_HEADER
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
; This file is part of the Essence operating system.
|
||||||
|
; It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
; Written by: nakst.
|
||||||
|
|
||||||
[bits 16]
|
[bits 16]
|
||||||
[org 0x7C00]
|
[org 0x7C00]
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
; This file is part of the Essence operating system.
|
||||||
|
; It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
; Written by: nakst.
|
||||||
|
|
||||||
%macro FilesystemInitialise 0
|
%macro FilesystemInitialise 0
|
||||||
%define superblock 0x8000
|
%define superblock 0x8000
|
||||||
%define kernel_file_entry 0x8800
|
%define kernel_file_entry 0x8800
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
; This file is part of the Essence operating system.
|
||||||
|
; It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
; Written by: nakst.
|
||||||
|
|
||||||
[bits 16]
|
[bits 16]
|
||||||
[org 0x1000]
|
[org 0x1000]
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
; This file is part of the Essence operating system.
|
||||||
|
; It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
; Written by: nakst.
|
||||||
|
|
||||||
[bits 16]
|
[bits 16]
|
||||||
[org 0x600]
|
[org 0x600]
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
; This file is part of the Essence operating system.
|
||||||
|
; It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
; Written by: nakst.
|
||||||
|
|
||||||
[bits 16]
|
[bits 16]
|
||||||
[org 0x600]
|
[org 0x600]
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <efi.h>
|
#include <efi.h>
|
||||||
|
|
||||||
#define ENTRIES_PER_PAGE_TABLE (512)
|
#define ENTRIES_PER_PAGE_TABLE (512)
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
; This file is part of the Essence operating system.
|
||||||
|
; It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
; Written by: nakst.
|
||||||
|
|
||||||
[bits 64]
|
[bits 64]
|
||||||
[org 0x180000]
|
[org 0x180000]
|
||||||
[section .text]
|
[section .text]
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
; This file is part of the Essence operating system.
|
||||||
|
; It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
; Written by: nakst.
|
||||||
|
|
||||||
vbe_init:
|
vbe_init:
|
||||||
mov ax,vesa_info >> 4
|
mov ax,vesa_info >> 4
|
||||||
mov es,ax
|
mov es,ax
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#define ES_API
|
#define ES_API
|
||||||
#define ES_FORWARD(x) x
|
#define ES_FORWARD(x) x
|
||||||
#define ES_EXTERN_FORWARD extern "C"
|
#define ES_EXTERN_FORWARD extern "C"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Tabs:
|
// TODO Tabs:
|
||||||
// - New tab page - search; recent files.
|
// - New tab page - search; recent files.
|
||||||
// - Right click menu.
|
// - Right click menu.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Styling features:
|
// TODO Styling features:
|
||||||
// - Specifying aspect ratio of element.
|
// - Specifying aspect ratio of element.
|
||||||
// - Animation parts (list of keyframes).
|
// - Animation parts (list of keyframes).
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO RMB click/drag.
|
// TODO RMB click/drag.
|
||||||
// TODO Consistent int64_t/intptr_t.
|
// TODO Consistent int64_t/intptr_t.
|
||||||
// TODO Drag and drop.
|
// TODO Drag and drop.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
opaque_type EsElement EsElementPublic;
|
opaque_type EsElement EsElementPublic;
|
||||||
opaque_type EsPanel EsElement;
|
opaque_type EsPanel EsElement;
|
||||||
opaque_type EsWindow EsElement;
|
opaque_type EsWindow EsElement;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#define ES_API
|
#define ES_API
|
||||||
#define ES_FORWARD(x) x
|
#define ES_FORWARD(x) x
|
||||||
#define ES_EXTERN_FORWARD extern "C"
|
#define ES_EXTERN_FORWARD extern "C"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// ----------------- Includes:
|
// ----------------- Includes:
|
||||||
|
|
||||||
#ifndef IncludedEssenceAPIHeader
|
#ifndef IncludedEssenceAPIHeader
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Fix glitches.
|
// TODO Fix glitches.
|
||||||
// TODO RAST_REPEAT_NORMAL is wrong with negative values.
|
// TODO RAST_REPEAT_NORMAL is wrong with negative values.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
struct SettingsInstance : CommonDesktopInstance {
|
struct SettingsInstance : CommonDesktopInstance {
|
||||||
EsPanel *switcher;
|
EsPanel *switcher;
|
||||||
EsPanel *mainPage;
|
EsPanel *mainPage;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
ThreadLocalStorage *GetThreadLocalStorage() {
|
ThreadLocalStorage *GetThreadLocalStorage() {
|
||||||
return (ThreadLocalStorage *) ProcessorTLSRead(tlsStorageOffset);
|
return (ThreadLocalStorage *) ProcessorTLSRead(tlsStorageOffset);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#if defined(TEXT_RENDERER)
|
#if defined(TEXT_RENDERER)
|
||||||
|
|
||||||
// TODO Fallback VGA font.
|
// TODO Fallback VGA font.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#define THEME_LAYER_BOX (1)
|
#define THEME_LAYER_BOX (1)
|
||||||
#define THEME_LAYER_TEXT (2)
|
#define THEME_LAYER_TEXT (2)
|
||||||
#define THEME_LAYER_METRICS (3)
|
#define THEME_LAYER_METRICS (3)
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#define SIGNATURE_RSDP (0x2052545020445352)
|
#define SIGNATURE_RSDP (0x2052545020445352)
|
||||||
#define SIGNATURE_RSDT (0x54445352)
|
#define SIGNATURE_RSDT (0x54445352)
|
||||||
#define SIGNATURE_XSDT (0x54445358)
|
#define SIGNATURE_XSDT (0x54445358)
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
||||||
// TODO Active cooling.
|
// TODO Active cooling.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Warning: Not all of the OSL has been tested.
|
// TODO Warning: Not all of the OSL has been tested.
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
||||||
// TODO Inserting/removing CDs.
|
// TODO Inserting/removing CDs.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
#include <arch/x86_pc.h>
|
#include <arch/x86_pc.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
||||||
// Filesystem structures and constant definitions.
|
// Filesystem structures and constant definitions.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Validation of all fields.
|
// TODO Validation of all fields.
|
||||||
// TODO Contiguous block reading in Scan and Enumerate.
|
// TODO Contiguous block reading in Scan and Enumerate.
|
||||||
// TODO Make GetDataBlock use (not yet implemented) system block cache.
|
// TODO Make GetDataBlock use (not yet implemented) system block cache.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Validation of all fields.
|
// TODO Validation of all fields.
|
||||||
// TODO Don't load entire FAT in memory.
|
// TODO Don't load entire FAT in memory.
|
||||||
// TODO Long file names.
|
// TODO Long file names.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
||||||
#define RD_REGISTER_GCAP() controller->pci->ReadBAR16(0, 0x00) // Global capabilities.
|
#define RD_REGISTER_GCAP() controller->pci->ReadBAR16(0, 0x00) // Global capabilities.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Initialise on a separate thread.
|
// TODO Initialise on a separate thread.
|
||||||
// TODO Checksum off-loading.
|
// TODO Checksum off-loading.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Asynchronous timeout.
|
// TODO Asynchronous timeout.
|
||||||
// TODO Inserting/removing ATAPI devices.
|
// TODO Inserting/removing ATAPI devices.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Validation of all fields.
|
// TODO Validation of all fields.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Validation of all fields.
|
// TODO Validation of all fields.
|
||||||
// TODO Update to the latest file subsystem changes.
|
// TODO Update to the latest file subsystem changes.
|
||||||
// - Set spaceUsed and spaceTotal.
|
// - Set spaceUsed and spaceTotal.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
||||||
// TODO Sometimes completion interrupts get missed?
|
// TODO Sometimes completion interrupts get missed?
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Warn on Read/WriteBAR if port IO/memory space access is disabled in the command register.
|
// TODO Warn on Read/WriteBAR if port IO/memory space access is disabled in the command register.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Scrolling.
|
// TODO Scrolling.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
#include <arch/x86_pc.h>
|
#include <arch/x86_pc.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
#include <arch/x86_pc.h>
|
#include <arch/x86_pc.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
||||||
#define SETUP_FLAG_D2H (0x80)
|
#define SETUP_FLAG_D2H (0x80)
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
||||||
// TODO STALL handling.
|
// TODO STALL handling.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
||||||
// #define TRACE_REPORTS
|
// #define TRACE_REPORTS
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
||||||
// TODO Device attach and detach.
|
// TODO Device attach and detach.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef IMPLEMENTATION
|
#ifndef IMPLEMENTATION
|
||||||
|
|
||||||
// TODO Implement read ahead in CCSpaceAccess.
|
// TODO Implement read ahead in CCSpaceAccess.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef IMPLEMENTATION
|
#ifndef IMPLEMENTATION
|
||||||
|
|
||||||
struct DeviceAttachData {
|
struct DeviceAttachData {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Use a custom executable format?
|
// TODO Use a custom executable format?
|
||||||
|
|
||||||
#define MEMORY_MAPPED_EXECUTABLES
|
#define MEMORY_MAPPED_EXECUTABLES
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Features:
|
// TODO Features:
|
||||||
// - Handling errors creating files (prevent further file system operations).
|
// - Handling errors creating files (prevent further file system operations).
|
||||||
// - Limiting the size of the directory/node cache.
|
// - Limiting the size of the directory/node cache.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef IMPLEMENTATION
|
#ifndef IMPLEMENTATION
|
||||||
|
|
||||||
#define CURSOR_SHADOW_OFFSET (1)
|
#define CURSOR_SHADOW_OFFSET (1)
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef IMPLEMENTATION
|
#ifndef IMPLEMENTATION
|
||||||
|
|
||||||
#define K_IN_CORE_KERNEL
|
#define K_IN_CORE_KERNEL
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Prevent Meltdown/Spectre exploits.
|
// TODO Prevent Meltdown/Spectre exploits.
|
||||||
// TODO Kernel debugger.
|
// TODO Kernel debugger.
|
||||||
// TODO Passing data to userspace - zeroing padding bits of structures.
|
// TODO Passing data to userspace - zeroing padding bits of structures.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Soft page faults.
|
// TODO Soft page faults.
|
||||||
// TODO Paging file.
|
// TODO Paging file.
|
||||||
// TODO Large pages.
|
// TODO Large pages.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Include more functions and definitions.
|
// TODO Include more functions and definitions.
|
||||||
// TODO Add K- prefix to more identifiers.
|
// TODO Add K- prefix to more identifiers.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Event-based API for userland.
|
// TODO Event-based API for userland.
|
||||||
|
|
||||||
// TODO Locking: In NetTCPReceive, lock on getting task so it can't be destroyed by NetConnectionDestroy.
|
// TODO Locking: In NetTCPReceive, lock on getting task so it can't be destroyed by NetConnectionDestroy.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Reject opening handles if the handle table has been destroyed!!
|
// TODO Reject opening handles if the handle table has been destroyed!!
|
||||||
|
|
||||||
#ifndef IMPLEMENTATION
|
#ifndef IMPLEMENTATION
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef IMPLEMENTATION
|
#ifndef IMPLEMENTATION
|
||||||
|
|
||||||
struct POSIXFile {
|
struct POSIXFile {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Review vforking interaction from the POSIX subsystem with the process termination algorithm.
|
// TODO Review vforking interaction from the POSIX subsystem with the process termination algorithm.
|
||||||
// TODO Simplify or remove asynchronous task thread semantics.
|
// TODO Simplify or remove asynchronous task thread semantics.
|
||||||
// TODO Break up or remove dispatchSpinlock.
|
// TODO Break up or remove dispatchSpinlock.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifdef IMPLEMENTATION
|
#ifdef IMPLEMENTATION
|
||||||
|
|
||||||
#ifdef DEBUG_BUILD
|
#ifdef DEBUG_BUILD
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Replace ES_ERROR_UNKNOWN with proper errors.
|
// TODO Replace ES_ERROR_UNKNOWN with proper errors.
|
||||||
// TODO Clean up the return values for system calls; with FATAL_ERRORs there should need to be less error codes returned.
|
// TODO Clean up the return values for system calls; with FATAL_ERRORs there should need to be less error codes returned.
|
||||||
// TODO If a file system call fails with an error indicating the file system is corrupted, or a drive is failing, report the problem to the user.
|
// TODO If a file system call fails with an error indicating the file system is corrupted, or a drive is failing, report the problem to the user.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Everything in this file is a hack just so I can debug the kernel.
|
// TODO Everything in this file is a hack just so I can debug the kernel.
|
||||||
// Replace all of it!!!
|
// Replace all of it!!!
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef IMPLEMENTATION
|
#ifndef IMPLEMENTATION
|
||||||
|
|
||||||
// TODO Don't send key released messages if the focused window has changed.
|
// TODO Don't send key released messages if the focused window has changed.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
struct ArenaSlot {
|
struct ArenaSlot {
|
||||||
uintptr_t indexInBlock;
|
uintptr_t indexInBlock;
|
||||||
ArenaSlot *nextEmpty, **previousEmpty;
|
ArenaSlot *nextEmpty, **previousEmpty;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef ARRAY_IMPLEMENTATION_ONLY
|
#ifndef ARRAY_IMPLEMENTATION_ONLY
|
||||||
|
|
||||||
struct _ArrayHeader {
|
struct _ArrayHeader {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef IMPLEMENTATION
|
#ifndef IMPLEMENTATION
|
||||||
|
|
||||||
#ifdef DEBUG_BUILD
|
#ifdef DEBUG_BUILD
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef IMPLEMENTATION
|
#ifndef IMPLEMENTATION
|
||||||
|
|
||||||
struct Bitset {
|
struct Bitset {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
/////////////////////////////////
|
/////////////////////////////////
|
||||||
// EsRectangle utility functions.
|
// EsRectangle utility functions.
|
||||||
/////////////////////////////////
|
/////////////////////////////////
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Kernel driver:
|
// TODO Kernel driver:
|
||||||
// Extent allocation algorithm.
|
// Extent allocation algorithm.
|
||||||
// TODO Design:
|
// TODO Design:
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Test deleting values in hash stores with variable length keys.
|
// TODO Test deleting values in hash stores with variable length keys.
|
||||||
|
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
// TODO Rewrite. Make faster!
|
// TODO Rewrite. Make faster!
|
||||||
// TODO EsHeapAllocateNearby.
|
// TODO EsHeapAllocateNearby.
|
||||||
// TODO Larger heap blocks.
|
// TODO Larger heap blocks.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
struct LinkedList;
|
struct LinkedList;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
/////////////////////////////////
|
/////////////////////////////////
|
||||||
// Basic utilities.
|
// Basic utilities.
|
||||||
/////////////////////////////////
|
/////////////////////////////////
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef K_SIGNATURE_BLOCK_SIZE
|
#ifndef K_SIGNATURE_BLOCK_SIZE
|
||||||
#define K_SIGNATURE_BLOCK_SIZE (65536)
|
#define K_SIGNATURE_BLOCK_SIZE (65536)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
uint32_t SwapBigEndian32(uint32_t x);
|
uint32_t SwapBigEndian32(uint32_t x);
|
||||||
|
|
||||||
typedef struct PNGReader {
|
typedef struct PNGReader {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#ifndef IMPLEMENTATION
|
#ifndef IMPLEMENTATION
|
||||||
|
|
||||||
struct Range {
|
struct Range {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// This file is part of the Essence operating system.
|
||||||
|
// It is released under the terms of the MIT license -- see LICENSE.md.
|
||||||
|
// Written by: nakst.
|
||||||
|
|
||||||
#pragma GCC diagnostic ignored "-Wunused-variable" push
|
#pragma GCC diagnostic ignored "-Wunused-variable" push
|
||||||
|
|
||||||
#define DEFINE_INTERFACE_STRING(name, text) static const char *interfaceString_ ## name = text;
|
#define DEFINE_INTERFACE_STRING(name, text) static const char *interfaceString_ ## name = text;
|
||||||
|
|
Loading…
Reference in New Issue