Changes
Page history
Fix layout in gitlab miglation
authored
Mar 31, 2019
by
Takenobu Tani
Show whitespace changes
Inline
Side-by-side
building/porting.md
View page @
317d5b26
...
...
@@ -307,36 +307,32 @@ tweaks in order to get a registerised build going.
The following files need architecture-specific code for a registerised
build:
<table><tr><th>
`includes/MachRegs.h`
</th>
<td>
-
**
`includes/MachRegs.h`
**
Defines the STG-register to machine-register
mapping. You need to know your platform's C calling
convention, and which registers are generally available
for mapping to global register variables. There are
plenty of useful comments in this file.
</td></tr></table>
<table><tr><th>
`includes/TailCalls.h`
</th>
<td>
-
**
`includes/TailCalls.h`
**
Macros that make proper tail-calls work.
</td></tr></table>
<table><tr><th>
`rts/Adjustor.c`
</th>
<td>
-
**
`rts/Adjustor.c`
**
Support for
`foreign import "wrapper"`
.
Not essential for getting GHC bootstrapped, so this file
can be deferred until later if necessary.
</td></tr></table>
<table><tr><th>
`rts/StgCRun.c`
</th>
<td>
-
**
`rts/StgCRun.c`
**
The little assembly layer between the C world and
the Haskell world. See the comments and code for the
other architectures in this file for pointers.
</td></tr></table>
<table><tr><th>
`rts/sm/MBlock.h`
,
`rts/sm/MBlock.c`
</th>
<td>
-
**
`rts/sm/MBlock.h`, `rts/sm/MBlock.c`
**
These files are really OS-specific rather than
architecture-specific. In
`MBlock.h`
is specified the absolute location at which the RTS
...
...
@@ -345,7 +341,6 @@ find an area which doesn't conflict with code or dynamic
libraries). In
`Mblock.c`
you might
need to tweak the call to
`mmap()`
for
your OS.
</td></tr></table>
## The splitter
...
...
...
...