]> git.wh0rd.org Git - ICEs.git/blob - 152840/ice.i
initial import
[ICEs.git] / 152840 / ice.i
1 struct scatterlist {
2         void *page;
3         int offset;
4 };
5 void mmc_blk_issue_rq()
6 {
7         int blocks;
8         struct scatterlist sg;
9         void *buf = &blocks;
10         memset(&sg, 0, sizeof(sg));
11         sg.page = (unsigned long)buf - 0x80000000 >> 12;
12         sg.offset = (unsigned long)buf & 1 << 12;
13         if (blocks)
14                 foo();
15 }