Greg Hartman | 76d05dc | 2016-11-23 15:51:27 -0800 | [diff] [blame] | 1 | ; |
| 2 | ; extern.inc |
| 3 | ; |
| 4 | ; Prototypes for external functions |
| 5 | |
| 6 | %ifndef EXTERN_INC |
| 7 | %define EXTERN_INC |
| 8 | |
| 9 | ; rllpack.c |
| 10 | extern rllpack, rllunpack |
| 11 | |
| 12 | ; hello.c |
| 13 | extern hello |
| 14 | |
| 15 | ;abort.c |
| 16 | extern abort_load_new |
| 17 | |
| 18 | ; elflink/load_env32.c |
| 19 | extern load_env32, pm_env32_run |
| 20 | |
| 21 | ; memscan.c |
| 22 | extern highmem_init |
| 23 | |
| 24 | extern linux_kernel |
| 25 | |
| 26 | extern mp1, mp2, mp3, mp4, mp5 |
| 27 | |
| 28 | extern hexdump, mydump |
| 29 | |
| 30 | extern mem_init |
| 31 | |
| 32 | ; fs.c |
| 33 | extern pm_fs_init, pm_searchdir, getfssec, getfsbytes |
| 34 | extern pm_mangle_name, pm_load_config |
| 35 | extern pm_open_file, pm_close_file |
| 36 | extern SectorSize, SectorShift |
| 37 | |
| 38 | ; chdir.c |
| 39 | extern pm_realpath |
| 40 | |
| 41 | ; readdir.c |
| 42 | extern opendir, readdir, closedir |
| 43 | |
| 44 | ; newconfig.c |
| 45 | extern pm_is_config_file |
| 46 | |
| 47 | ; idle.c |
| 48 | extern __idle |
| 49 | |
| 50 | %ifdef DEBUG |
| 51 | ; debug.c |
| 52 | extern pm_debug_msg |
| 53 | |
| 54 | %macro dprint 1+ |
| 55 | push ax |
| 56 | call %%fwd |
| 57 | db %1 |
| 58 | db 0 |
| 59 | %%fwd: pop ax |
| 60 | pm_call pm_debug_msg |
| 61 | pop ax |
| 62 | %endmacro |
| 63 | %else |
| 64 | %macro dprint 1+ |
| 65 | %endmacro |
| 66 | %endif |
| 67 | |
| 68 | %if IS_PXELINUX |
| 69 | ; pxe.c |
| 70 | extern unload_pxe, reset_pxe, http_bake_cookies |
| 71 | %endif |
| 72 | |
| 73 | ; plaincon.c |
| 74 | extern pm_writechr |
| 75 | |
| 76 | ; cleanup.c |
| 77 | extern cleanup_hardware |
| 78 | |
| 79 | ; writestr.c |
| 80 | extern pm_writestr, crlf |
| 81 | |
| 82 | ; writehex.c |
| 83 | extern pm_writehex2, pm_writehex4, pm_writehex8 |
| 84 | |
| 85 | ; graphics.c |
| 86 | extern syslinux_force_text_mode, vgashowcursor, vgahidecursor, pm_using_vga |
| 87 | |
| 88 | ; conio.c |
| 89 | extern pm_pollchar, pm_write_serial, pm_serialcfg |
| 90 | |
| 91 | ; font.c |
| 92 | extern pm_getchar, pm_adjust_screen, pm_userfont |
| 93 | |
| 94 | ; localboot.c |
| 95 | extern pm_local_boot |
| 96 | |
| 97 | %endif ; EXTERN_INC |