- 16 Jan, 2012 3 commits
-
-
Aurelio Colosimo authored
msg_issue_xxx functions declared, implemented and used See that pp_get_tstamp now returns a TimeInternal struct. Actually timestamp struct might be defined outside of ieee_1588_types.h file, since it is not defined in the spec. For the moment, I leave it there, but in the future it must be redefined for our purposes (and in standard_c_notation)
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
As a consequence, pp_send_packet is now correctly defined by accepting as input the desired channel type. This leads to an incoherence between send and receive, since in receive we are not interested in which socket received the packet, whereas in send we need to specify it.
-
- 09 Jan, 2012 4 commits
-
-
Alessandro Rubini authored
This is the 64-bit unsigned division and remainder from the Linux kernel, for 32-bit host systems. The new lib/ directory can be used by archs to pick files, and that's already exemplified by arch-gnu-linux and arch-bare-linux. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Maybe we should consider some generic lib, as most of this can be shared across freestanding archs (we must check whether other freestanding places are really so lib-less os they have these minimal functions for example from newlib) Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
These remove style warnings and errors, mostly mine. External files (such as hw files in arch-spec and syscall stuff in bare-linux) have not been fixed and should not be, in my opinion. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
While the code layout comes from ptp-proposal, this is a different package, now called pptp for "Portable PTP". Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Aurelio Colosimo <aurelio@aureliocolosimo.it>
-
- 03 Jan, 2012 1 commit
-
-
Alessandro Rubini authored
This fixes the "ppi->ch.fd" using the two descriptors in the new net_path structure. It also istantiates a static net_patch to avoid malloc in the freestanding environment. The program is not linking because some functions called by the protocol are still missing in this architecture. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 29 Dec, 2011 1 commit
-
-
Alessandro Rubini authored
With new compilers (e.g., Debian 6) the resulting binary was not starting because there's an extra section before .text
-
- 28 Dec, 2011 1 commit
-
-
Aurelio Colosimo authored
Patch coming from ptp-proposal (author: Alessandro Rubini) Some distributions (e.g: ubuntu-lucid) use the stack protector by default. This disables it so arch-bare-linux can compile and run. The option is present at least from gcc-4.2, but 4.0 and ealier ones are known not to accept it.
-
- 05 Dec, 2011 1 commit
-
-
Aurelio Colosimo authored
code was pruned from specific "ptp-proposal" protocol and the skeleton of IEEE-1588 states was made. Next step is to insert, step by step, the structs defined in ptpd. Still something needs to be removed or renamed, but this should be a fair starting point.
-