add license header to source files

This commit is contained in:
nakst 2021-11-09 20:49:34 +00:00
parent eecaf24dc8
commit 1eb2dfe549
100 changed files with 403 additions and 9 deletions

View File

@ -1,5 +1,7 @@
# Contributing Guidelines
*This project is constantly evolving, and as such, this file may be out of date.*
## Map
- `apps/` Builtin applications.

View File

@ -21,14 +21,14 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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.
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!

View File

@ -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 <shared/strings.cpp>

View File

@ -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 *) {
// TODO Undo.

View File

@ -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_DRIVES_PAGE (2)
#define NAMESPACE_HANDLER_ROOT (3) // Acts as a container handler where needed.

View File

@ -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
#include <essence.h>
#include <shared/strings.cpp>

View File

@ -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 {
char *text;
size_t bytes, allocated;

View File

@ -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 {
char *name;
size_t nameBytes;

View File

@ -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.
void InstanceFolderPathChanged(Instance *instance, bool fromLoadFolder) {

View File

@ -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
#include <essence.h>
#include <shared/array.cpp>

View File

@ -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 Don't use an EsPaintTarget for the bitmap?
// TODO Show brush preview.

View File

@ -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 ES_CRT_WITHOUT_PREFIX

View File

@ -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 Put the connection settings in a Panel.Popup.

View File

@ -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
#include <essence.h>
#include <shared/strings.cpp>

View File

@ -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 <shared/strings.cpp>

View File

@ -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
#include <essence.h>
#include <shared/array.cpp>

View File

@ -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 <shared/strings.cpp>

View File

@ -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
#include <essence.h>

View File

@ -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]
[global _APISyscall]

View File

@ -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 an APIC.

View File

@ -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]
[global ProcessorReset]

View File

@ -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]
[global _APISyscall]

View File

@ -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
struct MMArchVAS {

View File

@ -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]
[global ArchSwitchContext]

View File

@ -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>
extern "C" uint64_t ProcessorReadCR3();

View File

@ -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
#define ARCH_X86_PC_HEADER

View File

@ -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]
[org 0x7C00]

View File

@ -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
%define superblock 0x8000
%define kernel_file_entry 0x8800

View File

@ -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]
[org 0x1000]

View File

@ -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]
[org 0x600]

View File

@ -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]
[org 0x600]

View File

@ -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>
#define ENTRIES_PER_PAGE_TABLE (512)

View File

@ -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]
[org 0x180000]
[section .text]

View File

@ -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:
mov ax,vesa_info >> 4
mov es,ax

View File

@ -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_FORWARD(x) x
#define ES_EXTERN_FORWARD extern "C"

View File

@ -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:
// - New tab page - search; recent files.
// - Right click menu.

View File

@ -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:
// - Specifying aspect ratio of element.
// - Animation parts (list of keyframes).

View File

@ -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 Consistent int64_t/intptr_t.
// TODO Drag and drop.

View File

@ -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 EsPanel EsElement;
opaque_type EsWindow EsElement;

View File

@ -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_FORWARD(x) x
#define ES_EXTERN_FORWARD extern "C"

View File

@ -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:
#ifndef IncludedEssenceAPIHeader

View File

@ -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 RAST_REPEAT_NORMAL is wrong with negative values.

View File

@ -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 {
EsPanel *switcher;
EsPanel *mainPage;

View File

@ -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() {
return (ThreadLocalStorage *) ProcessorTLSRead(tlsStorageOffset);
}

View File

@ -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)
// TODO Fallback VGA font.

View File

@ -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_TEXT (2)
#define THEME_LAYER_METRICS (3)

View File

@ -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_RSDT (0x54445352)
#define SIGNATURE_XSDT (0x54445358)

View File

@ -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>
// TODO Active cooling.

View File

@ -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.
extern "C" {

View File

@ -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>
// TODO Inserting/removing CDs.

View File

@ -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 <arch/x86_pc.h>

View File

@ -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>
// Filesystem structures and constant definitions.

View File

@ -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 Contiguous block reading in Scan and Enumerate.
// TODO Make GetDataBlock use (not yet implemented) system block cache.

View File

@ -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 Don't load entire FAT in memory.
// TODO Long file names.

View File

@ -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>
#define RD_REGISTER_GCAP() controller->pci->ReadBAR16(0, 0x00) // Global capabilities.

View File

@ -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 Checksum off-loading.

View File

@ -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 Inserting/removing ATAPI devices.

View File

@ -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.
#include <module.h>

View File

@ -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 Update to the latest file subsystem changes.
// - Set spaceUsed and spaceTotal.

View File

@ -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>
// TODO Sometimes completion interrupts get missed?

View File

@ -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.
#include <module.h>

View File

@ -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.
#include <module.h>

View File

@ -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 <arch/x86_pc.h>

View File

@ -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 <arch/x86_pc.h>

View File

@ -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>
#define SETUP_FLAG_D2H (0x80)

View File

@ -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>
// TODO STALL handling.

View File

@ -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>
// #define TRACE_REPORTS

View File

@ -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>
// TODO Device attach and detach.

View File

@ -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
// TODO Implement read ahead in CCSpaceAccess.

View File

@ -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
struct DeviceAttachData {

View File

@ -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?
#define MEMORY_MAPPED_EXECUTABLES

View File

@ -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:
// - Handling errors creating files (prevent further file system operations).
// - Limiting the size of the directory/node cache.

View File

@ -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
#define CURSOR_SHADOW_OFFSET (1)

View File

@ -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
#define K_IN_CORE_KERNEL

View File

@ -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 Kernel debugger.
// TODO Passing data to userspace - zeroing padding bits of structures.

View File

@ -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 Paging file.
// TODO Large pages.

View File

@ -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 Add K- prefix to more identifiers.

View File

@ -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 Locking: In NetTCPReceive, lock on getting task so it can't be destroyed by NetConnectionDestroy.

View File

@ -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!!
#ifndef IMPLEMENTATION

View File

@ -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
struct POSIXFile {

View File

@ -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 Simplify or remove asynchronous task thread semantics.
// TODO Break up or remove dispatchSpinlock.

View File

@ -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 <stddef.h>

View File

@ -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 DEBUG_BUILD

View File

@ -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 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.

View File

@ -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.
// Replace all of it!!!

View File

@ -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
// TODO Don't send key released messages if the focused window has changed.

View File

@ -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 {
uintptr_t indexInBlock;
ArenaSlot *nextEmpty, **previousEmpty;

View File

@ -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
struct _ArrayHeader {

View File

@ -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
#ifdef DEBUG_BUILD

View File

@ -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
struct Bitset {

View File

@ -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.
/////////////////////////////////

View File

@ -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:
// Extent allocation algorithm.
// TODO Design:

View File

@ -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.
//////////////////////////////////////////

View File

@ -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 EsHeapAllocateNearby.
// TODO Larger heap blocks.

View File

@ -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>
struct LinkedList;

View File

@ -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.
/////////////////////////////////

View File

@ -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
#define K_SIGNATURE_BLOCK_SIZE (65536)
#endif

View File

@ -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);
typedef struct PNGReader {

View File

@ -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
struct Range {

View File

@ -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
#define DEFINE_INTERFACE_STRING(name, text) static const char *interfaceString_ ## name = text;