Changeset 925fdd7 in mainline for boot/genarch/ofw.c
- Timestamp:
- 2008-12-10T21:41:22Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bb74e8ab
- Parents:
- 8af9950
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/genarch/ofw.c
r8af9950 r925fdd7 299 299 unsigned int sc = ofw_get_size_cells(ofw_memory) / 300 300 (sizeof(uintptr_t) / sizeof(uint32_t)); 301 printf("address cells: %d, size cells: %d. ", ac, sc);302 301 303 302 uintptr_t buf[((ac + sc) * MEMMAP_MAX_RECORDS)]; … … 406 405 return false; 407 406 408 /* setup the palette so that the 3:2:3 scheme is usable */407 /* setup the palette so that the (inverted) 3:2:3 scheme is usable */ 409 408 unsigned int i; 410 409 for (i = 0; i < 256; i++) 411 410 if (ofw_call("call-method", 6, 1, NULL, "color!", screen, 412 i,411 255 - i, 413 412 i << 5, 414 413 (i >> 3) << 6,
Note:
See TracChangeset
for help on using the changeset viewer.