mirror of
https://github.com/StepanovPlaton/OSin1000Lines.git
synced 2026-04-04 04:40:48 +04:00
User mode
This commit is contained in:
@@ -28,6 +28,10 @@ typedef uint32_t vaddr_t;
|
||||
|
||||
#define PAGE_SIZE 4096
|
||||
|
||||
#define USER_BASE 0x1000000
|
||||
|
||||
#define SSTATUS_SPIE (1 << 5)
|
||||
|
||||
void *memset(void *buf, char c, size_t n);
|
||||
void *memcpy(void *dst, const void *src, size_t n);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user