Added time RTC library

This commit is contained in:
Cetica Marco
2021-01-02 17:49:15 +01:00
parent 5880c473fc
commit 21f017f13c
29 changed files with 157 additions and 67 deletions

View File

@@ -1,7 +1,7 @@
/**************************************
* iceOS Kernel *
* VulcanOS Kernel *
* Developed by Marco 'icebit' Cetica *
* (c) 2019 *
* (c) 2019-2021 *
* Released under GPLv3 *
* https://github.com/ice-bit/iceOS *
***************************************/
@@ -81,4 +81,4 @@ void close_fs(fs_node_t *node);
struct dirent *readdir_fs(fs_node_t *node, uint32_t index);
fs_node_t *finddir_fs(fs_node_t *node, char *name);
#endif
#endif

View File

@@ -1,7 +1,7 @@
/**************************************
* iceOS Kernel *
* VulcanOS Kernel *
* Developed by Marco 'icebit' Cetica *
* (c) 2019 *
* (c) 2019-2021 *
* Released under GPLv3 *
* https://github.com/ice-bit/iceOS *
***************************************/

View File

@@ -1,7 +1,7 @@
/**************************************
* iceOS Kernel *
* VulcanOS Kernel *
* Developed by Marco 'icebit' Cetica *
* (c) 2019 *
* (c) 2019-2021 *
* Released under GPLv3 *
* https://github.com/ice-bit/iceOS *
***************************************/
@@ -141,4 +141,4 @@ extern void irq13();
extern void irq14();
extern void irq15();
#endif
#endif

View File

@@ -1,3 +1,10 @@
/**************************************
* VulcanOS Kernel *
* Developed by Marco 'icebit' Cetica *
* (c) 2019-2021 *
* Released under GPLv3 *
* https://github.com/ice-bit/iceOS *
***************************************/
#ifndef INITRD_H
#define INITRD_H
/* Ramdisk is a file system that is loaded along with the kernel
@@ -26,4 +33,4 @@ static uint32_t initrd_read(fs_node_t *node, uint32_t offset, uint32_t size, uin
static struct dirent *initrd_readdir(fs_node_t *node, uint32_t index);
static fs_node_t *initrd_finddir(fs_node_t *node, uint8_t *name);
#endif
#endif

View File

@@ -1,7 +1,7 @@
/**************************************
* iceOS Kernel *
* VulcanOS Kernel *
* Developed by Marco 'icebit' Cetica *
* (c) 2019 *
* (c) 2019-2021 *
* Released under GPLv3 *
* https://github.com/ice-bit/iceOS *
***************************************/

View File

@@ -17,7 +17,7 @@
#include "isr.h"
#include "ports.h"
#include "tty.h"
#include "../shell/shell.h"
#include "../userspace/shell.h"
#include "../libc/stdio.h"
static void keyboard_callback();
@@ -115,4 +115,4 @@ static void keyboard_callback() {
void init_keyboard() {
register_interrupt_handler(IRQ1, &keyboard_callback);
}
}

View File

@@ -1,7 +1,7 @@
/**************************************
* iceOS Kernel *
* VulcanOS Kernel *
* Developed by Marco 'icebit' Cetica *
* (c) 2019 *
* (c) 2019-2021 *
* Released under GPLv3 *
* https://github.com/ice-bit/iceOS *
***************************************/
@@ -14,4 +14,4 @@
void init_keyboard();
#endif
#endif

View File

@@ -1,3 +1,10 @@
/**************************************
* VulcanOS Kernel *
* Developed by Marco 'icebit' Cetica *
* (c) 2019-2021 *
* Released under GPLv3 *
* https://github.com/ice-bit/iceOS *
***************************************/
#ifndef _PORTS_H
#define _PORTS_H
@@ -17,4 +24,4 @@ void outb(uint16_t port, uint16_t data);
uint8_t inb(uint16_t port);
#endif
#endif

View File

@@ -1,7 +1,7 @@
/**************************************
* iceOS Kernel *
* VulcanOS Kernel *
* Developed by Marco 'icebit' Cetica *
* (c) 2019 *
* (c) 2019-2021 *
* Released under GPLv3 *
* https://github.com/ice-bit/iceOS *
***************************************/

View File

@@ -1,11 +1,10 @@
/**************************************
* iceOS Kernel *
* VulcanOS Kernel *
* Developed by Marco 'icebit' Cetica *
* (c) 2019 *
* (c) 2019-2021 *
* Released under GPLv3 *
* https://github.com/ice-bit/iceOS *
***************************************/
#ifndef _TTY_H_
#define _TTY_H_