4 ms·
Malte here, I developed the bootcode. While I agree with you, it's about the minimum you can do in C/ASM land before starting up OCaml. The bootcode just init
by sl33k- 8y ago
Malte here, I developed the bootcode.
While I agree with you, it's about the minimum you can do in C/ASM land before starting up OCaml.
The bootcode just initializes the registers to zero, setups a trap handler and the stack and heap. This is impossible to do from OCaml as it does not allow direct register/memory access as a language feature.