Changeset 649 for trunk


Ignore:
Timestamp:
Oct 22, 2019, 3:28:59 PM (4 years ago)
Author:
alain
Message:

update build_disk command in Makefile

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r647 r649  
    129129        dd              if=$(DISK_IMAGE) of=temp.dmg count=65536
    130130        mv              temp.dmg $(DISK_IMAGE)
    131         mmd             -o -i $(DISK_IMAGE) ::/bin                          || true
    132         mmd             -o -i $(DISK_IMAGE) ::/bin/kernel                   || true
    133         mmd             -o -i $(DISK_IMAGE) ::/bin/user                     || true
    134         mmd             -o -i $(DISK_IMAGE) ::/home                         || true
    135         mmd             -o -i $(DISK_IMAGE) ::/misc                         || true
    136         mcopy           -o -i $(DISK_IMAGE) images/lena_256.raw ::/misc     || true             
    137         mcopy           -o -i $(DISK_IMAGE) images/images_128.raw ::/misc   || true             
    138         mcopy           -o -i $(DISK_IMAGE) images/philips_1024.raw ::/misc || true             
     131        mmd             -o -i $(DISK_IMAGE) ::/bin                            || true
     132        mmd             -o -i $(DISK_IMAGE) ::/bin/kernel                     || true
     133        mmd             -o -i $(DISK_IMAGE) ::/bin/user                       || true
     134        mmd             -o -i $(DISK_IMAGE) ::/home                           || true
     135        mmd             -o -i $(DISK_IMAGE) ::/misc                           || true
     136        mcopy           -o -i $(DISK_IMAGE) images/lena_256.raw ::/misc       || true             
     137        mcopy           -o -i $(DISK_IMAGE) images/images_128.raw ::/misc     || true             
     138        mcopy           -o -i $(DISK_IMAGE) images/philips_1024_2.raw ::/misc || true             
    139139        mdir                -/ -b -i $(DISK_IMAGE) ::/
    140140
     
    143143# arch_info.bin and arch_info.xml), and update the virtual disk.
    144144hard_config.h: $(ARCH)/arch_info.py
    145         tools/arch_info/genarch.py      --arch=$(ARCH)          \
    146                                         --x_size=$(X_SIZE)      \
    147                                         --y_size=$(Y_SIZE)      \
    148                                         --nb_cores=$(NB_PROCS)  \
    149                                         --nb_ttys=$(NB_TTYS)    \
    150                                         --ioc_type=$(IOC_TYPE)  \
    151                                         --txt_type=$(TXT_TYPE)  \
    152                                         --fbf_type=$(FBF_TYPE)  \
    153                                         --sys_clk=$(SYS_CLK)    \
    154                                         --hard=.                \
    155                                         --bin=.                 \
     145        tools/arch_info/genarch.py      --arch=$(ARCH)  \
     146                                        --x_size=$(X_SIZE)              \
     147                                        --y_size=$(Y_SIZE)              \
     148                                        --nb_cores=$(NB_PROCS)      \
     149                                        --nb_ttys=$(NB_TTYS)        \
     150                                        --ioc_type=$(IOC_TYPE)      \
     151                    --txt_type=$(TXT_TYPE)      \
     152                    --fbf_type=$(FBF_TYPE)      \
     153                    --sys_clk=$(SYS_CLK)        \
     154                                        --hard=.                            \
     155                                        --bin=.                             \
    156156                                        --xml=.                                 
    157157        mcopy -o -i $(DISK_IMAGE) arch_info.bin ::/   || true
  • trunk/user/fft/fft.c

    r644 r649  
    488488        if (parallel_time[tid] > time_para)    time_para      = parallel_time[tid];
    489489        if (sync_time[tid]     > time_sync)    time_sync      = sync_time[tid];
    490                                                pgfaults_nr   += pgfault_nr[tid];
    491                                                pgfaults_cost += pgfault_cost[tid];
     490
     491        pgfaults_nr   += pgfault_nr[tid];
     492        pgfaults_cost += pgfault_cost[tid];
     493
    492494        if (pgfault_max[tid]   > pgfaults_max) pgfaults_max   = pgfault_max[tid];
    493495    }
Note: See TracChangeset for help on using the changeset viewer.