cpu.h (b194e44785269c8884f17eac40aa80bada4c746a) | cpu.h (631b59664c9d8472d64c9c9c14b709dd40f07b16) |
---|---|
1/* 2 * S/390 virtual CPU header 3 * 4 * Copyright (c) 2009 Ulrich Hecht 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 678 unchanged lines hidden (view full) --- 687#ifndef CONFIG_USER_ONLY 688unsigned int s390_cpu_set_state(uint8_t cpu_state, S390CPU *cpu); 689#else 690static inline unsigned int s390_cpu_set_state(uint8_t cpu_state, S390CPU *cpu) 691{ 692 return 0; 693} 694#endif /* CONFIG_USER_ONLY */ | 1/* 2 * S/390 virtual CPU header 3 * 4 * Copyright (c) 2009 Ulrich Hecht 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 678 unchanged lines hidden (view full) --- 687#ifndef CONFIG_USER_ONLY 688unsigned int s390_cpu_set_state(uint8_t cpu_state, S390CPU *cpu); 689#else 690static inline unsigned int s390_cpu_set_state(uint8_t cpu_state, S390CPU *cpu) 691{ 692 return 0; 693} 694#endif /* CONFIG_USER_ONLY */ |
695static inline uint8_t s390_cpu_get_state(S390CPU *cpu) 696{ 697 return cpu->env.cpu_state; 698} |
|
695 696 697/* cpu_models.c */ 698void s390_cpu_list(FILE *f, fprintf_function cpu_fprintf); 699#define cpu_list s390_cpu_list 700void s390_set_qemu_cpu_model(uint16_t type, uint8_t gen, uint8_t ec_ga, 701 const S390FeatInit feat_init); 702 --- 49 unchanged lines hidden --- | 699 700 701/* cpu_models.c */ 702void s390_cpu_list(FILE *f, fprintf_function cpu_fprintf); 703#define cpu_list s390_cpu_list 704void s390_set_qemu_cpu_model(uint16_t type, uint8_t gen, uint8_t ec_ga, 705 const S390FeatInit feat_init); 706 --- 49 unchanged lines hidden --- |