mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 09:48:29 +00:00
Remove IMAGE_BASE_VIRTUAL
This commit is contained in:
parent
8a0008d985
commit
20c77338e6
65 changed files with 10 additions and 286 deletions
|
@ -21,7 +21,6 @@
|
|||
#include "libc/fmt/itoa.h"
|
||||
#include "libc/intrin/cmpxchg.h"
|
||||
#include "libc/intrin/kprintf.h"
|
||||
#include "libc/intrin/nopl.internal.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/nexgen32e/stackframe.h"
|
||||
#include "libc/runtime/internal.h"
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#define COSMOPOLITAN_LIBC_RUNTIME_MEMTRACK_H_
|
||||
#include "ape/sections.internal.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/intrin/nopl.internal.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/nt/version.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
|
@ -61,14 +60,6 @@ void __release_memory_nt(struct MemoryIntervals *, int, int);
|
|||
int __untrack_memories(void *, size_t);
|
||||
size_t __get_memtrack_size(struct MemoryIntervals *);
|
||||
|
||||
#ifdef _NOPL0
|
||||
#define __mmi_lock() _NOPL0("__threadcalls", __mmi_lock)
|
||||
#define __mmi_unlock() _NOPL0("__threadcalls", __mmi_unlock)
|
||||
#else
|
||||
#define __mmi_lock() (__threaded ? __mmi_lock() : 0)
|
||||
#define __mmi_unlock() (__threaded ? __mmi_unlock() : 0)
|
||||
#endif
|
||||
|
||||
#ifdef __x86_64__
|
||||
/*
|
||||
* AMD64 has 48-bit signed pointers (PML4T)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue