Bootstrap3.c 419 B

1234567891011121314151617181920
  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. {
  7. /* check if the program is loaded */
  8. pal_printf("User Program Started\n");
  9. /* check control block */
  10. /* check executable name */
  11. pal_printf("Loaded Executable: %s\n", pal_control.executable);
  12. preload_func1();
  13. preload_func2();
  14. return 0;
  15. }