islet-project / islet

An on-device confidential computing platform
Apache License 2.0
91 stars 16 forks source link

refactor: Do not import the whole rmm into uart #333

Closed zpzigi754 closed 3 months ago

zpzigi754 commented 3 months ago

Importing the whole rmm is not a good practice for the library (uart). The change only imports the necessary parts of rmm (io and error). For this purpose, io and error are relocated as a library instead of the previous rmm's modules. It also fixes minor typos (ttlb -> ttbl).

[before]
└── uart v0.0.1 (/home/changho/zpzigi754/islet/lib/uart)
    ├── islet_rmm v0.0.1 (/home/changho/zpzigi754/islet/rmm) (*)
    ...

[after]
uart v0.0.1 (/home/changho/zpzigi754/islet/lib/uart)
├── io v0.0.1 (/home/changho/zpzigi754/islet/lib/io)
...