5 months ago | Paul Boddie | file changeset files shortlog | Widened various address and size values to avoid overflow/truncation issues. Fixed high-capacity card support by changing the initialisation procedure. | cpm-library-improvements |
paul@218 | 1 | # this is a configuration to start 'ex_x1600_info' |
paul@218 | 2 | |
paul@218 | 3 | local L4 = require("L4"); |
paul@218 | 4 | |
paul@218 | 5 | local l = L4.default_loader; |
paul@218 | 6 | |
paul@218 | 7 | local io_buses = |
paul@218 | 8 | { |
paul@218 | 9 | common = l:new_channel(); |
paul@218 | 10 | }; |
paul@218 | 11 | |
paul@218 | 12 | l:start({ |
paul@218 | 13 | caps = { |
paul@218 | 14 | common = io_buses.common:svr(), |
paul@218 | 15 | icu = L4.Env.icu, |
paul@218 | 16 | sigma0 = L4.cast(L4.Proto.Factory, L4.Env.sigma0):create(L4.Proto.Sigma0), |
paul@218 | 17 | }, |
paul@218 | 18 | log = { "IO", "y" }, |
paul@218 | 19 | l4re_dbg = L4.Dbg.Warn, |
paul@218 | 20 | }, |
paul@218 | 21 | "rom/io rom/hw_devices.io rom/mips-x1600-info.io"); |
paul@218 | 22 | |
paul@218 | 23 | l:start({ |
paul@218 | 24 | log = L4.Env.log, |
paul@218 | 25 | caps = { |
paul@218 | 26 | icu = L4.Env.icu, |
paul@218 | 27 | vbus = io_buses.common, |
paul@218 | 28 | }, |
paul@218 | 29 | }, |
paul@218 | 30 | "rom/ex_x1600_info"); |