Rev 3114 | Rev 3336 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3114 | Rev 3306 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | char *rezult_text[]={ |
16 | char *rezult_text[]={ |
17 | "operation compleated successfully", |
17 | "operation compleated successfully", |
18 | "unknown IOCTL code, wrong input/output size...", |
18 | "unknown IOCTL code, wrong input/output size...", |
19 | "DiskId must be from 0 to 9", |
19 | "DiskId must be from 0 to 9", |
20 | "DiskSize is too large", |
20 | "DiskSize is too large", |
21 | "DiskSize is too small", |
21 | "DiskSize is too small, may be too less free RAM", |
22 | "memory allocation failed", |
22 | "memory allocation failed", |
23 | "unknown error O_o", |
23 | "unknown error O_o", |
24 | 0}; |
24 | 0}; |
25 | //#endif |
25 | //#endif |
Line 26... | Line 26... | ||
26 | 26 | ||
27 | void Console_Work() |
27 | char Console_Work() |
28 | { |
28 | { |
29 | unsigned int disk_size, driver_rezult; |
29 | unsigned int disk_size, driver_rezult; |
Line 30... | Line 30... | ||
30 | char size_t[256]; |
30 | char size_t[256]; |
Line 79... | Line 79... | ||
79 | ExitProcess(); |
79 | ExitProcess(); |
80 | } |
80 | } |
Line 81... | Line 81... | ||
81 | 81 | ||
82 | driver_rezult = RuleDriver(#ioctl); |
82 | driver_rezult = RuleDriver(#ioctl); |
- | 83 | if (driver_rezult<7) debug(rezult_text[driver_rezult]); |
|
83 | if (driver_rezult<7) debug(rezult_text[driver_rezult]); |
84 | return driver_rezult; |