Changeset 03362fbd in mainline for uspace/srv/hid/compositor/compositor.h
- Timestamp:
- 2013-02-09T23:14:45Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 22dfd38
- Parents:
- b5d2e57 (diff), 005b765 (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. - File:
-
- 1 moved
-
uspace/srv/hid/compositor/compositor.h (moved) (moved from kernel/arch/amd64/include/debugger.h ) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/compositor/compositor.h
rb5d2e57 r03362fbd 1 1 /* 2 * Copyright (c) 20 06 Ondrej Palkovsky2 * Copyright (c) 2012 Petr Koupy 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup amd64debug29 /** @addtogroup compositor 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef KERN_amd64_DEBUGGER_H_36 #define KERN_amd64_DEBUGGER_H_35 #ifndef COMPOSITOR_COMPOSITOR_H_ 36 #define COMPOSITOR_COMPOSITOR_H_ 37 37 38 #include <typedefs.h> 38 typedef native_t desktop_coord_t; 39 typedef struct { 40 desktop_coord_t x; 41 desktop_coord_t y; 42 } desktop_point_t; 43 typedef desktop_point_t desktop_vector_t; 39 44 40 #define BKPOINTS_MAX 4 45 typedef struct { 46 desktop_coord_t x; 47 desktop_coord_t y; 48 desktop_coord_t w; 49 desktop_coord_t h; 50 } desktop_rect_t; 41 51 42 /* Flags that are passed to breakpoint_add function */ 43 #define BKPOINT_INSTR 0x1U 44 #define BKPOINT_WRITE 0x2U 45 #define BKPOINT_READ_WRITE 0x4U 46 47 #define BKPOINT_CHECK_ZERO 0x8U 48 49 50 extern void debugger_init(void); 51 extern int breakpoint_add(const void *, const unsigned int, int); 52 extern void breakpoint_del(int); 52 /* TODO remove? */ 53 typedef struct { 54 double x; 55 double y; 56 } double_point_t; 57 typedef double_point_t double_vector_t; 53 58 54 59 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
