Fix broken SpinLock.

The SpinLock was all backwards and didn't actually work. Fixing it exposed
how wrong most of the locking here is.

I need to come up with a better granularity here.
This commit is contained in:
Andreas Kling 2018-10-29 21:54:11 +01:00
commit e6284a8774
Notes: sideshowbarker 2024-07-19 18:36:50 +09:00
24 changed files with 195 additions and 77 deletions

View file

@ -20,7 +20,7 @@ typedef struct
} PACKED allocation_t;
#define CHUNK_SIZE 128
#define POOL_SIZE (512 * 1024)
#define POOL_SIZE (1024 * 1024)
#define BASE_PHYS 0x200000