Ignore:
Timestamp:
2014-09-12T03:45:25Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c53b58e
Parents:
3eb0c85 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

most usb changes were reverted. blink and usbmass were fixed
known problems:
ehci won't initialize
usbmast asserts on unmount (happens on mainline too)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/draw/font/bitmap_backend.h

    r3eb0c85 r8e7c9fe  
    11/*
    2  * Copyright (c) 2006 Ondrej Palkovsky
     2 * Copyright (c) 2012 Petr Koupy
     3 * Copyright (c) 2014 Martin Sucha
    34 * All rights reserved.
    45 *
     
    2728 */
    2829
    29 /** @addtogroup libc
     30/** @addtogroup draw
    3031 * @{
    3132 */
    32 /** @file
     33/**
     34 * @file
    3335 */
    3436
    35 #ifndef LIBC_MMAN_H_
    36 #define LIBC_MMAN_H_
     37#ifndef DRAW_FONT_BITMAP_BACKEND_H_
     38#define DRAW_FONT_BITMAP_BACKEND_H_
    3739
    38 #include <as.h>
    3940#include <sys/types.h>
    4041
    41 #define MAP_FAILED  AS_MAP_FAILED
     42#include "../font.h"
     43#include "../surface.h"
     44#include "../source.h"
    4245
    43 #define MAP_SHARED     (1 << 0)
    44 #define MAP_PRIVATE    (1 << 1)
    45 #define MAP_FIXED      (1 << 2)
    46 #define MAP_ANONYMOUS  (1 << 3)
     46typedef struct {
     47        int (*resolve_glyph)(void *, const wchar_t, glyph_id_t *);
     48        int (*load_glyph_surface)(void *, glyph_id_t, surface_t **);
     49        int (*load_glyph_metrics)(void *, glyph_id_t, glyph_metrics_t *);
     50        void (*release)(void *);
     51} bitmap_font_decoder_t;
    4752
    48 #define PROTO_READ   AS_AREA_READ
    49 #define PROTO_WRITE  AS_AREA_WRITE
    50 #define PROTO_EXEC   AS_AREA_EXEC
    51 
    52 extern void *mmap(void *start, size_t length, int prot, int flags, int fd,
    53     aoff64_t offset);
    54 extern int munmap(void *start, size_t length);
     53extern int bitmap_font_create(bitmap_font_decoder_t *, void *, uint32_t,
     54    font_metrics_t, uint16_t, font_t **);
    5555
    5656#endif
Note: See TracChangeset for help on using the changeset viewer.