Revision 5d739a47 pc-bios/s390-ccw/main.c
b/pc-bios/s390-ccw/main.c | ||
---|---|---|
10 | 10 |
|
11 | 11 |
#include "s390-ccw.h" |
12 | 12 |
|
13 |
struct subchannel_id blk_schid; |
|
14 | 13 |
char stack[PAGE_SIZE * 8] __attribute__((__aligned__(PAGE_SIZE))); |
15 | 14 |
uint64_t boot_value; |
16 | 15 |
|
... | ... | |
23 | 22 |
|
24 | 23 |
static void virtio_setup(uint64_t dev_info) |
25 | 24 |
{ |
25 |
struct subchannel_id blk_schid = { .one = 1 }; |
|
26 | 26 |
struct schib schib; |
27 | 27 |
int i; |
28 | 28 |
int r; |
29 | 29 |
bool found = false; |
30 | 30 |
bool check_devno = false; |
31 | 31 |
uint16_t dev_no = -1; |
32 |
blk_schid.one = 1; |
|
33 | 32 |
|
34 | 33 |
if (dev_info != -1) { |
35 | 34 |
check_devno = true; |
Also available in: Unified diff