Hi: Now the compilation is ok. But when I run this application there are some errors. This is my log:
Fiasco-UX on Linux 2.6.15-23-386 (i686) Mapped 64 MB Memory + 0 KB Framebuffer + 0 MB Input Area on FD 3
Loading Module 0x00090000-0x00096964 [sigma0-ux] Loading Module 0x00120000-0x002bc9c4 [roottask] Copying Module 0x039a1000-0x039e0de8 [names] Copying Module 0x03965000-0x039a06d1 [log] Copying Module 0x038de000-0x03964162 [dm_phys] Copying Module 0x03854000-0x038ddee7 [clock] Copying Module 0x037cc000-0x03853750 [clk]
Bootstrapping...
Welcome to Fiasco(ux)! DD-L4(v2)/x86 microkernel (C) 1998-2006 TU Dresden Rev: Mon Aug 28 08:34:51 2006 compiled with gcc 3.4.6 for AMD Athlon
CPU: AuthenticAMD (6:8:1:0) Model: Duron (Applebred) at 1602 MHz
16/256 Entry I TLB (4K pages) 8 Entry I TLB (4M pages) 32/256 Entry D TLB (4K pages) 8 Entry D TLB (4M pages) 64 KB L1 I Cache (2-way associative, 64 bytes per line) 64 KB L1 D Cache (2-way associative, 64 bytes per line) 64 KB L2 U Cache (8-way associative, 64 bytes per line)
Freeing init code/data: 24576 bytes (6 pages)
SIGMA0: Hello! Found Fiasco: KIP syscalls: yes. Allocated 20kB for maintenance structures.
Roottask. Found Fiasco-UX. Command line found: "roottask"
64512kB ( 63MB) total RAM (reported by bootloader) 55080kB ( 54MB) received RAM from Sigma0 3788kB ( 4MB) reserved RAM for RMGR Received no I/O ports Attached irqs = [ <!0> 1 2 3 4 5 6 7 8 9 A B C D E F ]
Roottask: Loading 5 modules. #05: loading "names" from [039a1000-039e0de8] to [002d0000-002d614a][002d7000-002e3000] entry at 0000d060 via trampoline page code symbols at [039ee000-039f0000] (8kB), lines at [039e8000-039ee000] (24kB) #06: loading "log" from [03965000-039a06d1] to [00400000-00406c6a][00407000-00439850] entry at 0000e05c via trampoline page code symbols at [039e6000-039e8000] (8kB), lines at [039e0000-039e6000] (24kB) #07: loading "dm_phys" from [038de000-03964162] to [01500000-01511d6a][01512000-0151c000] entry at 0000f060 via trampoline page code symbols at [039db000-039e0000] (20kB), lines at [039ce000-039db000] (52kB) #08: loading "clock" from [03854000-038ddee7] to [01800000-01812bb4][01813000-01833000] entry at 00010060 via trampoline page code symbols at [039ca000-039ce000] (16kB), lines at [039ba000-039ca000] (64kB) #09: loading "clk" from [037cc000-03853750] to [01100000-011124d4][01113000-01133000] entry at 0001105c via trampoline page code symbols at [039b6000-039ba000] (16kB), lines at [039a7000-039b6000] (60kB)
clock_s | L4RM: [PF] write at 0x00000000, ip 018001ac, src 8.02 clock_s | [8.0] l4rm/lib/src/pagefault.c:78:__unknown_pf(): clock_s | unhandled page fault
The attachment is the source code, too. Thank you. cheng