| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the idea behind kernel/include/progman.h was good but the implementation was
very not unix-like, so I made a new file under
kernel/include/process.h that will implement the same features
other changes:
- move usart register structs definitions outside of the device
- remove old build files
- delete boot.h and boot_loader.h (as they weren't used by anything)
- change on makefile to build binary with `makebin` instead of `xxd`
- new file memory.h to implement memory mapping and mmu control
- new type `uint` in types.h
|
|
|
|
|
|
| |
fix for bug in usart.c, in function usart_write() that checked the
trasmission_empty register at the wrong time causing it to overwrite
the buffer.
|
|
changes in usart:
- new functions to setup the serial comunication settings such as baudrate,
parity and stop bits
- init function with most common values
- transmit and receive functions each with a wrapper to send data blocks
changes in libc:
- new file stdio.c with basic implementation of putch, printf still a prototype
- new file string.c with memcpy() function
|