Changeset d7e3f1ad in mainline
- Timestamp:
- 2006-09-06T09:19:40Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9dae51d7
- Parents:
- e2bf639
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/Makefile.inc
re2bf639 rd7e3f1ad 74 74 BFD_NAME = elf32-tradlittlemips 75 75 BFD = binary 76 CFLAGS += -DFB_ BIG_ENDIAN -DARCH_HAS_FPU -mips376 CFLAGS += -DFB_INVERT_ENDIAN -DARCH_HAS_FPU -mips3 77 77 endif 78 78 ifeq ($(MACHINE),bgxemul) -
kernel/genarch/src/fb/fb.c
re2bf639 rd7e3f1ad 100 100 { 101 101 uint8_t *scr = dst; 102 #if (defined(BIG_ENDIAN) || defined(FB_BIG_ENDIAN))102 #if defined(FB_INVERT_ENDIAN) 103 103 scr[0] = RED(rgb, 8); 104 104 scr[1] = GREEN(rgb, 8); … … 114 114 { 115 115 uint8_t *scr = src; 116 #if (defined(BIG_ENDIAN) || defined(FB_BIG_ENDIAN))116 #if defined(FB_INVERT_ENDIAN) 117 117 return scr[0] << 16 | scr[1] << 8 | scr[2]; 118 118 #else -
uspace/fb/Makefile
re2bf639 rd7e3f1ad 62 62 endif 63 63 ifeq ($(ARCH), mips32) 64 CFLAGS += -DFB_ BIG_ENDIAN64 CFLAGS += -DFB_INVERT_ENDIAN 65 65 endif 66 66 -
uspace/fb/fb.c
re2bf639 rd7e3f1ad 155 155 { 156 156 uint8_t *scr = dst; 157 #if (defined(BIG_ENDIAN) || defined(FB_BIG_ENDIAN))157 #if defined(FB_INVERT_ENDIAN) 158 158 scr[0] = RED(rgb, 8); 159 159 scr[1] = GREEN(rgb, 8); … … 171 171 { 172 172 uint8_t *scr = src; 173 #if (defined(BIG_ENDIAN) || defined(FB_BIG_ENDIAN))173 #if defined(FB_INVERT_ENDIAN) 174 174 return scr[0] << 16 | scr[1] << 8 | scr[2]; 175 175 #else
Note:
See TracChangeset
for help on using the changeset viewer.