Mirror of CollapseOS
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

17 рядки
753B

  1. anatomy. First, we have constants. Some of them are device-
  2. specific, but some of them are always there. RAMSTART is the
  3. address at which the RAM starts on the system. System variables
  4. will go there and HERE will go after it.
  5. RS_ADDR is where RSP starts and PS_ADDR is where PSP starts.
  6. RSP and PSP are designed to be contiguous. RSP goes up and PSP
  7. goes down. If they meet, we know we have a stack overflow.
  8. Then, we load the assembler and cross compilation unit, which
  9. will be needed for the task ahead.
  10. Then, it's a matter of adding layer after layer. For most
  11. system, all those layers except the drivers will be added the
  12. same way. Drivers are a bit tricker and machine specific. I
  13. can't help you there, you'll have to use your wits. (cont.)