mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-15 23:47:25 -04:00
Adapt the kernel to the new path
This commit is contained in:
parent
d94c1139d3
commit
ac1685eebb
2
cpp.mk
2
cpp.mk
@ -4,7 +4,7 @@ OC=x86_64-elf-objcopy
|
|||||||
AR=x86_64-elf-ar
|
AR=x86_64-elf-ar
|
||||||
|
|
||||||
WARNING_FLAGS=-Wall -Wextra -pedantic -Wold-style-cast -Wshadow
|
WARNING_FLAGS=-Wall -Wextra -pedantic -Wold-style-cast -Wshadow
|
||||||
COMMON_CPP_FLAGS=-masm=intel -Iinclude/ -nostdlib -g -Os -std=c++11 -fno-stack-protector -fno-exceptions -funsigned-char -fno-rtti -ffreestanding -fomit-frame-pointer -mno-red-zone -mno-3dnow -mno-mmx -fno-asynchronous-unwind-tables
|
COMMON_CPP_FLAGS=-masm=intel -I../../tstl/include/ -I../tstl/include/ -Iinclude/ -nostdlib -g -Os -std=c++11 -fno-stack-protector -fno-exceptions -funsigned-char -fno-rtti -ffreestanding -fomit-frame-pointer -mno-red-zone -mno-3dnow -mno-mmx -fno-asynchronous-unwind-tables
|
||||||
|
|
||||||
CPP_FLAGS_LOW=-march=i386 -m32 -fno-strict-aliasing -fno-pic -fno-toplevel-reorder -mno-sse -mno-sse2 -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2
|
CPP_FLAGS_LOW=-march=i386 -m32 -fno-strict-aliasing -fno-pic -fno-toplevel-reorder -mno-sse -mno-sse2 -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#ifndef ATA_H
|
#ifndef ATA_H
|
||||||
#define ATA_H
|
#define ATA_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/string.hpp"
|
#include <string.hpp>
|
||||||
|
|
||||||
namespace ata {
|
namespace ata {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef BUDDY_ALLOCATOR_H
|
#ifndef BUDDY_ALLOCATOR_H
|
||||||
#define BUDDY_ALLOCATOR_H
|
#define BUDDY_ALLOCATOR_H
|
||||||
|
|
||||||
#include "stl/array.hpp"
|
#include <array.hpp>
|
||||||
|
|
||||||
#include "bitmap.hpp"
|
#include "bitmap.hpp"
|
||||||
|
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
#ifndef CONSOLE_H
|
#ifndef CONSOLE_H
|
||||||
#define CONSOLE_H
|
#define CONSOLE_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/enable_if.hpp"
|
#include <enable_if.hpp>
|
||||||
#include "stl/string.hpp"
|
#include <string.hpp>
|
||||||
|
|
||||||
void init_console();
|
void init_console();
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef DATETIME_H
|
#ifndef DATETIME_H
|
||||||
#define DATETIME_H
|
#define DATETIME_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
struct datetime {
|
struct datetime {
|
||||||
uint8_t year;
|
uint8_t year;
|
||||||
|
@ -10,10 +10,10 @@
|
|||||||
|
|
||||||
#include "datetime.hpp"
|
#include "datetime.hpp"
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/array.hpp"
|
#include <array.hpp>
|
||||||
#include "stl/vector.hpp"
|
#include <vector.hpp>
|
||||||
#include "stl/string.hpp"
|
#include <string.hpp>
|
||||||
|
|
||||||
namespace disks {
|
namespace disks {
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
* mode.
|
* mode.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
#ifndef E820_HPP
|
#ifndef E820_HPP
|
||||||
#define E820_HPP
|
#define E820_HPP
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#ifndef ELF_H
|
#ifndef ELF_H
|
||||||
#define ELF_H
|
#define ELF_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/string.hpp"
|
#include <string.hpp>
|
||||||
|
|
||||||
namespace elf {
|
namespace elf {
|
||||||
|
|
||||||
|
@ -8,10 +8,10 @@
|
|||||||
#ifndef FAT32_H
|
#ifndef FAT32_H
|
||||||
#define FAT32_H
|
#define FAT32_H
|
||||||
|
|
||||||
#include "disks.hpp"
|
#include <vector.hpp>
|
||||||
|
#include <string.hpp>
|
||||||
|
|
||||||
#include "stl/vector.hpp"
|
#include "disks.hpp"
|
||||||
#include "stl/string.hpp"
|
|
||||||
|
|
||||||
namespace fat32 {
|
namespace fat32 {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef GDT_H
|
#ifndef GDT_H
|
||||||
#define GDT_H
|
#define GDT_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace gdt {
|
namespace gdt {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef INTERRUPTS_H
|
#ifndef INTERRUPTS_H
|
||||||
#define INTERRUPTS_H
|
#define INTERRUPTS_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace interrupt {
|
namespace interrupt {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef KERNEL_UTILS_H
|
#ifndef KERNEL_UTILS_H
|
||||||
#define KERNEL_UTILS_H
|
#define KERNEL_UTILS_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
uint8_t in_byte(uint16_t _port);
|
uint8_t in_byte(uint16_t _port);
|
||||||
void out_byte(uint16_t _port, uint8_t _data);
|
void out_byte(uint16_t _port, uint8_t _data);
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef KEYBOARD_H
|
#ifndef KEYBOARD_H
|
||||||
#define KEYBOARD_H
|
#define KEYBOARD_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace keyboard {
|
namespace keyboard {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef MALLOC_H
|
#ifndef MALLOC_H
|
||||||
#define MALLOC_H
|
#define MALLOC_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace malloc {
|
namespace malloc {
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#ifndef PAGING_H
|
#ifndef PAGING_H
|
||||||
#define PAGING_H
|
#define PAGING_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/literals.hpp"
|
#include <literals.hpp>
|
||||||
|
|
||||||
#include "virtual_allocator.hpp"
|
#include "virtual_allocator.hpp"
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef PHYSICAL_ALLOCATOR_H
|
#ifndef PHYSICAL_ALLOCATOR_H
|
||||||
#define PHYSICAL_ALLOCATOR_H
|
#define PHYSICAL_ALLOCATOR_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace physical_allocator {
|
namespace physical_allocator {
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#ifndef PROCESS_H
|
#ifndef PROCESS_H
|
||||||
#define PROCESS_H
|
#define PROCESS_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/vector.hpp"
|
#include <vector.hpp>
|
||||||
|
|
||||||
#include "paging.hpp"
|
#include "paging.hpp"
|
||||||
#include "interrupts.hpp"
|
#include "interrupts.hpp"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef RTC_H
|
#ifndef RTC_H
|
||||||
#define RTC_H
|
#define RTC_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace rtc {
|
namespace rtc {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef SCHEDULER_H
|
#ifndef SCHEDULER_H
|
||||||
#define SCHEDULER_H
|
#define SCHEDULER_H
|
||||||
|
|
||||||
#include "stl/string.hpp"
|
#include <string.hpp>
|
||||||
|
|
||||||
#include "process.hpp"
|
#include "process.hpp"
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#ifndef SEMAPHORE_H
|
#ifndef SEMAPHORE_H
|
||||||
#define SEMAPHORE_H
|
#define SEMAPHORE_H
|
||||||
|
|
||||||
#include "stl/queue.hpp"
|
#include <queue.hpp>
|
||||||
#include "stl/lock_guard.hpp"
|
#include <lock_guard.hpp>
|
||||||
|
|
||||||
#include "spinlock.hpp"
|
#include "spinlock.hpp"
|
||||||
#include "scheduler.hpp"
|
#include "scheduler.hpp"
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#ifndef SLEEP_QUEUE_H
|
#ifndef SLEEP_QUEUE_H
|
||||||
#define SLEEP_QUEUE_H
|
#define SLEEP_QUEUE_H
|
||||||
|
|
||||||
#include "stl/queue.hpp"
|
#include <queue.hpp>
|
||||||
#include "stl/lock_guard.hpp"
|
#include <lock_guard.hpp>
|
||||||
|
|
||||||
#include "spinlock.hpp"
|
#include "spinlock.hpp"
|
||||||
#include "scheduler.hpp"
|
#include "scheduler.hpp"
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#ifndef SYSINFO_H
|
#ifndef SYSINFO_H
|
||||||
#define SYSINFO_H
|
#define SYSINFO_H
|
||||||
|
|
||||||
#include "stl/string.hpp"
|
#include <string.hpp>
|
||||||
#include "stl/vector.hpp"
|
#include <vector.hpp>
|
||||||
|
|
||||||
void sysinfo_command(const std::vector<std::string>& params);
|
void sysinfo_command(const std::vector<std::string>& params);
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#ifndef TERMINAL_H
|
#ifndef TERMINAL_H
|
||||||
#define TERMINAL_H
|
#define TERMINAL_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/circular_buffer.hpp"
|
#include <circular_buffer.hpp>
|
||||||
|
|
||||||
#include "sleep_queue.hpp"
|
#include "sleep_queue.hpp"
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef TEXT_CONSOLE_H
|
#ifndef TEXT_CONSOLE_H
|
||||||
#define TEXT_CONSOLE_H
|
#define TEXT_CONSOLE_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
struct text_console {
|
struct text_console {
|
||||||
void init();
|
void init();
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef THOR_H
|
#ifndef THOR_H
|
||||||
#define THOR_H
|
#define THOR_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
void* operator new(uint64_t size);
|
void* operator new(uint64_t size);
|
||||||
void operator delete(void* p);
|
void operator delete(void* p);
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef TIMER_H
|
#ifndef TIMER_H
|
||||||
#define TIMER_H
|
#define TIMER_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace timer {
|
namespace timer {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef VESA_H
|
#ifndef VESA_H
|
||||||
#define VESA_H
|
#define VESA_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace vesa {
|
namespace vesa {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef VESA_CONSOLE_H
|
#ifndef VESA_CONSOLE_H
|
||||||
#define VESA_CONSOLE_H
|
#define VESA_CONSOLE_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
struct vesa_console {
|
struct vesa_console {
|
||||||
void init();
|
void init();
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#ifndef VIRTUAL_ALLOCATOR_H
|
#ifndef VIRTUAL_ALLOCATOR_H
|
||||||
#define VIRTUAL_ALLOCATOR_H
|
#define VIRTUAL_ALLOCATOR_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/literals.hpp"
|
#include <literals.hpp>
|
||||||
|
|
||||||
namespace virtual_allocator {
|
namespace virtual_allocator {
|
||||||
|
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
|
#include <types.hpp>
|
||||||
|
|
||||||
#include "acpi.hpp"
|
#include "acpi.hpp"
|
||||||
#include "kernel_utils.hpp"
|
#include "kernel_utils.hpp"
|
||||||
#include "timer.hpp"
|
#include "timer.hpp"
|
||||||
#include "paging.hpp"
|
#include "paging.hpp"
|
||||||
#include "console.hpp"
|
#include "console.hpp"
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
uint32_t SMI_CMD; //ptr
|
uint32_t SMI_CMD; //ptr
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/string.hpp"
|
#include <string.hpp>
|
||||||
|
|
||||||
#include "console.hpp"
|
#include "console.hpp"
|
||||||
#include "vesa.hpp"
|
#include "vesa.hpp"
|
||||||
|
@ -5,16 +5,16 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
|
#include <unique_ptr.hpp>
|
||||||
|
#include <array.hpp>
|
||||||
|
#include <string.hpp>
|
||||||
|
|
||||||
#include "disks.hpp"
|
#include "disks.hpp"
|
||||||
#include "ata.hpp"
|
#include "ata.hpp"
|
||||||
#include "thor.hpp"
|
#include "thor.hpp"
|
||||||
#include "console.hpp"
|
#include "console.hpp"
|
||||||
#include "fat32.hpp"
|
#include "fat32.hpp"
|
||||||
|
|
||||||
#include "stl/unique_ptr.hpp"
|
|
||||||
#include "stl/array.hpp"
|
|
||||||
#include "stl/string.hpp"
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
//For now, 4 is enough as only the ata driver is implemented
|
//For now, 4 is enough as only the ata driver is implemented
|
||||||
|
@ -9,10 +9,10 @@
|
|||||||
#include "console.hpp"
|
#include "console.hpp"
|
||||||
#include "rtc.hpp"
|
#include "rtc.hpp"
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/unique_ptr.hpp"
|
#include <unique_ptr.hpp>
|
||||||
#include "stl/algorithms.hpp"
|
#include <algorithms.hpp>
|
||||||
#include "stl/pair.hpp"
|
#include <pair.hpp>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
|
#include <types.hpp>
|
||||||
|
|
||||||
#include "interrupts.hpp"
|
#include "interrupts.hpp"
|
||||||
#include "console.hpp"
|
#include "console.hpp"
|
||||||
#include "kernel_utils.hpp"
|
#include "kernel_utils.hpp"
|
||||||
@ -14,8 +16,6 @@
|
|||||||
#include "irqs.hpp"
|
#include "irqs.hpp"
|
||||||
#include "syscalls.hpp"
|
#include "syscalls.hpp"
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
struct idt_flags {
|
struct idt_flags {
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/algorithms.hpp"
|
#include <algorithms.hpp>
|
||||||
|
|
||||||
#include "paging.hpp"
|
#include "paging.hpp"
|
||||||
#include "kernel.hpp"
|
#include "kernel.hpp"
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
#include "stl/array.hpp"
|
#include <array.hpp>
|
||||||
#include "stl/vector.hpp"
|
#include <vector.hpp>
|
||||||
#include "stl/optional.hpp"
|
#include <optional.hpp>
|
||||||
#include "stl/string.hpp"
|
#include <string.hpp>
|
||||||
#include "stl/lock_guard.hpp"
|
#include <lock_guard.hpp>
|
||||||
|
|
||||||
#include "scheduler.hpp"
|
#include "scheduler.hpp"
|
||||||
#include "paging.hpp"
|
#include "paging.hpp"
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/algorithms.hpp"
|
#include <algorithms.hpp>
|
||||||
#include "stl/vector.hpp"
|
#include <vector.hpp>
|
||||||
#include "stl/string.hpp"
|
#include <string.hpp>
|
||||||
#include "stl/optional.hpp"
|
#include <optional.hpp>
|
||||||
|
|
||||||
#include "shell.hpp"
|
#include "shell.hpp"
|
||||||
#include "keyboard.hpp"
|
#include "keyboard.hpp"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
#include "stl/array.hpp"
|
#include <array.hpp>
|
||||||
|
|
||||||
#include "terminal.hpp"
|
#include "terminal.hpp"
|
||||||
#include "keyboard.hpp"
|
#include "keyboard.hpp"
|
||||||
|
@ -5,8 +5,9 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
|
#include <algorithms.hpp>
|
||||||
|
|
||||||
#include "text_console.hpp"
|
#include "text_console.hpp"
|
||||||
#include "stl/algorithms.hpp"
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
#include "vesa.hpp"
|
#include "vesa.hpp"
|
||||||
#include "paging.hpp"
|
#include "paging.hpp"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
#include "stl/array.hpp"
|
#include <array.hpp>
|
||||||
|
|
||||||
#include "virtual_allocator.hpp"
|
#include "virtual_allocator.hpp"
|
||||||
#include "paging.hpp"
|
#include "paging.hpp"
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
#ifndef ALGORITHMS_H
|
#ifndef ALGORITHMS_H
|
||||||
#define ALGORITHMS_H
|
#define ALGORITHMS_H
|
||||||
|
|
||||||
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
template< class T > struct remove_reference {typedef T type;};
|
template< class T > struct remove_reference {typedef T type;};
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef ARRAY_H
|
#ifndef ARRAY_H
|
||||||
#define ARRAY_H
|
#define ARRAY_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef LIST_H
|
#ifndef LIST_H
|
||||||
#define LIST_H
|
#define LIST_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef LITERALS_HPP
|
#ifndef LITERALS_HPP
|
||||||
#define LITERALS_HPP
|
#define LITERALS_HPP
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
static_assert(sizeof(size_t) == sizeof(unsigned long long), "Unmatching sizes for literals");
|
static_assert(sizeof(size_t) == sizeof(unsigned long long), "Unmatching sizes for literals");
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#ifndef STL_QUEUE_H
|
#ifndef STL_QUEUE_H
|
||||||
#define STL_QUEUE_H
|
#define STL_QUEUE_H
|
||||||
|
|
||||||
#include "stl/list.hpp"
|
#include <list.hpp>
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
#ifndef STRING_H
|
#ifndef STRING_H
|
||||||
#define STRING_H
|
#define STRING_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/algorithms.hpp"
|
#include <algorithms.hpp>
|
||||||
#include "stl/vector.hpp"
|
#include <vector.hpp>
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#ifndef VECTOR_H
|
#ifndef VECTOR_H
|
||||||
#define VECTOR_H
|
#define VECTOR_H
|
||||||
|
|
||||||
#include "stl/types.hpp"
|
#include <types.hpp>
|
||||||
#include "stl/algorithms.hpp"
|
#include <algorithms.hpp>
|
||||||
|
|
||||||
//TODO The vector does not call any destructor
|
//TODO The vector does not call any destructor
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user