|
|
1.1 ! root 1: ! 2: ! 3: i16_raw.c: ! 4: Provides a default implementation ! 5: of real/pmode switching code. ! 6: Assumes that, as far as it's concerned, ! 7: low linear address always map to physical addresses. ! 8: (The low linear mappings can be changed, ! 9: but must be changed back before switching back to real mode.) ! 10: ! 11: Provides: ! 12: i16_raw_switch_to_pmode() ! 13: i16_raw_switch_to_real_mode() ! 14: ! 15: i16_raw_start() ! 16: Called in real mode. ! 17: Initializes the pmode switching system, ! 18: switches to pmode for the first time, ! 19: and calls the 32-bit function raw_start(). ! 20: ! 21: Depends on: ! 22: ! 23: paging.h: ! 24: raw_paging_enable() ! 25: raw_paging_disable() ! 26: raw_paging_init() ! 27: ! 28: a20.h: ! 29: i16_enable_a20() ! 30: i16_disable_a20() ! 31: ! 32: real.h: ! 33: real_cs ! 34:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.