Revision 5fafdf24 linux-user/syscall_defs.h

b/linux-user/syscall_defs.h
281 281

  
282 282
void host_to_target_sigset(target_sigset_t *d, const sigset_t *s);
283 283
void target_to_host_sigset(sigset_t *d, const target_sigset_t *s);
284
void host_to_target_old_sigset(target_ulong *old_sigset, 
284
void host_to_target_old_sigset(target_ulong *old_sigset,
285 285
                               const sigset_t *sigset);
286
void target_to_host_old_sigset(sigset_t *sigset, 
286
void target_to_host_old_sigset(sigset_t *sigset,
287 287
                               const target_ulong *old_sigset);
288 288
struct target_sigaction;
289 289
int do_sigaction(int sig, const struct target_sigaction *act,
......
709 709
#define TARGET_FIGETBSZ   TARGET_IO(0x00,2)  /* get the block size used for bmap */
710 710

  
711 711
/* cdrom commands */
712
#define TARGET_CDROMPAUSE		0x5301 /* Pause Audio Operation */ 
712
#define TARGET_CDROMPAUSE		0x5301 /* Pause Audio Operation */
713 713
#define TARGET_CDROMRESUME		0x5302 /* Resume paused Audio Operation */
714 714
#define TARGET_CDROMPLAYMSF		0x5303 /* Play Audio MSF (struct cdrom_msf) */
715
#define TARGET_CDROMPLAYTRKIND		0x5304 /* Play Audio Track/index 
715
#define TARGET_CDROMPLAYTRKIND		0x5304 /* Play Audio Track/index
716 716
                                           (struct cdrom_ti) */
717
#define TARGET_CDROMREADTOCHDR		0x5305 /* Read TOC header 
717
#define TARGET_CDROMREADTOCHDR		0x5305 /* Read TOC header
718 718
                                           (struct cdrom_tochdr) */
719
#define TARGET_CDROMREADTOCENTRY	0x5306 /* Read TOC entry 
719
#define TARGET_CDROMREADTOCENTRY	0x5306 /* Read TOC entry
720 720
                                           (struct cdrom_tocentry) */
721 721
#define TARGET_CDROMSTOP		0x5307 /* Stop the cdrom drive */
722 722
#define TARGET_CDROMSTART		0x5308 /* Start the cdrom drive */
723 723
#define TARGET_CDROMEJECT		0x5309 /* Ejects the cdrom media */
724
#define TARGET_CDROMVOLCTRL		0x530a /* Control output volume 
724
#define TARGET_CDROMVOLCTRL		0x530a /* Control output volume
725 725
                                           (struct cdrom_volctrl) */
726
#define TARGET_CDROMSUBCHNL		0x530b /* Read subchannel data 
726
#define TARGET_CDROMSUBCHNL		0x530b /* Read subchannel data
727 727
                                           (struct cdrom_subchnl) */
728
#define TARGET_CDROMREADMODE2		0x530c /* Read TARGET_CDROM mode 2 data (2336 Bytes) 
728
#define TARGET_CDROMREADMODE2		0x530c /* Read TARGET_CDROM mode 2 data (2336 Bytes)
729 729
                                           (struct cdrom_read) */
730 730
#define TARGET_CDROMREADMODE1		0x530d /* Read TARGET_CDROM mode 1 data (2048 Bytes)
731 731
                                           (struct cdrom_read) */
732 732
#define TARGET_CDROMREADAUDIO		0x530e /* (struct cdrom_read_audio) */
733 733
#define TARGET_CDROMEJECT_SW		0x530f /* enable(1)/disable(0) auto-ejecting */
734
#define TARGET_CDROMMULTISESSION	0x5310 /* Obtain the start-of-last-session 
735
                                           address of multi session disks 
734
#define TARGET_CDROMMULTISESSION	0x5310 /* Obtain the start-of-last-session
735
                                           address of multi session disks
736 736
                                           (struct cdrom_multisession) */
737
#define TARGET_CDROM_GET_MCN		0x5311 /* Obtain the "Universal Product Code" 
737
#define TARGET_CDROM_GET_MCN		0x5311 /* Obtain the "Universal Product Code"
738 738
                                           if available (struct cdrom_mcn) */
739
#define TARGET_CDROM_GET_UPC		TARGET_CDROM_GET_MCN  /* This one is depricated, 
739
#define TARGET_CDROM_GET_UPC		TARGET_CDROM_GET_MCN  /* This one is depricated,
740 740
                                          but here anyway for compatability */
741 741
#define TARGET_CDROMRESET		0x5312 /* hard-reset the drive */
742
#define TARGET_CDROMVOLREAD		0x5313 /* Get the drive's volume setting 
742
#define TARGET_CDROMVOLREAD		0x5313 /* Get the drive's volume setting
743 743
                                          (struct cdrom_volctrl) */
744 744
#define TARGET_CDROMREADRAW		0x5314	/* read data in raw mode (2352 Bytes)
745 745
                                           (struct cdrom_read) */
746
/* 
746
/*
747 747
 * These ioctls are used only used in aztcd.c and optcd.c
748 748
 */
749 749
#define TARGET_CDROMREADCOOKED		0x5315	/* read data in cooked mode */
750 750
#define TARGET_CDROMSEEK		0x5316  /* seek msf address */
751
  
751
 
752 752
/*
753
 * This ioctl is only used by the scsi-cd driver.  
753
 * This ioctl is only used by the scsi-cd driver. 
754 754
   It is for playing audio in logical block addressing mode.
755 755
 */
756 756
#define TARGET_CDROMPLAYBLK		0x5317	/* (struct cdrom_blk) */
757 757

  
758
/* 
758
/*
759 759
 * These ioctls are only used in optcd.c
760 760
 */
761 761
#define TARGET_CDROMREADALL		0x5318	/* read all 2646 bytes */
762 762

  
763
/* 
764
 * These ioctls are (now) only in ide-cd.c for controlling 
763
/*
764
 * These ioctls are (now) only in ide-cd.c for controlling
765 765
 * drive spindown time.  They should be implemented in the
766 766
 * Uniform driver, via generic packet commands, GPCMD_MODE_SELECT_10,
767 767
 * GPCMD_MODE_SENSE_10 and the GPMODE_POWER_PAGE...
......
770 770
#define TARGET_CDROMGETSPINDOWN        0x531d
771 771
#define TARGET_CDROMSETSPINDOWN        0x531e
772 772

  
773
/* 
773
/*
774 774
 * These ioctls are implemented through the uniform CD-ROM driver
775 775
 * They _will_ be adopted by all CD-ROM drivers, when all the CD-ROM
776 776
 * drivers are eventually ported to the uniform CD-ROM driver interface.
......
1285 1285
       unsigned int    __pad0;
1286 1286

  
1287 1287
       target_ulong    target_st_atime;
1288
       target_ulong    target_st_atime_nsec; 
1288
       target_ulong    target_st_atime_nsec;
1289 1289
       target_ulong    target_st_mtime;
1290 1290
       target_ulong    target_st_mtime_nsec;
1291 1291
       target_ulong    target_st_ctime;
......
1347 1347
	target_ulong	target_st_mtime_nsec;
1348 1348

  
1349 1349
	target_ulong	target_st_ctime;
1350
	target_ulong	target_st_ctime_nsec; 
1350
	target_ulong	target_st_ctime_nsec;
1351 1351

  
1352 1352
	unsigned long long	st_ino;
1353 1353
};

Also available in: Unified diff