Changeset 26e7d6d in mainline for abi/include/mm/as.h


Ignore:
Timestamp:
2011-09-19T16:31:00Z (15 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
a347a11
Parents:
3842a955 (diff), 086290d (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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • abi/include/mm/as.h

    r3842a955 r26e7d6d  
    11/*
    2  * Copyright (c) 2006 Ondrej Palkovsky
     2 * Copyright (c) 2010 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup console
     29/** @addtogroup genericmm
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef GCONS_H_
    36 #define GCONS_H_
     35#ifndef ABI_AS_H_
     36#define ABI_AS_H_
    3737
    38 #include <sys/types.h>
     38/** Address space area flags. */
     39#define AS_AREA_READ       1
     40#define AS_AREA_WRITE      2
     41#define AS_AREA_EXEC       4
     42#define AS_AREA_CACHEABLE  8
    3943
    40 void gcons_init(int);
    41 
    42 void gcons_redraw_console(void);
    43 void gcons_change_console(size_t);
    44 void gcons_notify_char(size_t);
    45 void gcons_in_kernel(void);
    46 
    47 void gcons_notify_connect(size_t);
    48 void gcons_notify_disconnect(size_t);
    49 
    50 void gcons_mouse_move(ssize_t, ssize_t);
    51 int gcons_mouse_btn(bool state);
     44/** Address space area info exported to uspace. */
     45typedef struct {
     46        /** Starting address */
     47        uintptr_t start_addr;
     48       
     49        /** Area size */
     50        size_t size;
     51       
     52        /** Area flags */
     53        unsigned int flags;
     54} as_area_info_t;
    5255
    5356#endif
Note: See TracChangeset for help on using the changeset viewer.