SimpleOS

System layout and planning for the SimpleOS kernel and core libs.

Get Started. It's Free
or sign up with your email address
Rocket clouds
SimpleOS by Mind Map: SimpleOS

1. scrn.c

2. main.c

2.1. Defines

2.1.1. VERSION_MAJOR

2.1.1.1. 0

2.1.2. VERSION_MINOR

2.1.2.1. 1

2.1.3. VERSION_BUILD

2.1.3.1. "Build 1"

2.1.4. VERSION_TYPE

2.1.4.1. "Alpha Release"

2.1.5. COMPILE_DATE

2.1.5.1. 2009-12-25 11:30

2.2. Functions

2.2.1. int main(struct multiboot *mboot_ptr)

2.2.1.1. Main routine, should never return

3. string.c

3.1. Functions

3.1.1. int strcmp(char *str1, char *str2)

3.1.2. char *strcpy(char *dest, const char *src)

3.1.3. char *strcat(char *dest, const char *src)

3.1.4. int strlen(char *src)

3.1.5. int isspace(char c)

3.1.6. int isupper(char c)

3.1.7. int islower(char c)

3.1.8. int isdigit(char c)

3.1.9. int isalpha(char c)

4. common.c

4.1. Defines

4.1.1. Colors

4.1.1.1. COLOR_BLACK

4.1.1.2. COLOR_BLUE

4.1.1.3. COLOR_GREEN

4.1.1.4. COLOR_CYAN

4.1.1.5. COLOR_RED

4.1.1.6. COLOR_MAGENTA

4.1.1.7. COLOR_BROWN

4.1.1.8. COLOR_LTGRAY

4.1.1.9. COLOR_GRAY

4.1.1.10. COLOR_LTBLUE

4.1.1.11. COLOR_LTGREEN

4.1.1.12. COLOR_LTCYAN

4.1.1.13. COLOR_LTRED

4.1.1.14. COLOR_LTMAGENTA

4.1.1.15. COLOR_YELLOW

4.1.1.16. COLOR_WHITE

4.1.2. Special

4.1.2.1. TRUE

4.1.2.1.1. 1

4.1.2.2. FALSE

4.1.2.2.1. 0

4.1.2.3. NULL

4.1.2.3.1. 0

4.1.2.4. EMPTY

4.2. Types

4.2.1. uint

4.2.1.1. unsigned int

4.2.2. ushort

4.2.2.1. unsigned short

4.2.3. ulong

4.2.3.1. unsigned long

4.2.4. uchar

4.2.4.1. unsigned char

4.2.5. size_t

4.2.5.1. unsigned long

4.2.5.1.1. http://www.embedded.com/columns/programmingpointers/200900195

4.3. Functions

4.3.1. void outportb(ushort port, uchar value)

4.3.2. void outportw(ushort port, ushort value)

4.3.3. uchar inportb(ushort port)

4.3.4. ushort inportw(ushort port)

4.3.5. void *memcpy(void *dest, const void *src, size_t count)

4.3.6. void *memset(void *dest, char value, size_t count)

4.3.7. ushort *memsetw(ushort *dest, ushort value, size_t count)

4.3.8. void freeze()

4.3.9. extern void panic(const char *message, const char *file, uint line)

4.3.10. extern void panic_assert(const char *file, uint line, const char *desc)

5. Linker script

5.1. Entry point

5.1.1. start

5.2. Sections

5.2.1. text

5.2.2. data

5.2.2.1. rodata

5.2.3. bss

5.2.4. end

6. dt.c

7. isr.c

7.1. Globals

7.1.1. isr_t interrupt_handlers[256]

7.2. Functions

7.2.1. void register_interrupt_handler(uchar n, isr_t handler)

7.2.2. void isr_handler(registers_t regs)

7.2.3. void irq_handler(registers_t regs)

8. Headers

8.1. multiboot.h

8.1.1. Defines the Multiboot header used with GRUB

8.2. stdarg.h

8.2.1. Sets macros for variable arguments used with printf

8.2.2. Taken from GCC

8.2.2.1. Licenced under the GNU GPL 2

9. gdt.s

9.1. Globals

9.1.1. gtd_flush

9.1.2. idt_flush

10. interupt.s

10.1. Globals

10.1.1. isr[0-31]

10.1.2. irq[0-15]

10.2. Externals

10.2.1. isr_handler

10.2.2. irq_handler

11. boot.s

11.1. Globals

11.1.1. mboot

11.1.2. start

11.2. Externals

11.2.1. code

11.2.2. bss

11.2.3. end

11.2.4. main

11.2.4.1. Kernel entry point