Changeset 2666daa in mainline


Ignore:
Timestamp:
2006-05-13T18:45:58Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
35a96cf
Parents:
74d1d66
Message:

System information tools

Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r74d1d66 r2666daa  
    164164        generic/src/ipc/ipcrsc.c \
    165165        generic/src/ipc/irq.c \
    166         generic/src/security/cap.c
     166        generic/src/security/cap.c \
     167        generic/src/sysinfo/sysinfo.c
    167168
    168169## Test sources
  • genarch/src/fb/fb.c

    r74d1d66 r2666daa  
    3131#include <console/chardev.h>
    3232#include <console/console.h>
     33#include <sysinfo/sysinfo.h>
    3334#include <mm/slab.h>
    3435#include <panic.h>
     
    359360        chardev_initialize("fb", &framebuffer, &fb_ops);
    360361        stdout = &framebuffer;
    361 }
     362       
     363        sysinfo_set_item_val("Framebuffer",NULL,true);
     364        sysinfo_set_item_val("Framebuffer.width",NULL,x);
     365        sysinfo_set_item_val("Framebuffer.height",NULL,y);
     366        sysinfo_set_item_val("Framebuffer.scanline",NULL,scan);
     367        sysinfo_set_item_val("Framebuffer.bpp",NULL,bpp);
     368        sysinfo_set_item_val("Framebuffer.address",NULL,addr);
     369       
     370
     371
     372}
  • kernel.config

    r74d1d66 r2666daa  
    135135@ "mm/slab2" SLAB test2 - SMP CPU cache
    136136@ "fault/fault1" Write to NULL (maybe page fault)
     137@ "sysinfo" Sysinfo fill and dump test
    137138@ [ARCH=ia64] "mm/purge1" Itanium TLB purge test
    138139@ [ARCH=mips32] "debug/mips1" Mips breakpoint-debug test
Note: See TracChangeset for help on using the changeset viewer.