| 1 | = Improve PC386 BSP = |
| 2 | |
| 3 | [[TOC(Developer/Projects/Open/ImprovePC386, depth=2)]] |
| 4 | |
| 5 | '''Mentors:''' TBD. |
| 6 | |
| 7 | '''Students:''' TBD. |
| 8 | |
| 9 | |
| 10 | '''Status:''' |
| 11 | |
| 12 | Uninitiated. |
| 13 | |
| 14 | '''Introduction:''' |
| 15 | |
| 16 | This project involves addressing a few deficiencies in the existing pc386 BSP as well as improving it so it supports non-legacy hardware configurations. |
| 17 | |
| 18 | '''Goal:''' |
| 19 | |
| 20 | To have a functioning pc386 BSP that can operate on PCs without legacy BIOS or peripherals. It needs to support all features of RTEMS including SMP and Thread Local Storage. |
| 21 | |
| 22 | '''Requirements:''' |
| 23 | |
| 24 | * Knowledge of x86 ASM, C Programming language. |
| 25 | * Run on non-legacy hardware configurations. |
| 26 | * Share code as possible with new x86_64 BSP (when exists). |
| 27 | * Add Thread Local Storage support to x86 (#2468) |
| 28 | * Thread migration is broken on SMP on x86 (#2183) |
| 29 | |
| 30 | There are at least the following tasks identified related to support of non-legacy PC configurations. A non-legacy PC appears to be one in which at least EFI is used instead of BIOS. |
| 31 | |
| 32 | * Support video on non-legacy systems. |
| 33 | ** Probe for video is known to fail on non-legacy systems. |
| 34 | * Support PCI on non-legacy systems. |
| 35 | ** Probe for PCI BIOS is known to fail on non-legacy systems. It is expected that PCI bus access routines will need to be provided for non-legacy configurations. |
| 36 | * Support for APIC rather than legacy PIC. |
| 37 | |
| 38 | It is a requirement for code to be shared with x86_64 when that is supported. It is also a requirement for the pc386 BSP to support both legacy and non-legacy and decide what to do at run-time. |
| 39 | |
| 40 | '''Resources:''' |
| 41 | |
| 42 | * Current RTEMS developers. |
| 43 | * Do not reinvent the wheel and use existing code instead, e.g. from FreeBSD. |
| 44 | |
| 45 | '''Acknowledgements''' |
| 46 | * TBD |
| 47 | |
| 48 | = Miscellaneous Sections = |
| 49 | |
| 50 | As the project progresses, you will need to add build instructions, etc and this page will evolve from a project description into a HOWTO. |
| 51 | |
| 52 | = References = |
| 53 | * TBD |
| 54 | |
| 55 | '''Other sections:''' If you have more to say about the project that doesn't fit in the proposed sections of this template, feel free to add other sections at will. |