summaryrefslogtreecommitdiffstats
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-04-20 00:12:48 +0200
committerSubv <subv2112@gmail.com>2016-05-07 17:18:47 +0200
commitd192fb066d0d03c217c434f99af0200f75936263 (patch)
tree08151ce1c1cb6f7c91a544e6126d493d71f9f6b8 /src/core/memory.h
parentMerge pull request #1685 from lioncash/hdr (diff)
downloadyuzu-d192fb066d0d03c217c434f99af0200f75936263.tar
yuzu-d192fb066d0d03c217c434f99af0200f75936263.tar.gz
yuzu-d192fb066d0d03c217c434f99af0200f75936263.tar.bz2
yuzu-d192fb066d0d03c217c434f99af0200f75936263.tar.lz
yuzu-d192fb066d0d03c217c434f99af0200f75936263.tar.xz
yuzu-d192fb066d0d03c217c434f99af0200f75936263.tar.zst
yuzu-d192fb066d0d03c217c434f99af0200f75936263.zip
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 5af72b7a7..8002e0c41 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -100,15 +100,9 @@ enum : VAddr {
SHARED_PAGE_SIZE = 0x00001000,
SHARED_PAGE_VADDR_END = SHARED_PAGE_VADDR + SHARED_PAGE_SIZE,
- // TODO(yuriks): The size of this area is dynamic, the kernel grows
- // it as more and more threads are created. For now we'll just use a
- // hardcoded value.
/// Area where TLS (Thread-Local Storage) buffers are allocated.
TLS_AREA_VADDR = 0x1FF82000,
TLS_ENTRY_SIZE = 0x200,
- TLS_AREA_SIZE = 300 * TLS_ENTRY_SIZE + 0x800, // Space for up to 300 threads + round to page size
- TLS_AREA_VADDR_END = TLS_AREA_VADDR + TLS_AREA_SIZE,
-
/// Equivalent to LINEAR_HEAP_VADDR, but expanded to cover the extra memory in the New 3DS.
NEW_LINEAR_HEAP_VADDR = 0x30000000,