Rev 5369 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5369 | Rev 5552 | ||
---|---|---|---|
Line 52... | Line 52... | ||
52 | int out_size; |
52 | int out_size; |
53 | }ioctl_t; |
53 | }ioctl_t; |
Line 54... | Line 54... | ||
54 | 54 | ||
55 | 55 | ||
56 | static inline |
56 | static inline |
57 | void DefineButton(uint32_t x_w, uint32_t y_h, uint32_t id, uint32_t color) |
57 | void define_button(uint32_t x_w, uint32_t y_h, uint32_t id, uint32_t color) |
58 | { |
58 | { |
59 | __asm__ __volatile__( |
59 | __asm__ __volatile__( |
60 | "int $0x40" |
60 | "int $0x40" |
61 | ::"a"(8), |
61 | ::"a"(8), |
62 | "b"(x_w), |
62 | "b"(x_w), |
63 | "c"(y_h), |
63 | "c"(y_h), |
64 | "d"(id), |
- | |
65 | "S"(color)); |
- | |
66 | 64 | "d"(id), |
|
- | 65 | "S"(color)); |
|
Line 67... | Line 66... | ||
67 | 66 | }; |
|
68 | }; |
67 | static inline void DefineButton(void) __attribute__ ((alias ("define_button"))); |
69 | 68 | ||
70 | static inline |
69 | static inline |