Displaying 3 results from an estimated 3 matches for "video_type".
2009 Jan 01
1
HasManyThroughCantAssociateNewRecords Exception
I have a model:
class Video < ActiveRecord::Base
has_many :video_tags
has_many :video_types
has_many :tags, :through => :video_tags, :uniq => :true
has_many :types, :through => :video_types, :uniq => :true
def get_tag_list(delimiter)
tags.collect { |t| t.tag }.join(delimiter)
end
def set_tag_list(tag_list, delimiter)
# doesn''t remove old tags...
2007 Aug 09
0
[PATCH] linux/x86: retrieve VESA capabilities in dom0
...*/
+ screen_info.orig_video_mode = 3;
+ screen_info.orig_video_isVGA = 1;
+ screen_info.orig_video_lines = 25;
+ screen_info.orig_video_cols = 80;
+ screen_info.orig_video_ega_bx = 3;
+ screen_info.orig_video_points = 16;
+ screen_info.orig_y = screen_info.orig_video_lines - 1;
+
switch (info->video_type) {
case XEN_VGATYPE_TEXT_MODE_3:
- screen_info.orig_video_mode = 3;
- screen_info.orig_video_ega_bx = 3;
- screen_info.orig_video_isVGA = 1;
+ if (size < offsetof(struct dom0_vga_console_info, u.text_mode_3)
+ + sizeof(info->u.text_mode_3))
+ break;
screen_info.orig_vid...
2006 Dec 01
0
[PATCH 3/10] Add support for netfront/netback acceleration drivers
...+
+/* These flags are passed in the ''flags'' field of start_info_t. */
+#define SIF_PRIVILEGED (1<<0) /* Is the domain privileged? */
+#define SIF_INITDOMAIN (1<<1) /* Is this the initial control
domain? */
+
+typedef struct dom0_vga_console_info {
+ uint8_t video_type; /* DOM0_VGA_CONSOLE_??? */
+#define XEN_VGATYPE_TEXT_MODE_3 0x03
+#define XEN_VGATYPE_VESA_LFB 0x23
+
+ union {
+ struct {
+ /* Font height, in pixels. */
+ uint16_t font_height;
+ /* Cursor location (column, row). */
+ uint16_t cursor_x, cu...