Files
multirom_m86/lib/mrom_data.h
Vojtech Bocek 30f5316b7b Reboot when trampoline can't mount /data on second boot
* On second boot, we have secondary ROM's kernel running and don't
  want to boot the primary ROM with it.
2015-03-06 21:05:23 +01:00

31 lines
975 B
C

/*
* This file is part of MultiROM.
*
* MultiROM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MultiROM is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with MultiROM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MROM_DATA_H
#define MROM_DATA_H
#define SECOND_BOOT_KMESG "MultiromSaysNextBootShouldBeSecondMagic108\n"
void mrom_set_dir(const char *mrom_dir);
void mrom_set_log_tag(const char *tag);
const char *mrom_log_tag(void);
const char *mrom_dir(void);
int mrom_is_second_boot(void);
#endif