Rev 3292 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3292 | Rev 3334 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | }cap1; |
62 | }cap1; |
63 | }; |
63 | }; |
64 | }hwcaps_t; |
64 | }hwcaps_t; |
65 | 65 | ||
Line 66... | Line -... | ||
66 | static inline uint32_t GetScreenSize() |
- | |
67 | { |
- | |
68 | uint32_t retval; |
- | |
69 | - | ||
70 | __asm__ __volatile__( |
- | |
71 | "int $0x40" |
- | |
72 | :"=a"(retval) |
- | |
73 | :"a"(61), "b"(1)); |
- | |
74 | return retval; |
- | |
75 | } |
- | |
76 | - | ||
77 | static uint32_t get_service(char *name) |
66 | static uint32_t get_service(char *name) |
78 | { |
67 | { |
79 | uint32_t retval = 0; |
68 | uint32_t retval = 0; |
80 | asm volatile ("int $0x40" |
69 | asm volatile ("int $0x40" |
81 | :"=a"(retval) |
70 | :"=a"(retval) |