pal_debug.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. /* Copyright (C) 2014 Stony Brook University
  2. This file is part of Graphene Library OS.
  3. Graphene Library OS is free software: you can redistribute it and/or
  4. modify it under the terms of the GNU Lesser General Public License
  5. as published by the Free Software Foundation, either version 3 of the
  6. License, or (at your option) any later version.
  7. Graphene Library OS is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU Lesser General Public License for more details.
  11. You should have received a copy of the GNU Lesser General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  13. /*
  14. * pal_debug.h
  15. *
  16. * This file contains definitions of APIs used for debug purposes.
  17. */
  18. #ifndef PAL_DEBUG_H
  19. #define PAL_DEBUG_H
  20. #include "pal.h"
  21. int pal_printf (const char *fmt, ...) __attribute__((format(printf, 1, 2)));
  22. void DkDebugAttachBinary (PAL_STR uri, PAL_PTR start_addr);
  23. void DkDebugDetachBinary (PAL_PTR start_addr);
  24. #endif /* PAL_DEBUG_H */