Changeset 965dc18 in mainline for kernel/genarch/include
- Timestamp:
- 2008-12-05T19:59:03Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 49093a4
- Parents:
- 0258e67
- Location:
- kernel/genarch/include
- Files:
-
- 3 edited
-
fb/fb.h (modified) (1 diff)
-
fb/visuals.h (modified) (1 diff)
-
ofw/ofw_tree.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/fb/fb.h
r0258e67 r965dc18 39 39 #include <synch/spinlock.h> 40 40 41 /** 42 * Properties of the framebuffer device. 43 */ 44 typedef struct fb_properties { 45 /** Physical address of the framebuffer device. */ 46 uintptr_t addr; 47 48 /** 49 * Address where the first (top left) pixel is mapped, 50 * relative to "addr". 51 */ 52 unsigned int offset; 53 54 /** Screen width in pixels. */ 55 unsigned int x; 56 57 /** Screen height in pixels. */ 58 unsigned int y; 59 60 /** Bytes per one scanline. */ 61 unsigned int scan; 62 63 /** Color model. */ 64 unsigned int visual; 65 } fb_properties_t; 66 41 67 SPINLOCK_EXTERN(fb_lock); 42 void fb_init( uintptr_t addr, unsigned int x, unsigned int y, unsigned int scan, unsigned int visual);68 void fb_init(fb_properties_t *props); 43 69 44 70 #endif -
kernel/genarch/include/fb/visuals.h
r0258e67 r965dc18 45 45 46 46 #define VISUAL_BGR_0_8_8_8 6 47 #define VISUAL_SB1500_PALETTE 7 47 48 48 49 #endif -
kernel/genarch/include/ofw/ofw_tree.h
r0258e67 r965dc18 173 173 extern ofw_tree_node_t *ofw_tree_find_peer_by_device_type(ofw_tree_node_t *, 174 174 const char *); 175 extern ofw_tree_node_t *ofw_tree_find_peer_by_name(ofw_tree_node_t *node, 176 const char *name); 175 177 extern ofw_tree_node_t *ofw_tree_find_node_by_handle(ofw_tree_node_t *, 176 178 uint32_t);
Note:
See TracChangeset
for help on using the changeset viewer.
