| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 Carlos Pizano-Uribe <cpu@chromium.org> | 2 * Copyright (c) 2015 Carlos Pizano-Uribe <cpu@chromium.org> |
| 3 * | 3 * |
| 4 * Permission is hereby granted, free of charge, to any person obtaining | 4 * Permission is hereby granted, free of charge, to any person obtaining |
| 5 * a copy of this software and associated documentation files | 5 * a copy of this software and associated documentation files |
| 6 * (the "Software"), to deal in the Software without restriction, | 6 * (the "Software"), to deal in the Software without restriction, |
| 7 * including without limitation the rights to use, copy, modify, merge, | 7 * including without limitation the rights to use, copy, modify, merge, |
| 8 * publish, distribute, sublicense, and/or sell copies of the Software, | 8 * publish, distribute, sublicense, and/or sell copies of the Software, |
| 9 * and to permit persons to whom the Software is furnished to do so, | 9 * and to permit persons to whom the Software is furnished to do so, |
| 10 * subject to the following conditions: | 10 * subject to the following conditions: |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | 41 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 42 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | 42 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 43 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | 43 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 44 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | 44 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 45 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 45 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 46 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 46 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 47 * | 47 * |
| 48 ****************************************************************************** | 48 ****************************************************************************** |
| 49 */ | 49 */ |
| 50 | 50 |
| 51 #include <assert.h> |
| 51 #include <err.h> | 52 #include <err.h> |
| 52 #include <debug.h> | 53 #include <debug.h> |
| 53 #include <trace.h> | 54 #include <trace.h> |
| 54 #include <target.h> | 55 #include <target.h> |
| 55 #include <compiler.h> | 56 #include <compiler.h> |
| 56 #include <string.h> | 57 #include <string.h> |
| 57 #include <dev/gpio.h> | 58 #include <dev/gpio.h> |
| 58 #include <dev/display.h> | 59 #include <dev/display.h> |
| 59 #include <kernel/novm.h> | 60 #include <kernel/novm.h> |
| 60 #include <platform/stm32.h> | 61 #include <platform/stm32.h> |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 } else { | 436 } else { |
| 436 panic("unhandled pixel format\n"); | 437 panic("unhandled pixel format\n"); |
| 437 return ERR_NOT_FOUND; | 438 return ERR_NOT_FOUND; |
| 438 } | 439 } |
| 439 | 440 |
| 440 info->width = BSP_LCD_GetXSize(); | 441 info->width = BSP_LCD_GetXSize(); |
| 441 info->height = BSP_LCD_GetYSize(); | 442 info->height = BSP_LCD_GetYSize(); |
| 442 | 443 |
| 443 return NO_ERROR; | 444 return NO_ERROR; |
| 444 } | 445 } |
| 446 |
| 447 status_t display_present(struct display_image *image, uint starty, uint endy) |
| 448 { |
| 449 TRACEF("display_present - not implemented"); |
| 450 DEBUG_ASSERT(false); |
| 451 return NO_ERROR; |
| 452 } |
| OLD | NEW |