subcore.h 683 B

123456789101112131415161718
  1. /*
  2. * Copyright 2013, Michael Ellerman, IBM Corporation.
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version
  7. * 2 of the License, or (at your option) any later version.
  8. */
  9. /* These are ordered and tested with <= */
  10. #define SYNC_STEP_INITIAL 0
  11. #define SYNC_STEP_UNSPLIT 1 /* Set by secondary when it sees unsplit */
  12. #define SYNC_STEP_REAL_MODE 2 /* Set by secondary when in real mode */
  13. #define SYNC_STEP_FINISHED 3 /* Set by secondary when split/unsplit is done */
  14. #ifndef __ASSEMBLY__
  15. void split_core_secondary_loop(u8 *state);
  16. #endif