lfn
        serial
        ticket/834-toolchain-update
        topic/msim-upgrade
        topic/simplify-dev-export
      
      
        
          | Last change
 on this file since 58a369e was             f80fd8c, checked in by Martin Decky <martin@…>, 13 years ago | 
        
          | 
allow to specify different machine from command line
 | 
        
          | 
              
Property                 mode
 set to                 100755 | 
        
          | File size:
            322 bytes | 
      
      
| Line |  | 
|---|
| 1 | #!/bin/sh | 
|---|
| 2 |  | 
|---|
| 3 | DISK_IMG=hdisk.img | 
|---|
| 4 |  | 
|---|
| 5 | # Create a disk image if it does not exist | 
|---|
| 6 | if [ ! -f "$DISK_IMG" ]; then | 
|---|
| 7 | tools/mkfat.py 1048576 uspace/dist/data "$DISK_IMG" | 
|---|
| 8 | fi | 
|---|
| 9 |  | 
|---|
| 10 | if [ "$1" == "-E" ] && [ -n "$2" ]; then | 
|---|
| 11 | MACHINE="$2" | 
|---|
| 12 | shift 2 | 
|---|
| 13 | else | 
|---|
| 14 | MACHINE="oldtestmips" | 
|---|
| 15 | fi | 
|---|
| 16 |  | 
|---|
| 17 | gxemul $@ -E "$MACHINE" -C R4000 -X image.boot -d d0:"$DISK_IMG" | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.