From ace2e1376f6c85defb0a5fe22ca43456a796ce05 Mon Sep 17 00:00:00 2001 From: scipio Date: Thu, 1 Mar 2007 17:15:56 +0000 Subject: [PATCH] Updates. --- doc/html/tep107.html | 23 ++++--- doc/html/tep111.html | 17 ++---- doc/html/tep113.html | 140 ++++++++++++++++++++----------------------- doc/html/tep2.html | 42 ++++++------- doc/txt/tep107.txt | 14 ++++- doc/txt/tep111.txt | 14 ++--- 6 files changed, 127 insertions(+), 123 deletions(-) diff --git a/doc/html/tep107.html b/doc/html/tep107.html index aa762beb..ab3eaed5 100644 --- a/doc/html/tep107.html +++ b/doc/html/tep107.html @@ -303,9 +303,9 @@ ul.auto-toc { Philip Levis Draft-Created:10-Dec-2004 -Draft-Version:1.7 +Draft-Version:1.9 -Draft-Modified:2007-02-05 +Draft-Modified:2007-02-10 Draft-Discuss:TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu> @@ -483,8 +483,19 @@ operations besides those which are absolutely necessary for further code, such as scheduler initialization, to execute. Examples of platform_bootstrap() operations are configuring the memory system and setting the processor mode. Generally, platform_bootstrap() -is an empty function. The platform_bootstrap() function SHOULD be -specified in a platform's hardware.h file.

+is an empty function. TinyOS's top-level include file, tos.h, includes +a default implementation of this function which does nothing. If a platform +needs to replace the default, it SHOULD put it in a platform's +platform.h file as a #define. The implementation of tos.h +supports this:

+
+/* This platform_bootstrap macro exists in accordance with TEP
+   107. A platform may override this through a platform.h file. */
+#include <platform.h>
+#ifndef platform_bootstrap
+#define platform_bootstrap() {}
+#endif
+

The boot sequence has three separate initializations: Scheduler, PlatformInit, and SoftwareInit. The boot configuration (MainC) wires the first two automatically, to TinySchedulerC (discussed in TEP 106) @@ -519,9 +530,7 @@ initialization order. As these hidden dependencies must be due to hardware, the sequence is platform-specific. A port of TinyOS to a new plaform MUST include a component PlatformC which provides one and only one instance of the Init interface.

-

Generally, component intialization occurs through SoftwareInit. -PlatformInit is for a small subset of initializations whose properties -requires that they be performed separately. Initializations invoked +

Initializations invoked through PlatformC meet some or all of the following criteria:

  1. The initialization requires configuring hardware resources. This implies that the code is platform-specific.
  2. diff --git a/doc/html/tep111.html b/doc/html/tep111.html index 4e1e2bba..07cdbd02 100644 --- a/doc/html/tep111.html +++ b/doc/html/tep111.html @@ -296,19 +296,11 @@ ul.auto-toc { Type:Documentary Status: -Draft +Final TinyOS-Version:2.x Author: Philip Levis -Draft-Created:11-Jul-2005 - -Draft-Version:1.6 - -Draft-Modified:2007-01-10 - -Draft-Discuss:TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu> -
    @@ -370,7 +362,7 @@ typedef struct TOS_Msg { uint8_t receiveSecurityMode; } TOS_Msg; -

    while on a mote with a CC420 radio (e.g., micaZ), TOS_Msg is defined as:

    +

    while on a mote with a CC2420 radio (e.g., micaZ), TOS_Msg is defined as:

     typedef struct TOS_Msg {
       // The following fields are transmitted/received on the radio.
    @@ -641,7 +633,10 @@ with a command-line option to ncc: 
     

    3.3 Footer

    diff --git a/doc/html/tep113.html b/doc/html/tep113.html index 5791c0a3..1d0a36ee 100644 --- a/doc/html/tep113.html +++ b/doc/html/tep113.html @@ -11,30 +11,21 @@ /* :Author: David Goodger :Contact: goodger@users.sourceforge.net -:Date: $Date$ -:Revision: $Revision$ -:Copyright: This stylesheet has been placed in the public domain. +:date: $Date$ +:version: $Revision$ +:copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. - -See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to -customize this style sheet. */ - -/* used to remove borders from tables and images */ -.borderless, table.borderless td, table.borderless th { - border: 0 } - -table.borderless td, table.borderless th { - /* Override padding for "table.docutils td" with "! important". - The right padding separates the table cells. */ - padding: 0 0.5em 0 0 ! important } +body { + font-family: Times; + font-size: 16px; +} .first { - /* Override more specific margin styles with "! important". */ margin-top: 0 ! important } -.last, .with-subtitle { +.last { margin-bottom: 0 ! important } .hidden { @@ -47,11 +38,11 @@ a.toc-backref { blockquote.epigraph { margin: 2em 5em ; } -dl.docutils dd { +dd { margin-bottom: 0.5em } -/* Uncomment (and remove this text!) to get bold-faced definition list terms -dl.docutils dt { +/* Uncomment (& remove this text!) to get bold-faced definition list terms +dt { font-weight: bold } */ @@ -62,18 +53,12 @@ div.abstract p.topic-title { font-weight: bold ; text-align: center } -div.admonition, div.attention, div.caution, div.danger, div.error, -div.hint, div.important, div.note, div.tip, div.warning { +div.attention, div.caution, div.danger, div.error, div.hint, +div.important, div.note, div.tip, div.warning, div.admonition { margin: 2em ; border: medium outset ; padding: 1em } -div.admonition p.admonition-title, div.hint p.admonition-title, -div.important p.admonition-title, div.note p.admonition-title, -div.tip p.admonition-title { - font-weight: bold ; - font-family: sans-serif } - div.attention p.admonition-title, div.caution p.admonition-title, div.danger p.admonition-title, div.error p.admonition-title, div.warning p.admonition-title { @@ -81,14 +66,11 @@ div.warning p.admonition-title { font-weight: bold ; font-family: sans-serif } -/* Uncomment (and remove this text!) to get reduced vertical space in - compound paragraphs. -div.compound .compound-first, div.compound .compound-middle { - margin-bottom: 0.5em } - -div.compound .compound-last, div.compound .compound-middle { - margin-top: 0.5em } -*/ +div.hint p.admonition-title, div.important p.admonition-title, +div.note p.admonition-title, div.tip p.admonition-title, +div.admonition p.admonition-title { + font-weight: bold ; + font-family: sans-serif } div.dedication { margin: 2em 5em ; @@ -100,11 +82,9 @@ div.dedication p.topic-title { font-style: normal } div.figure { - margin-left: 2em ; - margin-right: 2em } + margin-left: 2em } div.footer, div.header { - clear: both; font-size: smaller } div.line-block { @@ -120,7 +100,7 @@ div.line-block div.line-block { div.sidebar { margin-left: 1em ; border: medium outset ; - padding: 1em ; + padding: 0em 1em ; background-color: #ffffee ; width: 40% ; float: right ; @@ -147,24 +127,31 @@ div.system-message p.system-message-title { div.topic { margin: 2em } -h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, -h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { - margin-top: 0.4em } +h1 { + font-family: Arial, sans-serif; + font-size: 20px; +} h1.title { - text-align: center } + text-align: center; + font-size: 32px; +} + +h2 { + font-size: 16px; + font-family: Arial, sans-serif; +} h2.subtitle { text-align: center } -hr.docutils { - width: 75% } - -img.align-left { - clear: left } +h3 { + font-size: 12px; + font-family: Arial, sans-serif; +} -img.align-right { - clear: right } +hr { + width: 75% } ol.simple, ul.simple { margin-bottom: 1em } @@ -222,10 +209,18 @@ pre.address { font-family: serif ; font-size: 100% } +pre.line-block { + font-family: serif ; + font-size: 100% } + pre.literal-block, pre.doctest-block { margin-left: 2em ; margin-right: 2em ; - background-color: #eeeeee } + background-color: #eeeeee; + border-color: #000000; + border-width: thin; + font-size: 14px +} span.classifier { font-family: sans-serif ; @@ -241,49 +236,46 @@ span.interpreted { span.option { white-space: nowrap } +span.option-argument { + font-style: italic } + span.pre { white-space: pre } span.problematic { color: red } -span.section-subtitle { - /* font-size relative to parent (h1..h6 element) */ - font-size: 80% } +table { + margin-top: 0.5em ; + margin-bottom: 0.5em } table.citation { - border-left: solid 1px gray; - margin-left: 1px } + border-left: solid thin gray ; + padding-left: 0.5ex } table.docinfo { - margin: 2em 4em } - -table.docutils { - margin-top: 0.5em ; - margin-bottom: 0.5em } + margin: 2em 4em; +} table.footnote { - border-left: solid 1px black; - margin-left: 1px } + border-left: solid thin black ; + padding-left: 0.5ex } -table.docutils td, table.docutils th, -table.docinfo td, table.docinfo th { +td, th { padding-left: 0.5em ; padding-right: 0.5em ; vertical-align: top } -table.docutils th.field-name, table.docinfo th.docinfo-name { +th.docinfo-name, th.field-name { font-weight: bold ; text-align: left ; - white-space: nowrap ; - padding-left: 0 } + white-space: nowrap; + } -h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, -h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { +h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { font-size: 100% } -tt.docutils { - background-color: #eeeeee } +tt {} ul.auto-toc { list-style-type: none } @@ -311,7 +303,7 @@ ul.auto-toc { Ben Greenstein and Philip Levis Draft-Created:11-Jul-2005 -Draft-Version:1.8 +Draft-Version:1.9 Draft-Modified:2007-02-06 diff --git a/doc/html/tep2.html b/doc/html/tep2.html index 65c420c5..0457e0e6 100644 --- a/doc/html/tep2.html +++ b/doc/html/tep2.html @@ -3,9 +3,9 @@ - + Hardware Abstraction Architecture - +