Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6281 → Rev 6282

/drivers/include/display.h
1,6 → 1,15
 
typedef struct tag_object kobj_t;
typedef struct tag_display display_t;
 
struct tag_object
{
uint32_t magic;
void *destroy;
kobj_t *fd;
kobj_t *bk;
uint32_t pid;
};
 
typedef struct
{
kobj_t header;
16,6 → 25,21
#define KMS_CURSOR_WIDTH 64
#define KMS_CURSOR_HEIGHT 64
 
struct kos_framebuffer
{
struct list_head list;
uint32_t magic;
uint32_t handle;
void *destructor;
 
uint32_t width;
uint32_t height;
uint32_t pitch;
uint32_t format;
void *private;
uint32_t pde[8];
};
 
struct tag_display
{
u32 x;
24,7 → 48,7
u32 height;
u32 bpp;
u32 vrefresh;
void *lfb;
struct kos_framebuffer *current_lfb;
u32 lfb_pitch;
 
struct rw_semaphore win_map_lock;
55,5 → 79,4
 
extern display_t *os_display;
 
int init_cursor(cursor_t *cursor);
void __stdcall restore_cursor(int x, int y);
 
/drivers/include/linux/scatterlist.h
282,7 → 282,7
* Maximum number of entries that will be allocated in one piece, if
* a list larger than this is required then chaining will be utilized.
*/
#define SG_MAX_SINGLE_ALLOC (4*PAGE_SIZE / sizeof(struct scatterlist))
#define SG_MAX_SINGLE_ALLOC (8*PAGE_SIZE / sizeof(struct scatterlist))
 
/*
* sg page iterator