wdasda
This commit is contained in:
7
main.cc
7
main.cc
@@ -9,6 +9,9 @@
|
|||||||
|
|
||||||
TextStream kout = TextStream(0, 80, 0, 12, true);
|
TextStream kout = TextStream(0, 80, 0, 12, true);
|
||||||
|
|
||||||
|
TextStream dout[8];
|
||||||
|
|
||||||
|
|
||||||
// Main function
|
// Main function
|
||||||
// (the bootstrap processor starts here)}
|
// (the bootstrap processor starts here)}
|
||||||
extern "C" int main() {
|
extern "C" int main() {
|
||||||
@@ -82,7 +85,11 @@ extern "C" int main_ap() {
|
|||||||
////test Serial
|
////test Serial
|
||||||
Serial s = Serial();
|
Serial s = Serial();
|
||||||
s.write('a');
|
s.write('a');
|
||||||
|
|
||||||
|
|
||||||
|
uint8_t from = static_cast<int>(LAPIC::getID()) * 20;
|
||||||
|
uint8_t to = from+20;
|
||||||
|
dout[LAPIC::getID()] = TextStream(from, to, 0, 6, true);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user