setup.h 770 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef __ASMARC_SETUP_H
  9. #define __ASMARC_SETUP_H
  10. #include <linux/types.h>
  11. #define COMMAND_LINE_SIZE 256
  12. /*
  13. * Data structure to map a ID to string
  14. * Used a lot for bootup reporting of hardware diversity
  15. */
  16. struct id_to_str {
  17. int id;
  18. const char *str;
  19. };
  20. struct cpuinfo_data {
  21. struct id_to_str info;
  22. int up_range;
  23. };
  24. extern int root_mountflags, end_mem;
  25. extern int running_on_hw;
  26. void __init setup_processor(void);
  27. void __init setup_arch_memory(void);
  28. #endif /* __ASMARC_SETUP_H */