Bootstrap3.c 414 B

12345678910111213141516171819
  1. #include "pal.h"
  2. #include "pal_debug.h"
  3. void preload_func1(void);
  4. void preload_func2(void);
  5. int main(int argc, char** argv, char** envp) {
  6. /* check if the program is loaded */
  7. pal_printf("User Program Started\n");
  8. /* check control block */
  9. /* check executable name */
  10. pal_printf("Loaded Executable: %s\n", pal_control.executable);
  11. preload_func1();
  12. preload_func2();
  13. return 0;
  14. }