File tree 15 files changed +15
-15
lines changed
sysdeps/opuntiaos/generic
15 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 2
2
. extern _start_secondary_cpu
3
3
. extern vector_table
4
4
5
- . section ".oneos_load_section "
6
- oneos_loader :
5
+ . section ".opuntiaos_load_section "
6
+ opuntiaos_loader :
7
7
ldr sp , =STACK_PHYZ_TOP
8
8
9
9
// The same as reset cpu 0
Original file line number Diff line number Diff line change 1
- section .oneos_kernel_boot
1
+ section .opuntiaos_kernel_boot
2
2
3
3
[bits 32]
4
4
extern stage3
Original file line number Diff line number Diff line change 4
4
. = 0x80010000;
5
5
.init :
6
6
{
7
- *(.oneos_load_section )
7
+ *(.opuntiaos_load_section )
8
8
*(.init_code)
9
9
*(.init_data)
10
10
}
Original file line number Diff line number Diff line change 5
5
6
6
.text ALIGN (4K) : AT (ADDR(.text) - 0xc0000000 + 1M)
7
7
{
8
- *(.oneos_kernel_boot )
8
+ *(.opuntiaos_kernel_boot )
9
9
*(.text)
10
10
}
11
11
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ opuntiaOS_static_library("libc") {
22
22
" stdlib/pts.c" ,
23
23
" stdlib/tools.c" ,
24
24
" string/string.c" ,
25
- " sysdeps/oneos /generic/shared_buffer.c" ,
25
+ " sysdeps/opuntiaos /generic/shared_buffer.c" ,
26
26
" sysdeps/unix/$target_cpu /crt0.s" ,
27
27
" sysdeps/unix/generic/ioctl.c" ,
28
28
" termios/termios.c" ,
File renamed without changes.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ opuntiaOS_static_library("libcxx") {
23
23
" ../libc/stdlib/pts.c" ,
24
24
" ../libc/stdlib/tools.c" ,
25
25
" ../libc/string/string.c" ,
26
- " ../libc/sysdeps/oneos /generic/shared_buffer.c" ,
26
+ " ../libc/sysdeps/opuntiaos /generic/shared_buffer.c" ,
27
27
" ../libc/sysdeps/unix/$target_cpu /crt0.s" ,
28
28
" ../libc/sysdeps/unix/generic/ioctl.c" ,
29
29
" ../libc/termios/termios.c" ,
Original file line number Diff line number Diff line change 6
6
#define _LIBCXX_BEGIN_NAMESPACE_STD namespace std {
7
7
#define _LIBCXX_END_NAMESPACE_STD }
8
8
9
- #define _LIBCXX_BEGIN_ONEOS_EXTENSION inline namespace oneos {
9
+ #define _LIBCXX_BEGIN_ONEOS_EXTENSION inline namespace opuntiaos {
10
10
#define _LIBCXX_END_ONEOS_EXTENSION }
11
11
12
12
#define _ALIGNAS_TYPE(x) __attribute__((__aligned__(alignof(x))))
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ extern "C" bool __init_app_delegate(UI::AppDelegate** res);
13
13
extern " C" int main (int argc, char ** argv)
14
14
{
15
15
auto process_info = LFoundation::ProcessInfo (argc, argv);
16
- auto & app = std::oneos ::construct<UI::App>();
16
+ auto & app = std::opuntiaos ::construct<UI::App>();
17
17
UI::AppDelegate* app_delegate = nullptr ;
18
18
int res = __init_app_delegate (&app_delegate);
19
19
if (res < 0 ) {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class AppDelegate : public UI::AppDelegate {
12
12
13
13
virtual bool application () override
14
14
{
15
- auto & window = std::oneos ::construct<UI::Window>(window_size (), icon_path ());
15
+ auto & window = std::opuntiaos ::construct<UI::Window>(window_size (), icon_path ());
16
16
auto & superview = window.create_superview <UI::View, ViewController>();
17
17
18
18
window.set_title (" About" );
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class AppDelegate : public UI::AppDelegate {
11
11
12
12
virtual bool application () override
13
13
{
14
- auto & window = std::oneos ::construct<UI::Window>(window_size (), icon_path ());
14
+ auto & window = std::opuntiaos ::construct<UI::Window>(window_size (), icon_path ());
15
15
auto & superview = window.create_superview <UI::View, ViewController>();
16
16
17
17
window.set_title (" Monitor" );
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class AppDelegate : public UI::AppDelegate {
11
11
12
12
virtual bool application () override
13
13
{
14
- auto & window = std::oneos ::construct<UI::Window>(window_size (), icon_path ());
14
+ auto & window = std::opuntiaos ::construct<UI::Window>(window_size (), icon_path ());
15
15
auto & superview = window.create_superview <UI::View, ViewController>();
16
16
17
17
window.set_title (" Calculator" );
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class AppDelegate : public UI::AppDelegate {
42
42
bool application () override
43
43
{
44
44
int ptmx = setup_shell ();
45
- auto & window = std::oneos ::construct<UI::Window>(window_size (), icon_path ());
45
+ auto & window = std::opuntiaos ::construct<UI::Window>(window_size (), icon_path ());
46
46
auto & superview = window.create_superview <TerminalView, TerminalViewController>(ptmx);
47
47
window.set_focused_view (superview);
48
48
window.set_frame_style (LG::Color (0x181818 ));
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class AppDelegate : public UI::AppDelegate {
12
12
13
13
bool application () override
14
14
{
15
- auto & window = std::oneos ::construct<DockWindow>();
15
+ auto & window = std::opuntiaos ::construct<DockWindow>();
16
16
window.set_bitmap_format (LG::PixelBitmapFormat::RGBA); // Turning on Alpha channel
17
17
auto & dock_view = window.create_superview <DockView, DockViewController>();
18
18
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class AppDelegate : public UI::AppDelegate {
12
12
13
13
bool application () override
14
14
{
15
- auto & window = std::oneos ::construct<HomeScreenWindow>(window_size ());
15
+ auto & window = std::opuntiaos ::construct<HomeScreenWindow>(window_size ());
16
16
window.set_bitmap_format (LG::PixelBitmapFormat::RGBA); // Turning on Alpha channel
17
17
auto & dock_view = window.create_superview <HomeScreenView, HomeScreenViewController>();
18
18
You can’t perform that action at this time.
0 commit comments