Changeset 26f48570 in mainline
- Timestamp:
- 2006-06-04T12:42:03Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1160f8d
- Parents:
- dd641e3
- Location:
- fb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fb/Makefile
rdd641e3 r26f48570 35 35 36 36 CFLAGS += -I../libipc/include 37 ifeq ($(ARCH), mips32)38 CFLAGS += -DFB_BIG_ENDIAN39 endif40 37 41 38 LIBS = $(LIBC_PREFIX)/libc.a … … 50 47 ppm.c 51 48 49 ifneq ($(ARCH), ia64) 50 SOURCES += fb.c \ 51 font-8x16.c 52 CFLAGS += -DFB_ENABLED 53 endif 54 52 55 ifeq ($(ARCH), ia32) 53 SOURCES += fb.c \ 54 font-8x16.c \ 55 ega.c 56 SOURCES += ega.c 57 CFLAGS += -DEGA_ENABLED 56 58 endif 57 59 ifeq ($(ARCH), amd64) 58 SORCES += fb.c \ 59 font-8x16.c \ 60 ega.c 60 SOURCES += ega.c 61 CFLAGS += -DEGA_ENABLED 62 endif 63 ifeq ($(ARCH), mips32) 64 CFLAGS += -DFB_BIG_ENDIAN 61 65 endif 62 66 -
fb/main.c
rdd641e3 r26f48570 57 57 int initialized = 0; 58 58 59 #ifdef ia3259 #ifdef FB_ENABLED 60 60 if (sysinfo_value("fb.kind") == 1) { 61 61 if (fb_init() == 0) 62 62 initialized = 1; 63 } else if (sysinfo_value("fb.kind") == 2) { 63 } 64 #endif 65 #ifdef EGA_ENABLED 66 if (! initialized && sysinfo_value("fb.kind") == 2) { 64 67 if (ega_init() == 0) 65 68 initialized = 1; … … 67 70 #endif 68 71 69 #ifdef amd6470 if (sysinfo_value("fb.kind") == 1) {71 if (fb_init() == 0)72 initialized = 1;73 } else if (sysinfo_value("fb.kind") == 2) {74 if (ega_init() == 0)75 initialized = 1;76 }77 #endif78 79 80 81 72 if (!initialized) 82 73 sysio_init();
Note:
See TracChangeset
for help on using the changeset viewer.