#include <debug.h>
#include <stdint.h>
#include <stdbool.h>
#include "threads/loader.h"
Go to the source code of this file.
◆ BITMASK
| #define BITMASK |
( |
|
SHIFT, |
|
|
|
CNT |
|
) |
| (((1ul << (CNT)) - 1) << (SHIFT)) |
◆ is_kernel_vaddr
◆ is_user_vaddr
◆ KERN_BASE
◆ pg_no
◆ pg_ofs
◆ pg_round_down
◆ pg_round_up
◆ PGBITS
| #define PGBITS 12 /* Number of offset bits. */ |
◆ PGMASK
◆ PGSHIFT
| #define PGSHIFT 0 /* Index of first offset bit. */ |
◆ PGSIZE
| #define PGSIZE (1 << PGBITS) /* Bytes in a page. */ |
◆ ptov
◆ USER_STACK
| #define USER_STACK 0x47480000 |
◆ vtop
Value:({ \
})
unsigned long long int uint64_t
Definition: stdint.h:29
#define is_kernel_vaddr(vaddr)
Definition: vaddr.h:44
#define KERN_BASE
Definition: vaddr.h:35