[fpc-pascal] Embedded ARM system unit

Carsten Bager carsten at beas.dk
Tue Aug 23 11:37:29 CEST 2005


I am in the first stage of creating a system unit for 
Embedded ARM. Things are working but I get a lot of 
Warnings and Hints (See some of them below).
Should I be worried about this?
In the "fpc_InitializeUnits" procedure I have excluded the call 
to the "fpc_cpuinit" procedure, my system cannot start if it is 
included in the start up code. I cannot figure out the meaning 
of this procedure. Dos anyone know what it is meant to do.

Regards

Carsten

(*****************
procedure fpc_cpuinit;
begin
  asm
    rfs r0
    and r0,r0,#0xffe0ffff
    orr r0,r0,#0x00020000
    wfs r0
  end;
end;
**************************)



---------------------------------------------------------------
generic.inc(595,13) Warning: Mixing signed expressions and longwords 
gives a 64bit result
generic.inc(678,3) Hint: Type size mismatch, possible loss of data / 
range check error
generic.inc(679,17) Hint: Type size mismatch, possible loss of data / 
range check error
generic.inc(1094,8) Hint: Conversion between ordinals and pointers is 
not portable
generic.inc(1095,40) Hint: Conversion between ordinals and pointers is 
not portable
ostypes.inc(78,16) Hint: Local type "TStat" is not used
ostypes.inc(79,16) Hint: Local type "PStat" is not used
ostypes.inc(140,16) Hint: Local type "TDirent" is not used
ostypes.inc(169,16) Hint: Local type "TDir" is not used
ostypes.inc(178,16) Hint: Local type "TUtimBuf" is not used
ostypes.inc(179,16) Hint: Local type "pUtimBuf" is not used
ostypes.inc(181,16) Hint: Local type "FLock" is not used
ostypes.inc(200,16) Hint: Local type "TTms" is not used
ostypes.inc(201,16) Hint: Local type "PTms" is not used
ostypes.inc(204,14) Hint: Local type "pFDSet" is not used
ostypes.inc(210,15) Hint: Local type "TTimeZone" is not used
ostypes.inc(217,5) Hint: Local const "F_OK" is not used
ostypes.inc(218,5) Hint: Local const "R_OK" is not used
ostypes.inc(219,5) Hint: Local const "W_OK" is not used
ostypes.inc(220,5) Hint: Local const "X_OK" is not used
ostypes.inc(222,5) Hint: Local const "SEEK_SET" is not used
ostypes.inc(223,5) Hint: Local const "SEEK_CUR" is not used
ostypes.inc(224,5) Hint: Local const "SEEK_END" is not used
ostypes.inc(228,5) Hint: Local const "O_WRONLY" is not used
ostypes.inc(229,5) Hint: Local const "O_RDWR" is not used
ostypes.inc(244,5) Hint: Local const "O_CREAT" is not used
ostypes.inc(245,5) Hint: Local const "O_EXCL" is not used
ostypes.inc(246,5) Hint: Local const "O_NOCTTY" is not used
ostypes.inc(247,5) Hint: Local const "O_TRUNC" is not used
ostypes.inc(248,5) Hint: Local const "O_APPEND" is not used
ostypes.inc(250,5) Hint: Local const "O_NDELAY" is not used
ostypes.inc(251,5) Hint: Local const "O_SYNC" is not used
ostypes.inc(252,5) Hint: Local const "O_DIRECT" is not used
ostypes.inc(253,5) Hint: Local const "O_LARGEFILE" is not used
ostypes.inc(254,5) Hint: Local const "O_DIRECTORY" is not used
ostypes.inc(255,5) Hint: Local const "O_NOFOLLOW" is not used
ostypes.inc(270,5) Hint: Local const "WNOHANG" is not used
ostypes.inc(271,5) Hint: Local const "WUNTRACED" is not used
ostypes.inc(289,3) Hint: Local const "F_GetFd" is not used
ostypes.inc(290,3) Hint: Local const "F_SetFd" is not used
ostypes.inc(291,3) Hint: Local const "F_GetFl" is not used
ostypes.inc(292,3) Hint: Local const "F_SetFl" is not used
ostypes.inc(293,3) Hint: Local const "F_GetLk" is not used
ostypes.inc(294,3) Hint: Local const "F_SetLk" is not used
ostypes.inc(295,3) Hint: Local const "F_SetLkW" is not used
ostypes.inc(296,3) Hint: Local const "F_SetOwn" is not used
ostypes.inc(297,3) Hint: Local const "F_GetOwn" is not used
signal.inc(32,3) Hint: Local const "SA_NOCLDSTOP" is not used
signal.inc(33,3) Hint: Local const "SA_NOCLDWAIT" is not used
signal.inc(35,3) Hint: Local const "SA_SHIRQ" is not used
signal.inc(36,3) Hint: Local const "SA_STACK" is not used
signal.inc(37,3) Hint: Local const "SA_RESTART" is not used
signal.inc(38,3) Hint: Local const "SA_INTERRUPT" is not used
signal.inc(39,3) Hint: Local const "SA_NOMASK" is not used
signal.inc(40,3) Hint: Local const "SA_ONESHOT" is not used
signal.inc(42,3) Hint: Local const "SIG_BLOCK" is not used
signal.inc(44,3) Hint: Local const "SIG_SETMASK" is not used
signal.inc(47,3) Hint: Local const "SIG_DFL" is not used
signal.inc(48,3) Hint: Local const "SIG_IGN" is not used
signal.inc(49,3) Hint: Local const "SIG_ERR" is not used
signal.inc(87,3) Hint: Local const "SIGHUP" is not used
signal.inc(88,3) Hint: Local const "SIGINT" is not used
signal.inc(89,3) Hint: Local const "SIGQUIT" is not used
signal.inc(91,3) Hint: Local const "SIGTRAP" is not used
signal.inc(92,3) Hint: Local const "SIGABRT" is not used
signal.inc(93,3) Hint: Local const "SIGIOT" is not used
signal.inc(96,3) Hint: Local const "SIGKILL" is not used
signal.inc(97,3) Hint: Local const "SIGUSR1" is not used
signal.inc(99,3) Hint: Local const "SIGUSR2" is not used
signal.inc(100,3) Hint: Local const "SIGPIPE" is not used
signal.inc(101,3) Hint: Local const "SIGALRM" is not used
signal.inc(102,3) Hint: Local const "SIGTerm" is not used
signal.inc(103,3) Hint: Local const "SIGSTKFLT" is not used
signal.inc(104,3) Hint: Local const "SIGCHLD" is not used
signal.inc(105,3) Hint: Local const "SIGCONT" is not used
signal.inc(106,3) Hint: Local const "SIGSTOP" is not used
signal.inc(107,3) Hint: Local const "SIGTSTP" is not used
signal.inc(108,3) Hint: Local const "SIGTTIN" is not used
signal.inc(109,3) Hint: Local const "SIGTTOU" is not used
signal.inc(110,3) Hint: Local const "SIGURG" is not used
signal.inc(111,3) Hint: Local const "SIGXCPU" is not used
signal.inc(112,3) Hint: Local const "SIGXFSZ" is not used
signal.inc(113,3) Hint: Local const "SIGVTALRM" is not used
signal.inc(114,3) Hint: Local const "SIGPROF" is not used
signal.inc(115,3) Hint: Local const "SIGWINCH" is not used
signal.inc(117,3) Hint: Local const "SIGPOLL" is not used
signal.inc(118,3) Hint: Local const "SIGPWR" is not used
signal.inc(119,3) Hint: Local const "SIGUNUSED" is not used
signal.inc(131,13) Hint: Local type "psigset_t" is not used
signal.inc(177,21) Hint: Local type "PSignalHandler" is not used
signal.inc(179,21) Hint: Local type "PSignalRestorer" is not used
signal.inc(202,19) Hint: Local type "TSigActionRec" is not used
sysnr.inc(32,3) Hint: Local const "syscall_nr_creat" is not used
sysnr.inc(33,3) Hint: Local const "syscall_nr_link" is not used
sysnr.inc(35,3) Hint: Local const "syscall_nr_execve" is not used
sysnr.inc(38,3) Hint: Local const "syscall_nr_mknod" is not used
sysnr.inc(39,3) Hint: Local const "syscall_nr_chmod" is not used
sysnr.inc(40,3) Hint: Local const "syscall_nr_lchown" is not used
sysnr.inc(41,3) Hint: Local const "syscall_nr_break" is not used
sysnr.inc(45,3) Hint: Local const "syscall_nr_mount" is not used
sysnr.inc(46,3) Hint: Local const "syscall_nr_umount" is not used
sysnr.inc(47,3) Hint: Local const "syscall_nr_setuid" is not used
sysnr.inc(48,3) Hint: Local const "syscall_nr_getuid" is not used
sysnr.inc(49,3) Hint: Local const "syscall_nr_stime" is not used
sysnr.inc(50,3) Hint: Local const "syscall_nr_ptrace" is not used
sysnr.inc(51,3) Hint: Local const "syscall_nr_alarm" is not used
sysnr.inc(53,3) Hint: Local const "syscall_nr_pause" is not used
sysnr.inc(54,3) Hint: Local const "syscall_nr_utime" is not used
sysnr.inc(55,3) Hint: Local const "syscall_nr_stty" is not used
sysnr.inc(56,3) Hint: Local const "syscall_nr_gtty" is not used
sysnr.inc(58,3) Hint: Local const "syscall_nr_nice" is not used
sysnr.inc(59,3) Hint: Local const "syscall_nr_ftime" is not used
sysnr.inc(60,3) Hint: Local const "syscall_nr_sync" is not used
sysnr.inc(61,3) Hint: Local const "syscall_nr_kill" is not used
sysnr.inc(66,3) Hint: Local const "syscall_nr_pipe" is not used
sysnr.inc(67,3) Hint: Local const "syscall_nr_times" is not used
sysnr.inc(68,3) Hint: Local const "syscall_nr_prof" is not used
sysnr.inc(69,3) Hint: Local const "syscall_nr_brk" is not used
sysnr.inc(70,3) Hint: Local const "syscall_nr_setgid" is not used
sysnr.inc(71,3) Hint: Local const "syscall_nr_getgid" is not used
sysnr.inc(72,3) Hint: Local const "syscall_nr_signal" is not used
sysnr.inc(73,3) Hint: Local const "syscall_nr_geteuid" is not used
sysnr.inc(74,3) Hint: Local const "syscall_nr_getegid" is not used
sysnr.inc(75,3) Hint: Local const "syscall_nr_acct" is not used
sysnr.inc(76,3) Hint: Local const "syscall_nr_umount2" is not used
sysnr.inc(77,3) Hint: Local const "syscall_nr_lock" is not used
sysnr.inc(79,3) Hint: Local const "syscall_nr_fcntl" is not used
sysnr.inc(80,3) Hint: Local const "syscall_nr_mpx" is not used
sysnr.inc(81,3) Hint: Local const "syscall_nr_setpgid" is not used
sysnr.inc(82,3) Hint: Local const "syscall_nr_ulimit" is not used
sysnr.inc(84,3) Hint: Local const "syscall_nr_umask" is not used
sysnr.inc(85,3) Hint: Local const "syscall_nr_chroot" is not used
sysnr.inc(86,3) Hint: Local const "syscall_nr_ustat" is not used
sysnr.inc(88,3) Hint: Local const "syscall_nr_getppid" is not used
sysnr.inc(89,3) Hint: Local const "syscall_nr_getpgrp" is not used
sysnr.inc(90,3) Hint: Local const "syscall_nr_setsid" is not used
sysnr.inc(91,3) Hint: Local const "syscall_nr_sigaction" is not used
sysnr.inc(92,3) Hint: Local const "syscall_nr_sgetmask" is not used
sysnr.inc(93,3) Hint: Local const "syscall_nr_ssetmask" is not used
sysnr.inc(94,3) Hint: Local const "syscall_nr_setreuid" is not used
sysnr.inc(95,3) Hint: Local const "syscall_nr_setregid" is not used
sysnr.inc(96,3) Hint: Local const "syscall_nr_sigsuspend" is not used
sysnr.inc(97,3) Hint: Local const "syscall_nr_sigpending" is not used
sysnr.inc(98,3) Hint: Local const "syscall_nr_sethostname" is not used
sysnr.inc(99,3) Hint: Local const "syscall_nr_setrlimit" is not used
sysnr.inc(100,3) Hint: Local const "syscall_nr_getrlimit" is not used
sysnr.inc(101,3) Hint: Local const "syscall_nr_getrusage" is not used
sysnr.inc(103,3) Hint: Local const "syscall_nr_settimeofday" is not used
sysnr.inc(104,3) Hint: Local const "syscall_nr_getgroups" is not used
sysnr.inc(105,3) Hint: Local const "syscall_nr_setgroups" is not used
sysnr.inc(106,3) Hint: Local const "syscall_nr_select" is not used
sysnr.inc(107,3) Hint: Local const "syscall_nr_symlink" is not used
sysnr.inc(110,3) Hint: Local const "syscall_nr_uselib" is not used
sysnr.inc(111,3) Hint: Local const "syscall_nr_swapon" is not used
sysnr.inc(112,3) Hint: Local const "syscall_nr_reboot" is not used
sysnr.inc(113,3) Hint: Local const "syscall_nr_readdir" is not used
sysnr.inc(116,3) Hint: Local const "syscall_nr_truncate" is not used
sysnr.inc(118,3) Hint: Local const "syscall_nr_fchmod" is not used
sysnr.inc(119,3) Hint: Local const "syscall_nr_fchown" is not used
sysnr.inc(120,3) Hint: Local const "syscall_nr_getpriority" is not used
sysnr.inc(121,3) Hint: Local const "syscall_nr_setpriority" is not used
sysnr.inc(122,3) Hint: Local const "syscall_nr_profil" is not used
sysnr.inc(123,3) Hint: Local const "syscall_nr_statfs" is not used
sysnr.inc(124,3) Hint: Local const "syscall_nr_fstatfs" is not used
sysnr.inc(125,3) Hint: Local const "syscall_nr_ioperm" is not used
sysnr.inc(126,3) Hint: Local const "syscall_nr_socketcall" is not used
sysnr.inc(127,3) Hint: Local const "syscall_nr_syslog" is not used
sysnr.inc(128,3) Hint: Local const "syscall_nr_setitimer" is not used
sysnr.inc(129,3) Hint: Local const "syscall_nr_getitimer" is not used
sysnr.inc(131,3) Hint: Local const "syscall_nr_lstat" is not used
sysnr.inc(133,3) Hint: Local const "syscall_nr_vhangup" is not used
sysnr.inc(134,3) Hint: Local const "syscall_nr_idle" is not used
sysnr.inc(135,3) Hint: Local const "syscall_nr_syscall" is not used
sysnr.inc(137,3) Hint: Local const "syscall_nr_swapoff" is not used
sysnr.inc(138,3) Hint: Local const "syscall_nr_sysinfo" is not used
sysnr.inc(139,3) Hint: Local const "syscall_nr_ipc" is not used
sysnr.inc(140,3) Hint: Local const "syscall_nr_fsync" is not used
sysnr.inc(141,3) Hint: Local const "syscall_nr_sigreturn" is not used
sysnr.inc(142,3) Hint: Local const "syscall_nr_clone" is not used
sysnr.inc(143,3) Hint: Local const "syscall_nr_setdomainname" is not 
used
sysnr.inc(144,3) Hint: Local const "syscall_nr_uname" is not used
sysnr.inc(145,3) Hint: Local const "syscall_nr_modify_ldt" is not used
sysnr.inc(146,3) Hint: Local const "syscall_nr_adjtimex" is not used
sysnr.inc(147,3) Hint: Local const "syscall_nr_mprotect" is not used
sysnr.inc(148,3) Hint: Local const "syscall_nr_sigprocmask" is not used
sysnr.inc(149,3) Hint: Local const "syscall_nr_create_module" is not 
used
sysnr.inc(150,3) Hint: Local const "syscall_nr_init_module" is not used
sysnr.inc(151,3) Hint: Local const "syscall_nr_delete_module" is not 
used
sysnr.inc(152,3) Hint: Local const "syscall_nr_get_kernel_syms" is not 
used
sysnr.inc(153,3) Hint: Local const "syscall_nr_quotactl" is not used
sysnr.inc(154,3) Hint: Local const "syscall_nr_getpgid" is not used
sysnr.inc(155,3) Hint: Local const "syscall_nr_fchdir" is not used
sysnr.inc(156,3) Hint: Local const "syscall_nr_bdflush" is not used
sysnr.inc(157,3) Hint: Local const "syscall_nr_sysfs" is not used
sysnr.inc(158,3) Hint: Local const "syscall_nr_personality" is not used
sysnr.inc(159,3) Hint: Local const "syscall_nr_afs_syscall" is not used
sysnr.inc(160,3) Hint: Local const "syscall_nr_setfsuid" is not used
sysnr.inc(161,3) Hint: Local const "syscall_nr_setfsgid" is not used
sysnr.inc(162,3) Hint: Local const "syscall_nr__llseek" is not used
sysnr.inc(164,3) Hint: Local const "syscall_nr__newselect" is not used
sysnr.inc(165,3) Hint: Local const "syscall_nr_flock" is not used
sysnr.inc(166,3) Hint: Local const "syscall_nr_msync" is not used
sysnr.inc(167,3) Hint: Local const "syscall_nr_readv" is not used
sysnr.inc(168,3) Hint: Local const "syscall_nr_writev" is not used
sysnr.inc(169,3) Hint: Local const "syscall_nr_getsid" is not used
sysnr.inc(170,3) Hint: Local const "syscall_nr_fdatasync" is not used
sysnr.inc(171,3) Hint: Local const "syscall_nr__sysctl" is not used
sysnr.inc(172,3) Hint: Local const "syscall_nr_mlock" is not used
sysnr.inc(173,3) Hint: Local const "syscall_nr_munlock" is not used
sysnr.inc(174,3) Hint: Local const "syscall_nr_mlockall" is not used
sysnr.inc(175,3) Hint: Local const "syscall_nr_munlockall" is not used
sysnr.inc(176,3) Hint: Local const "syscall_nr_sched_setparam" is not 
used
sysnr.inc(177,3) Hint: Local const "syscall_nr_sched_getparam" is not 
used
sysnr.inc(178,3) Hint: Local const "syscall_nr_sched_setscheduler" is 
not used
sysnr.inc(179,3) Hint: Local const "syscall_nr_sched_getscheduler" is 
not used
sysnr.inc(180,3) Hint: Local const "syscall_nr_sched_yield" is not used
sysnr.inc(181,3) Hint: Local const "syscall_nr_sched_get_priority_max" 
is not used
sysnr.inc(182,3) Hint: Local const "syscall_nr_sched_get_priority_min" 
is not used
sysnr.inc(183,3) Hint: Local const "syscall_nr_sched_rr_get_interval" is 
not used
sysnr.inc(185,3) Hint: Local const "syscall_nr_mremap" is not used
sysnr.inc(186,3) Hint: Local const "syscall_nr_setresuid" is not used
sysnr.inc(187,3) Hint: Local const "syscall_nr_getresuid" is not used
sysnr.inc(188,3) Hint: Local const "syscall_nr_vm86" is not used
sysnr.inc(189,3) Hint: Local const "syscall_nr_query_module" is not 
used
sysnr.inc(190,3) Hint: Local const "syscall_nr_poll" is not used
sysnr.inc(191,3) Hint: Local const "syscall_nr_nfsservctl" is not used
sysnr.inc(192,3) Hint: Local const "syscall_nr_setresgid" is not used
sysnr.inc(193,3) Hint: Local const "syscall_nr_getresgid" is not used
sysnr.inc(194,3) Hint: Local const "syscall_nr_prctl" is not used
sysnr.inc(195,3) Hint: Local const "syscall_nr_rt_sigreturn" is not used
-- 
Carsten Bager
Bøvlingbjerg El-automatik
Brørupvænget 10
7650 Bøvlingbjerg
Tlf. +4597885222 Fax +4597885434
http://www.beas.dk





More information about the fpc-pascal mailing list