File tree Expand file tree Collapse file tree 19 files changed +52
-42
lines changed
Expand file tree Collapse file tree 19 files changed +52
-42
lines changed Original file line number Diff line number Diff line change 1+ commit fd042d366b38bcfa6f6490dee6b93bbc7c98949d
2+ Author: Alexeev Bronislav <alexeev.dev@mail.ru >
3+ Date: Sat Aug 23 19:58:30 2025 +0700
4+
5+ fix issues with makefile and shell.nix, fix backspace bug
6+
17commit 20bb0ee3f10fb3038fe786707da6aaac09273f3d
28Author: Alexeev Bronislav <alexeev.dev@mail.ru >
39Date: Sat Aug 23 05:14:12 2025 +0700
Original file line number Diff line number Diff line change 11#ifndef IDT_H
22#define IDT_H
33
4- #include "type .h"
4+ #include "../kklibc/ctypes .h"
55
66/* Селекторы сегментов */
77#define KERNEL_CS 0x08
Original file line number Diff line number Diff line change 11#ifndef ISR_H
22#define ISR_H
33
4- #include "type .h"
4+ #include "../kklibc/ctypes .h"
55
66/* ISR зарезервированы для исключений процессора */
77extern void isr0 ();
Original file line number Diff line number Diff line change 11#ifndef PORTS_H
22#define PORTS_H
33
4- #include "../cpu/type .h"
4+ #include "../kklibc/ctypes .h"
55
66// unsigned char port_byte_in (u16 port);
77// void port_byte_out (u16 port, u8 data);
Original file line number Diff line number Diff line change 1010#include "lowlevel_io.h"
1111#include "../cpu/isr.h"
1212#include "screen.h"
13- #include "../libc/string .h"
14- #include "../libc /function.h"
13+ #include "../kklibc/stdlib .h"
14+ #include "../kklibc /function.h"
1515#include "../kernel/kernel.h"
16- #include "../libc/stdio.h"
1716
1817#define BACKSPACE 0x0E
1918#define ENTER 0x1C
Original file line number Diff line number Diff line change 55* Description: null
66* ----------------------------------------------------------------------------*/
77
8- #include "../cpu/type .h"
8+ #include "../kklibc/ctypes .h"
99
1010void init_keyboard ();
Original file line number Diff line number Diff line change 99* Description: null
1010* ----------------------------------------------------------------------------*/
1111
12+ #include "../kklibc/ctypes.h"
1213#include "screen.h"
13- #include "../cpu/ports.h"
14- #include "../libc/mem.h"
1514#include "lowlevel_io.h"
16- #include "../libc/string .h"
15+ #include "../kklibc/stdlib .h"
1716
1817/* Декларирования частных функций */
1918void set_cursor_offset (int offset );
Original file line number Diff line number Diff line change 3535#define SCREEN_H
3636
3737// Подключаем типы из CPU
38- #include "../cpu/type .h"
38+ #include "../kklibc/ctypes .h"
3939
4040#define VIDEO_ADDRESS 0xb8000 // Видео-адрес
4141#define MAX_ROWS 25 // Максимальное кол-во линий
Original file line number Diff line number Diff line change 66* ----------------------------------------------------------------------------*/
77
88
9- #include "../libc/mem.h"
109#include "../cpu/isr.h"
1110#include "../drivers/screen.h"
1211#include "kernel.h"
1312#include "utils.h"
14- #include "../libc/stdio.h"
15- #include "../libc/mem.h"
16- #include "../libc/string.h"
13+ #include "../kklibc/kklibc.h"
1714
1815int shell_cursor_offset = 0 ;
1916int shell_prompt_offset = 0 ;
Original file line number Diff line number Diff line change 77
88#include "utils.h"
99#include "../drivers/screen.h"
10- #include "../libc/mem.h"
11- #include "../libc/string.h"
10+ #include "../kklibc/kklibc.h"
1211#include "../cpu/ports.h"
13- #include "../libc/stdio.h"
1412
1513void print_freememaddr (char * * args ) {
1614 get_freememaddr ();
You can’t perform that action at this time.
0 commit comments