- xml and dtd for memoryMap and memoryAssignment

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@57 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
schlaepfer
2005-11-21 14:11:17 +00:00
parent 0664c04506
commit 9c63504caf
4 changed files with 778 additions and 174 deletions

View File

@@ -0,0 +1,24 @@
<?xml version='1.0' encoding='utf-8'?>
<!-- DTD for MPC555 memoryMap. -->
<!ELEMENT memorymap (device+)>
<!ELEMENT device (attributes, segment+)>
<!ATTLIST device
type CDATA #REQUIRED
width (1|2|4) #REQUIRED>
<!ELEMENT segment (attributes?, base, size, subsegment*)>
<!ATTLIST segment
name CDATA #REQUIRED>
<!ELEMENT subsegment (attributes?, base?, size?, subsegment*)>
<!ATTLIST subsegment
name CDATA #REQUIRED>
<!ELEMENT attributes (read?, write?, const?, code?, var?, sysconst?, heap?, stack?)>
<!ELEMENT read EMPTY>
<!ELEMENT write EMPTY>
<!ELEMENT const EMPTY>
<!ELEMENT code EMPTY>
<!ELEMENT var EMPTY>
<!ELEMENT sysconst EMPTY>
<!ELEMENT heap EMPTY>
<!ELEMENT stack EMPTY>