sweb
sweb copied to clipboard
SWEB Educational OS
While this technically is not a bug in base sweb, when one wants to replace the user registers during a syscall this is an unnecessary pitfall.
Changed segment granularity for the TSS from page size to byte granularity. The I/O map base address in the TSS was set to 0 which made it possible for ring...
When rounding the size in MinixFSInode write to the next multiple of ZONE_SIZE, an integer overflow can occur. This results in the allocation of a too-small heap buffer and a...
#define debugPos() debug(DEBUG_COLOR,"flag at %s:%d \n",__FILE__,__LINE__); #define debugPosNum(pos) debug(DEBUG_COLOR,"flag Num %d at %s:%d \n",pos,__FILE__,__LINE__); #define debugPosTID() debug(DEBUG_COLOR,"flag TID %d at %s:%d \n",(int)currentThread->getTID(),__FILE__,__LINE__);
Compiler complains about undefined references to `__atomic_fetch_add_4`, `__atomic_fetch_sub_4` as well as `__sync_synchronize`
No timer interrupt (timer_irq) is issued on arm_rpi2. Tested on qemu version 2.12.0 (Ubuntu 18.10)
using these for the interrupt handlers could allow us to get rid of the last asm file. gcc 8 should support attribute((naked)) which would be perfect for us... attribute((interrupts)) should...
some students appear to confuse file descriptors with the class of the same name in the kernel. we want to avoid that.
There is an bug in the ATA/IDE Driver in combination with multiple harddrives: It seems that for new drives no PIO operation is possible (because no IRQ is fired). The...
most parts of the file system are thread safe because of locking on the lowest level and doing the rest on the stack.. however, the superblock can be modified and...