Commit Graph

3389 Commits (2d8097eecca5730c84bd42d861fa2fe35adbc638)

Author SHA1 Message Date
Lectem a94fb932ff fix #1942 and adds a few IPC functions for descriptors 9 years ago
Anon e91327c86a Input GUI: Add tab to remap controls (#1900) 9 years ago
bunnei 47fcd68b01 Merge pull request #1950 from JamePeng/fix-apt-0x0055004-and-0x00560000
Correct APT::0x00550040 and APT::0x00560000 function
9 years ago
Henrik Rydgard 9a9e9dc375 Instead of segfaulting, log an error to remind the user to dump the shared font file 9 years ago
bunnei 5c743ddfa8 Merge pull request #1959 from MerryMage/revsh-upstream
dyncom: Fix translation of thumb REVSH
9 years ago
MerryMage 60c93ca3b5 dyncom: Fix translation of thumb REVSH 9 years ago
bunnei c523ff2a98 Merge pull request #1966 from dwhinham/info_plist_fix
CMake: Fix Info.plist template for citra_qt/OSX
9 years ago
Alexandre LittleWhite Laurent 7331b79021 Protection against a resize of size 0 9 years ago
wwylele d63a76f4ce CoreTiming: avoid overflow 9 years ago
wwylele 00c34e4df7 HLE: implement system time 9 years ago
Dale Whinham 78b97ee364 CMake: Fix Info.plist template for citra_qt/OSX
The Info.plist template incorrectly uses parentheses instead of curly braces,
which means that building the .app bundle using regular 'make' results in the
variable not being replaced, and hence the app bundle won't start because the
executable name is incorrect.

This commit fixes this issue.
9 years ago
JamePeng d5aa474788 Correct APT::0x00550040 and APT::0x00560000 function 9 years ago
bunnei f95d119dde Merge pull request #1890 from LFsWang/fix-encode-problem
Fix boot_filename encode on Windows
9 years ago
Yuri Kunde Schlesner ffda82eea5 Merge pull request #1894 from wwylele/set-config-block
Implement config savegame editing & clean up
9 years ago
wwylele ec3e99eec7 Qt: add system settings config tab 9 years ago
bunnei 6fa7b1f486 Merge pull request #1940 from JamePeng/fix-archive-error-code
Fix the errorcode of archive handle
9 years ago
Sebastian Valle ff2d1a2b74 Merge pull request #1921 from Subv/fs_funcs
HLE/FS: Document some command parameters and implemented command 0x08560240
9 years ago
JamePeng f87bb8ba0a Fix the errorcode of archive handle 9 years ago
mailwl e06f2705f0 HLE/Applets: Implement ErrEula applet 9 years ago
Subv 8752f07e8e HLE/FS: Document some command parameters and implemented command 0x08560240 (CreateLegacySystemSaveData) 9 years ago
Sebastian Valle b48b8ed5e5 Merge pull request #1935 from wwylele/fix-result-module
Result: Update the ErrorModule enum
9 years ago
wwylele ab2eef396a Service::CFG/FS: add and refactor out utilities for front-end 9 years ago
wwylele 457b6413e6 Service::CFG: move known block ID to an enum 9 years ago
wwylele 324c8d21a4 Service::CFG: add SetConfigInfoBlk4 9 years ago
Yuri Kunde Schlesner 45c91bf87b Merge pull request #1933 from yuriks/scissor
PICA: Implement scissor test
9 years ago
wwylele f00e8d4b2b Service::CFG: add missing language 9 years ago
wwylele 3687a805ec Service::CFG: name sound output modes 9 years ago
wwylele e023a4cfd0 Result: fix and update ErrorModule 9 years ago
Yuri Kunde Schlesner de79b6fc48 Merge pull request #1869 from wwylele/dont-be-lazy
Switch context to the same thread if necessary
9 years ago
bunnei 87c07643ff Merge pull request #1867 from mailwl/srv-update
srv: Update according 3dbrew
9 years ago
Yuri Kunde Schlesner ecf6ecf325 OpenGL: Add scaled resolution support to scissor 9 years ago
Yuri Kunde Schlesner f0b9bc14b6 PICA: Scissor fixes and cleanups 9 years ago
Subv f9be06b15f PICA: Implement scissor test 9 years ago
scurest 0f9274fe24 Remove superfluous std::move in return std::move(local_var) 9 years ago
bunnei 4d31874c7c Merge pull request #1923 from yuriks/fix-recursive
Fix recursive scanning of directories
9 years ago
Yuri Kunde Schlesner d6792632f0 Fix recursive scanning of directories
ForeachDirectoryEntry didn't actually do anything with the `recursive`
parameter, and the corresponding callback parameter was shadowing the
actual recursion counters in the user functions.
9 years ago
Yuri Kunde Schlesner c52754e79a Qt: Fix MicroProfile dpi scaling 9 years ago
bunnei 8f86cc4df9 Merge pull request #1877 from wwylele/wait-fix-timeout
Thread: update timeout when reruning WaitSynch
9 years ago
bunnei 251457b9d5 Merge pull request #1898 from archshift/interpreter-split-take2
Refactor arm_dyncom_interpreter into several files (take 2)
9 years ago
bunnei 7d2d6e5f78 Merge pull request #1875 from JayFoxRox/fog
Implement standard fog (fog mode 5)
9 years ago
archshift ca20b1f87d Make arm_dyncom_trans* into a fully fledged compilation unit 9 years ago
archshift 54b5178f6c arm_dyncom_interpreter: slightly change AllocBuffer to be intuitive 9 years ago
bunnei 78f2b85fe6 Merge pull request #1842 from Subv/ports
Kernel: Added ClientPort and ServerPort classes, along with svcCreatePort.
9 years ago
Subv 7b445ddff0 Kernel/SVC: Implemented svcCreatePort. 9 years ago
wwylele 43183db51f hid: add missing header 9 years ago
Mat M 0c56c9f541 Merge pull request #1897 from linkmauve/sdl2-config-fix
SDL2: Add forgotten default config changes from 7129611e65
9 years ago
bunnei f99961581e Merge pull request #1789 from wwylele/input-refactor
Refactor input mapping & implement circle pad modifier
9 years ago
archshift 765eef3319 arm_dyncom_interpreter: Add specialized GetAddressingOpLoadStoreT func
This allows us to get the addressing operation for STRT, LDRT, STRBT,
and LDRBT. We do this so that translation functions don't need to
see the addressing ops directly.
9 years ago
archshift eac4c016cb arm_dyncom_interpreter: rename operation functions to fit style guide 9 years ago
archshift 5297f5dfc9 arm_dyncom_interpreter: Rename anonymous enum to TransExtData 9 years ago
archshift 2c482722e7 arm_dyncom_interpreter.cpp: #include translation info from inc files 9 years ago
Emmanuel Gil Peyrot a251b323a0 SDL2: Add forgotten default config changes from 7129611e65. 9 years ago
archshift 0637dd93b5 Revert "Split huge interpreter source file into translation info and interpreter (+ some tiny misc style fixes)" 9 years ago
archshift a371744575 arm_dyncom_interpreter: rename operation functions to fit style guide 9 years ago
archshift c7ffd8a920 arm_dyncom_interpreter.cpp: Split by translation and interpreter logic
To facilitate the split, some small changes were made to names of
various structures and functions.
9 years ago
shinyquagsire23 c6f87f7e2c gdbstub: E0 should be E00 9 years ago
LFsWang f9e3824820 Fix boot_filename encode on Windows 9 years ago
bunnei 98b1436b8b Merge pull request #1765 from JayFoxRox/debug-surface-viewer
Debugger: Pica surface viewer
9 years ago
Jannik Vogel a12571c709 OpenGL: Implement fog 9 years ago
Jannik Vogel ebee2513a9 Rasterizer: Implement fog 9 years ago
Jannik Vogel 57855a1701 Pica: Add fog state 9 years ago
Jannik Vogel c900c092e3 OpenGL: Avoid undefined behaviour for UNIFORM_BLOCK_DATA_SIZE 9 years ago
bunnei e08fcb0df4 Merge pull request #1873 from archshift/remove-config
Remove unused and bitrotted "controller config" files
9 years ago
Subv 3d9fbffbab Kernel: Added ClientPort and ServerPort classes.
This is part of an ongoing effort to implement support for multiple processes.
9 years ago
Lioncash 64b6a7c006 service: Add other DLP services
Specifically, dlp::CLNT and dlp::FKCL

Moves them to their own folder like with other services.
9 years ago
wwylele 7d56e88369 Thread: update timeout when rerunning WaitSynch 9 years ago
bunnei 8df4283b19 Merge pull request #1863 from mailwl/gpu-threadid-reset
gsp::gpu: Reset g_thread_id in UnregisterInterruptRelayQueue
9 years ago
archshift 3a4a424b70 Remove unused and bitrotted "controller config" files 9 years ago
mailwl 07cc781163 gsp::gpu: Reset g_thread_id in UnregisterInterruptRelayQueue 9 years ago
LFsWang d24d047d45 AddFstEntriesToGameList - prevent loading a directory 9 years ago
bunnei 552018c50a Merge pull request #1812 from JayFoxRox/refactor-shader
Retrieve shader result from new OutputRegisters-type
9 years ago
mailwl e85b22320a Fix parameter name in EnableNotification 9 years ago
mailwl eea08f281d Fix mistakes, add output header codes 9 years ago
mailwl eb231cb19d remove ugly function 9 years ago
mailwl dc338ccecf srv: Update according 3dbrew 9 years ago
bunnei 08e09184df Merge pull request #1751 from linkmauve/no-recursive-readdir
Make recursive FileUtil functions take a maximum recursion
9 years ago
wwylele 81d3462a19 Switch context on the same thread if necessary 9 years ago
bunnei ab4b27f0f5 Merge pull request #1692 from Subv/rm_getpointer2
Memory: Remove most usages of GetPointer
9 years ago
bunnei 1104913a8f Merge pull request #1756 from wwylele/config-cleanup
Config block: clean up
9 years ago
Subv 0aef634a54 Memory: Handle RasterizerCachedMemory and RasterizerCachedSpecial page types in the memory block manipulation functions. 9 years ago
Subv 660499ac01 Memory: Make ReadBlock and WriteBlock accept void pointers. 9 years ago
Subv 99695d03d2 SOC_U: Remove usage of GetPointer 9 years ago
MerryMage 59b268de35 SSL_C: Remove use of Memory::GetPointer 9 years ago
MerryMage 5f33d2cf07 GSP_GPU: Remove use of Memory::GetPointer 9 years ago
MerryMage 31d49e0109 Memory: CopyBlock 9 years ago
MerryMage e936f5952c DSP_DSP: Remove use of Memory::GetPointer 9 years ago
MerryMage 896e5009ae FS/Archive: Remove use of Memory::GetPointer 9 years ago
bunnei a2c84d5779 Merge pull request #1857 from MerryMage/rotr-rotl
common_funcs: Provide rotr and rotl for MSVC
9 years ago
MerryMage 8e1768cf1d common_funcs: Provide rotr and rotl for MSVC 9 years ago
Mat M 031a9c57bb Merge pull request #1568 from JayFoxRox/fix-printf
Fix ftoi and disable VFPv3
9 years ago
bunnei 859c36c269 Merge pull request #1810 from JayFoxRox/fix-float-exceptions
Fix float exceptions
9 years ago
bunnei 201a7af92a Merge pull request #1846 from JayFoxRox/missing-dirty-lighting
OpenGL: Set shader_dirty on lighting changes
9 years ago
Mat M ade0889519 Merge pull request #1855 from MerryMage/memory-headers-20160526
Memory: Added necessary headers and removed unnecessary header
9 years ago
MerryMage 80abe6eb08 Memory: Added necessary headers and removed unnecessary header 9 years ago
bunnei f50a32bfce Merge pull request #1817 from linkmauve/smdh-stuff
Improve SMDH support in loaders and frontends
9 years ago
bunnei c106f71beb New3DS: Minor style cleanup to #1520. 9 years ago
bunnei 2e5e7d9be0 Merge pull request #1520 from JamePeng/checknew3ds
Implement CheckNew3DS and CheckNew3DSApp
9 years ago
bunnei a316fbb15a Merge pull request #1733 from lioncash/vert_loader
VertexLoader: Minor changes
9 years ago
Jannik Vogel 6a28f46844 OpenGL: Set shader_dirty on lighting changes 9 years ago
Jannik Vogel 30a01584f2 Pica: Name LightSrc.config register 9 years ago
Jannik Vogel 8e905b3af6 Pica: Name lighting.config0 and .config1 registers 9 years ago
Jannik Vogel 068bd6f728 OpenGL: Use uniforms for dist_atten_bias and dist_atten_scale 9 years ago
bunnei e054e55ca2 Merge pull request #1837 from wwylele/sync-trap
SVC::WaitSynchronizationN: Reschedule at the end
9 years ago
Emmanuel Gil Peyrot 080a2d719c Loader: Split SMDH into its own header and import helpers from QGameList
Also rewrite Qt wrappers to use those.
9 years ago
MerryMage 64068583fb CFG: Remove use of Memory::GetPointer 9 years ago
MerryMage fddd243b17 APT: Remove use of Memory::GetPointer 9 years ago
MerryMage 1ebaaf9bb1 Kernel/Thread: Remove use of Memory::GetPointer 9 years ago
MerryMage aa84cab4e9 Applets/swkdb: Remove use of Memory::GetPointer 9 years ago
MerryMage ca17df5757 Memory: ZeroBlock 9 years ago
MerryMage 2be17a0c6e FileSys/Path: Replace Memory::GetPointer with Memory::ReadBlock 9 years ago
MerryMage b3b3dd7591 Debugger/Callstack: Replace Memory::GetPointer with Memory::IsValidVirtualAddress 9 years ago
MerryMage 3873b36db3 Memory: ReadBlock/WriteBlock 9 years ago
MerryMage c084fc824c Memory: IsValidVirtualAddress/IsValidPhysicalAddress 9 years ago
Emmanuel Gil Peyrot 314ce5e505 CitraQt: Simplify the game list loader code 9 years ago
Emmanuel Gil Peyrot 9a35d1fb4a Loader: Add a GetFileType method to get the type of a loaded file 9 years ago
Emmanuel Gil Peyrot 8fc9c03126 Loader, Frontends: Refactor loader creation and game loading
This allows frontends to keep a single loader and use it multiple times
e.g. for code loading and SMDH parsing.
9 years ago
Emmanuel Gil Peyrot 8ab6f26c09 Common: Make recursive FileUtil functions take a maximum recursion
Fixes #1115.

Also improves the performances of DiskArchive’s directory
implementation a lot, simply by not going through the entire tree
instead of just listing the first level files.

Thanks to JayRoxFox for rebasing this on current master!
9 years ago
wwylele 86ea7995ad SVC::WaitSynchronizationN: Reschedule at the end 9 years ago
bunnei 5edff287b6 Merge pull request #1564 from MerryMage/this-is-only-a-test
tests: Infrastructure for unit tests
9 years ago
Jannik Vogel d77279a415 Refactor Tev stage dumper 9 years ago
Jannik Vogel 324c21c922 Extend Tev stage dumper 9 years ago
James Rowe 98923ab6e5 Config: Restore previously selected audio sink option (#1824) 9 years ago
bunnei af258584d9 Merge pull request #1797 from MerryMage/audio-mixer
DSP/HLE: Implement mixer processing
9 years ago
MerryMage 87de1ca968 Tests: Run tests on CI 9 years ago
MerryMage a03f9b6fb6 tests: Infrastructure for unit tests 9 years ago
MerryMage f4d364a60e DSP/HLE: Audio output 9 years ago
MerryMage 6542c60602 DSP/HLE: Implement mixer processing 9 years ago
bunnei d895bc1543 Merge pull request #1785 from MerryMage/mp-dpi
Microprofile: DPI-aware drawing
9 years ago
Maribel d014873916 Config: Audio sink configuration (#1798) 9 years ago
Jannik Vogel edf30d84cc Remove `exceptions` parameter from `normaliseround` VFP functions 9 years ago
Jannik Vogel 693cca8f1f Fix exception propagation for VFP single precision 9 years ago
Jannik Vogel 7dde13f875 Fix exception propagation for VFP double precision 9 years ago
Jannik Vogel 3a45eacb16 Fix read-after-write in SMUAD, SMLAD, SMUSD, SMLSD 9 years ago
András Domonkos 960297e577 Update ACT:U and create ACT:A (#1809)
* Update ACT_U
* Create act_a.h
* Create act_a.cpp
* Add service ACT:A
* Add ACT:A source and header
* Fix wrong header
9 years ago
bunnei a39144050b Merge pull request #1800 from JayFoxRox/set-fpscr
Set fpscr for new threads
9 years ago
Jannik Vogel af37dd0d52 Set fpscr for new threads 9 years ago
bunnei e5599ed300 Merge pull request #1786 from JayFoxRox/blend-equation
OpenGL: Support blend equation
9 years ago
Jannik Vogel ff0fa86b17 Retrieve shader result from new OutputRegisters-type 9 years ago
linkmauve f40fabd688 Merge pull request #1787 from JayFoxRox/refactor-jit
Refactor JIT
9 years ago
Jannik Vogel 501d0bc5ed Fix ftoi behaviour 9 years ago
Jannik Vogel 6fe0cb671d Respect fpscr in ftoiz 9 years ago
Jannik Vogel 1643786c04 Disable VFP3 instructions 9 years ago
bunnei bd9ac24631 Merge pull request #1792 from JayFoxRox/avoid-uninitialised
Avoid uninitialised in hw renderer + Only sync depth if necessary
9 years ago
Maribel 5c8beca792 DSP_DSP: Remove GetHeadphoneStatus logspam (#1799) 9 years ago
wwylele 6cccdcacd2 fixup! fixup! Refactor input system 9 years ago
wwylele 6d49e4621c fixup! Refactor input system 9 years ago
wwylele 416faa20d1 implement circle pad modifier 9 years ago
wwylele 03631f9b8f Refactor input subsystem 9 years ago
Maribel 6f6af6928f AudioCore: Implement time stretcher (#1737)
* AudioCore: Implement time stretcher

* fixup! AudioCore: Implement time stretcher

* fixup! fixup! AudioCore: Implement time stretcher

* fixup! fixup! fixup! AudioCore: Implement time stretcher

* fixup! fixup! fixup! fixup! AudioCore: Implement time stretcher

* fixup! fixup! fixup! fixup! fixup! AudioCore: Implement time stretcher
9 years ago
Subv 64da2bf0cd Memory: Fixed a regression caused by #1695 and #1689.
Reserve enough space in the vector that holds the linear heap memory to prevent relocations of the backing memory when growing too much.

Closes #1790
9 years ago
Jannik Vogel 5389dedfa1 OpenGL: Only update depth uniforms if the depth changed 9 years ago
Jannik Vogel f8a11a664f OpenGL: value-initialize variables which cause uninitialised access otherwise 9 years ago
bunnei 18b517e236 Merge pull request #1689 from Subv/shmem
Kernel: Implemented shared memory.
9 years ago
Jannik Vogel 1308afe2c2 Use new shader-jit signature for interpreter 9 years ago
Jannik Vogel 4e01e9ffc5 Refactor access to state in shader-jit 9 years ago
bunnei 0d8bd3ba36 Merge pull request #1695 from Subv/tls_alloc
Kernel/Threads: Dynamically allocate the TLS region for threads.
9 years ago
Subv ac2de12ed8 HLE/Applets: Give each applet its own block of heap memory, and use that when creating the framebuffer shared memory block. 9 years ago
Subv d261984f54 Kernel: Account for automatically-allocated shared memories in the amount of used linear heap memory. 9 years ago
Subv abf8dcd700 APT: Move the shared font loading and relocation functions to their own subdirectory services/apt/bcfnt. 9 years ago
Subv 5679d066b5 Kernel/SharedMemory: Log an error when Map fails. 9 years ago
Subv 0fb6d2a247 Kernel: Implemented shared memory permissions. 9 years ago
Subv 9005cda664 APT: Implement relocating the shared font to its true address. 9 years ago
Subv f72bd57212 Kernel/Memory: Remove the Shared Memory region from the legacy memory map. 9 years ago
Subv 1bd0cf542f Kernel/SharedMemory: Properly implemented shared memory support.
Applications can request the kernel to allocate a piece of the linear heap for them when creating a shared memory object.
Shared memory areas are now properly mapped into the target processes when calling svcMapMemoryBlock.

Removed the APT Shared Font hack as it is no longer needed.
9 years ago
Subv 42a50da76b Kernel/SVC: Fixed the register order for svcCreateMemoryBlock.
R0 is used as the last parameter instead of R4.
9 years ago
Jannik Vogel 5864cb7e00 OpenGL: Support blend equation 9 years ago
MerryMage 9b4187974b Microprofile: DPI-aware drawing 9 years ago
Jannik Vogel 7e756faaba Move program_counter and call_stack from UnitState to interpreter 9 years ago
Jannik Vogel 6c6d99ca51 Move default_attributes into Pica state 9 years ago
bunnei f6eb62d062 Merge pull request #1690 from JayFoxRox/tex-type-3
Pica: Implement texture type 3 (Projection2D)
9 years ago
Jannik Vogel ae7a82fa1c Turn ShaderSetup into struct 9 years ago
Jannik Vogel 5a7306d6df OpenGL: Implement texture type 3 9 years ago
Jannik Vogel 4311297eb1 Rasterizer: Implement texture type 3 9 years ago
Jannik Vogel 2f8e8e1455 Pica: Add tc0.w to OutputVertex 9 years ago
Jannik Vogel 9cfebb9334 Pica: Add texture type to state 9 years ago
bunnei 86ecbdfa4d Merge pull request #1621 from JayFoxRox/w-buffer
Implement W-buffer and fix depth-mapping
9 years ago
bunnei feecc76333 Merge pull request #1774 from lioncash/warn
gdbstub: Silence missing prototype warnings
9 years ago
Lioncash 75e5d0a6a0 gl_rasterizer: Fix compilation for debug builds 9 years ago
Lioncash 0a52e1f587 gdbstub: Silence missing prototype warnings 9 years ago
Jannik Vogel fc9cc21024 OpenGL: Implement W-Buffers and fix depth-mapping 9 years ago
Jannik Vogel 4c98113b57 Pica: Implement W-Buffer in SW rasterizer 9 years ago
linkmauve 006fe5fc0f Merge pull request #1704 from JayFoxRox/pod-config
Pica: PicaShaderConfig is TC and cleared before use
9 years ago
bunnei 976bacf5f7 Merge pull request #1771 from lioncash/user
dyncom: Reset the context into user mode correctly
9 years ago
Lioncash 0f941d0245 dyncom: Reset the context into user mode correctly
The other mode was system mode.
9 years ago
Lioncash da2400a601 source: Fix missing logging arguments
Silences two warnings on OSX.
9 years ago
Lioncash d5b983a8c0 swap: Get rid of pointer casting for swapping structs
These shouldn't haphazardly convert types
9 years ago
Lioncash 47ca79ba4b swap: Get rid of undefined behavior in swapf and swapd
This isn't well-defined in C++.
9 years ago
Lioncash aef4630102 swap: Remove unused methods
Also gets rid of pointer data variants as this prevents the use of
the regular swapping routines as unary predicates in std lib functions.

They also cast to stricter alignment types, which is undefined behavior.
9 years ago
Lioncash 6d5f2a3cff vertex_loader: Correct forward declaration of InputVertex
It's actually a struct, not a class.
9 years ago
Lioncash 5587383eb7 vertex_loader: Provide an assertion for ensuring the loader has been setup
Also adds an assert to ensure that Setup is not called more than once
during a VertexLoader's lifetime.
9 years ago
Lioncash 1357724cd9 vertex_loader: Add constructors to facilitate immediate and two-step initialization 9 years ago
Lioncash 769f4a7018 vertex_loader: initialize_num_total_attributes.
Keeps the public API sane.
9 years ago
Lioncash 8ea5e7dfb5 vertex_loader: Use std::array instead of raw C arrays 9 years ago
Lioncash a286b61f75 vertex_loader: Correct header ordering 9 years ago
bunnei 282a2ad539 Merge pull request #1766 from Subv/log_cpu
Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1)
9 years ago
bunnei 6abc6003f5 Merge pull request #1718 from alex-laties/fixup-type-conversions
fixup simple type conversions where possible
9 years ago
bunnei 8e9b33a34a Merge pull request #1761 from Subv/applets_fb
HLE/Applets: Use the correct size for the framebuffer SharedMemory
9 years ago
Alexander Laties 0a31e373f1 fixup simple type conversions where possible 9 years ago
Subv 5b7f86708c Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1).
We do not currently implement any cores other than the AppCore (Core 0).
9 years ago
Subv d192fb066d Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE region of the linear heap.
Each thread gets a 0x200-byte area from the 0x1000-sized page, when all 8 thread slots in a single page are used up, the kernel allocates a new page to hold another 8 entries.

This is consistent with what the real kernel does.
9 years ago