Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
667B

  1. System variables
  2. There are some core variables in the core system that are
  3. referred to directly by their address in memory throughout the
  4. code. The place where they live is configurable by the SYSVARS
  5. constant in xcomp unit, but their relative offset is not. In
  6. fact, they're mostly referred to directly as their numerical
  7. offset along with a comment indicating what this offset refers
  8. to.
  9. This system is a bit fragile because every time we change those
  10. offsets, we have to be careful to adjust all system variables
  11. offsets, but thankfully, there aren't many system variables.
  12. Here's a list of them:
  13. (cont.)