Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ If you want a plain Mountlist entry instead, add one such as:
```text
CD0:
Handler = L:ODFileSystem
Stacksize = 8192
Stacksize = 16384
Priority = 5
GlobVec = -1
DosType = 0x43443031
Expand Down
2 changes: 1 addition & 1 deletion docs/mountlist.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

CD0:
Handler = L:ODFileSystem
Stacksize = 8192
Stacksize = 16384
Priority = 5
GlobVec = -1
DosType = 0x43443031
Expand Down
9 changes: 7 additions & 2 deletions platform/amiga/startup.S
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,13 @@
#define MEMF_PUBLIC 0x00000001
#define MEMF_CLEAR 0x00010000

#define MIN_STACK 4096
#define SWAP_STACK 8192
/*
* The handler's deep paths (directory traversal, name normalization) can use
* more stack than a mountlist typically grants. Guarantee a minimum by swapping
* to a private stack of this size when the supplied one is smaller.
*/
#define MIN_STACK 16384
#define SWAP_STACK 16384

_start:
_entrypoint:
Expand Down
Loading